Searched refs:digest_size (Results 1 – 5 of 5) sorted by relevance
| /rk3399_ARM-atf/drivers/nxp/crypto/caam/src/auth/ |
| H A D | nxp_crypto.c | 84 uint32_t digest_size = SHA256_BYTES; in verify_hash() local 100 ret = hash_final(algo, ctx, hash, digest_size); in verify_hash() 111 if (memcmp(hash, (hash_tbl + (i * digest_size)), in verify_hash() 112 digest_size) == 0) { in verify_hash()
|
| /rk3399_ARM-atf/drivers/st/crypto/ |
| H A D | stm32_hash.c | 79 size_t digest_size; member 148 stm32_hash.digest_size = MD5_DIGEST_SIZE; in hash_hw_init() 153 stm32_hash.digest_size = SHA1_DIGEST_SIZE; in hash_hw_init() 157 stm32_hash.digest_size = SHA224_DIGEST_SIZE; in hash_hw_init() 162 stm32_hash.digest_size = SHA384_DIGEST_SIZE; in hash_hw_init() 166 stm32_hash.digest_size = SHA512_DIGEST_SIZE; in hash_hw_init() 173 stm32_hash.digest_size = SHA256_DIGEST_SIZE; in hash_hw_init() 191 for (i = 0U; i < (stm32_hash.digest_size / sizeof(uint32_t)); i++) { in hash_get_digest()
|
| /rk3399_ARM-atf/drivers/nxp/auth/csf_hdr_parser/ |
| H A D | csf_hdr_parser.c | 55 unsigned int digest_size = SHA256_BYTES; in deploy_rotpk_hash_table() local 81 ret = hash_final(algo, ctx, hash, digest_size); in deploy_rotpk_hash_table() 121 ret = hash_final(algo, ctx, rotpk_hash_table[i], digest_size); in deploy_rotpk_hash_table() 146 unsigned int digest_size = SHA256_BYTES; in calc_img_hash() local 176 ret = hash_final(algo, ctx, img_hash, digest_size); in calc_img_hash() 181 *hash_len = digest_size; in calc_img_hash()
|
| /rk3399_ARM-atf/include/drivers/measured_boot/event_log/ |
| H A D | tcg.h | 142 uint16_t digest_size; member 205 id_event_algorithm_size_t digest_size[]; /* number_of_algorithms */ member
|
| /rk3399_ARM-atf/plat/rpi/rpi3/ |
| H A D | rpi3_common_mboot.c | 32 size_t digest_size __unused; in plat_mboot_measure_image()
|