1 /** @file Mrvl_sha256_crypto.h 2 * 3 * @brief This file contains the define for sha256 4 * 5 * Copyright (C) 2014-2017, Marvell International Ltd. 6 * 7 * This software file (the "File") is distributed by Marvell International 8 * Ltd. under the terms of the GNU General Public License Version 2, June 1991 9 * (the "License"). You may use, redistribute and/or modify this File in 10 * accordance with the terms and conditions of the License, a copy of which 11 * is available by writing to the Free Software Foundation, Inc., 12 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 13 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 14 * 15 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 16 * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE 17 * ARE EXPRESSLY DISCLAIMED. The License provides additional details about 18 * this warranty disclaimer. 19 */ 20 21 /****************************************************** 22 Change log: 23 03/07/2014: Initial version 24 ******************************************************/ 25 26 #ifndef _MRVL_SHA256_CRYPTO_H 27 #define _MRVL_SHA256_CRYPTO_H 28 29 extern void mrvl_sha256_crypto_vector(void *priv, size_t num_elem, 30 UINT8 *addr[], size_t * len, UINT8 *mac); 31 32 extern void mrvl_sha256_crypto_kdf(void *priv, UINT8 *pKey, 33 UINT8 key_len, 34 char *label, 35 UINT8 label_len, 36 UINT8 *pContext, 37 UINT16 context_len, 38 UINT8 *pOutput, UINT16 output_len); 39 40 #endif 41