blob: 18104dd7d43b7a41b654926079de922857ff50f8 [file] [log] [blame]
Soby Mathew1ae83bc2017-05-10 11:48:40 +01001/*
2 * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef _CRYPTO_DRIVER_H
8#define _CRYPTO_DRIVER_H
9
10#ifdef __cplusplus
11extern "C"
12{
13#endif
14
15#include "cc_pal_sb_plat.h"
16#include "cc_sec_defs.h"
17
18/*----------------------------
19 PUBLIC FUNCTIONS
20-----------------------------------*/
21/*!
22 * @brief This function gives the functionality of integrated hash
23 *
24 * @param[in] hwBaseAddress - CryptoCell base address
25 * @param[out] hashResult - the HASH result.
26 *
27 */
28CCError_t SBROM_CryptoHash(unsigned long hwBaseAddress, CCDmaAddr_t inputDataAddr, uint32_t BlockSize,
29 CCHashResult_t hashResult);
30
31#ifdef __cplusplus
32}
33#endif
34
35#endif