Home
last modified time | relevance | path

Searched refs:hashBuff (Results 1 – 7 of 7) sorted by relevance

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_sbromlib/
Dbsv_hash_driver.c160 void FinishBsvHash(unsigned long hwBaseAddress, CCHashResult_t hashBuff) in FinishBsvHash() argument
168 SB_HAL_READ_REGISTER(SB_REG_ADDR(hwBaseAddress, HASH_H7), hashBuff[7]); in FinishBsvHash()
169 SB_HAL_READ_REGISTER(SB_REG_ADDR(hwBaseAddress, HASH_H6), hashBuff[6]); in FinishBsvHash()
170 SB_HAL_READ_REGISTER(SB_REG_ADDR(hwBaseAddress, HASH_H5), hashBuff[5]); in FinishBsvHash()
171 SB_HAL_READ_REGISTER(SB_REG_ADDR(hwBaseAddress, HASH_H4), hashBuff[4]); in FinishBsvHash()
172 SB_HAL_READ_REGISTER(SB_REG_ADDR(hwBaseAddress, HASH_H3), hashBuff[3]); in FinishBsvHash()
173 SB_HAL_READ_REGISTER(SB_REG_ADDR(hwBaseAddress, HASH_H2), hashBuff[2]); in FinishBsvHash()
174 SB_HAL_READ_REGISTER(SB_REG_ADDR(hwBaseAddress, HASH_H1), hashBuff[1]); in FinishBsvHash()
175 SB_HAL_READ_REGISTER(SB_REG_ADDR(hwBaseAddress, HASH_H0), hashBuff[0]); in FinishBsvHash()
179 hashBuff[i] = UTIL_INVERSE_UINT32_BYTES(hashBuff[i]); in FinishBsvHash()
Dbsv_crypto_driver.h150 CCHashResult_t hashBuff,
155 CCHashResult_t hashBuff);
Dbsv_crypto_api.h38 CCHashResult_t hashBuff /*!< [out] Pointer to a word-aligned 32 Byte buffer. */
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/secure_boot_debug/crypto_driver/reg/
Dcrypto_driver.h29 #define SBROM_CryptoHash(wBaseAddress, inputDataAddr, dataSize, hashBuff) \ argument
30 CC_BsvSHA256(hwBaseAddress, (uint8_t *)inputDataAddr, (size_t)dataSize, hashBuff);
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/secure_boot_debug/platform/stage/rt/cc3x/
Dsecureboot_stage_defs.h83 #define CC_BsvSHA256(hwBaseAddress, pDataIn, dataSize, hashBuff) \ argument
84 SBRT_SHA256(hwBaseAddress, pDataIn, dataSize, hashBuff)
89 …date(hwBaseAddress, mode, keyType, pCtrStateBuf, pDataIn, pDataOut, dataSize, hashBuff, isLoadIV) \ argument
90 …Update(hwBaseAddress, mode, keyType, pCtrStateBuf, pDataIn, pDataOut, dataSize, hashBuff, isLoadIV)
92 #define BsvCryptoImageFinish(hwBaseAddress, mode, hashBuff) \ argument
93 SBRT_CryptoImageFinish(hwBaseAddress, mode, hashBuff)
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_lib/
Dsbrt_int_func.c236 CCHashResult_t hashBuff) in SBRT_SHA256() argument
251 if (hashBuff == NULL) { in SBRT_SHA256()
272 UTIL_MemSet((uint8_t*)hashBuff, 0, CC_BSV_SHA256_DIGEST_SIZE_IN_BYTES); in SBRT_SHA256()
276 FinishBsvHash(hwBaseAddress, hashBuff); in SBRT_SHA256()
330 CCHashResult_t hashBuff, in SBRT_CryptoImageUpdate() argument
345 UTIL_MemSet((uint8_t*)hashBuff, 0, CC_BSV_SHA256_DIGEST_SIZE_IN_BYTES); in SBRT_CryptoImageUpdate()
354 CCHashResult_t hashBuff) in SBRT_CryptoImageFinish() argument
359 FinishBsvHash(hwBaseAddress, hashBuff); in SBRT_CryptoImageFinish()
Dsbrt_int_func.h67 CCHashResult_t hashBuff);
80 CCHashResult_t hashBuff,
85 CCHashResult_t hashBuff);