Searched refs:digest (Results 1 – 1 of 1) sorted by relevance
506 __STATIC_INLINE void SHA2SetDigest(uint32_t *digest, uint8_t digestLength) in SHA2SetDigest() argument509 ASSERT(!(digest == NULL) && !((uint32_t)digest & 0x03)); in SHA2SetDigest()518 HWREG(CRYPTO_BASE + CRYPTO_O_HASHDIGESTA + (i * sizeof(uint32_t))) = digest[i]; in SHA2SetDigest()541 __STATIC_INLINE uint32_t SHA2GetDigest(uint32_t *digest, uint8_t digestLength) in SHA2GetDigest() argument544 ASSERT(!(digest == NULL) && !((uint32_t)digest & 0x03)); in SHA2GetDigest()557 digest[i] = HWREG(CRYPTO_BASE + CRYPTO_O_HASHDIGESTA + (i * sizeof(uint32_t))); in SHA2GetDigest()