blob: f59b92768a44f80aa8e00a6283ee0aa7d7932445 [file] [log] [blame]
Yen Linc3813db2012-04-02 13:18:48 +00001/*
2 * Copyright (c) 2011 The Chromium OS Authors.
3 * (C) Copyright 2010 - 2011 NVIDIA Corporation <www.nvidia.com>
4 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Yen Linc3813db2012-04-02 13:18:48 +00006 */
7
8#ifndef _CRYPTO_H_
9#define _CRYPTO_H_
10
11/**
12 * Sign a block of data
13 *
14 * \param source Source data
15 * \param length Size of source data
16 * \param signature Destination address for signature, AES_KEY_LENGTH bytes
17 */
18int sign_data_block(u8 *source, unsigned length, u8 *signature);
19
20#endif /* #ifndef _CRYPTO_H_ */