~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/arch/arm/cpu/tegra20-common/crypto.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (c) 2011 The Chromium OS Authors.
 
3
 * (C) Copyright 2010 - 2011 NVIDIA Corporation <www.nvidia.com>
 
4
 *
 
5
 * SPDX-License-Identifier:     GPL-2.0+
 
6
 */
 
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
 */
 
18
int sign_data_block(u8 *source, unsigned length, u8 *signature);
 
19
 
 
20
#endif /* #ifndef _CRYPTO_H_ */