Home
last modified time | relevance | path

Searched refs:SHA256_SUM_LEN (Results 1 – 9 of 9) sorted by relevance

/openbmc/u-boot/include/u-boot/
H A Dsha256.h4 #define SHA256_SUM_LEN 32 macro
20 void sha256_finish(sha256_context * ctx, uint8_t digest[SHA256_SUM_LEN]);
/openbmc/u-boot/drivers/crypto/
H A Dace_sha.c21 static const unsigned char sha256_digest_emptymsg[SHA256_SUM_LEN] = {
40 memcpy(pout, sha256_digest_emptymsg, SHA256_SUM_LEN); in ace_sha_hash_digest()
91 len = (hash_type == ACE_SHA_TYPE_SHA1) ? SHA1_SUM_LEN : SHA256_SUM_LEN; in ace_sha_hash_digest()
/openbmc/u-boot/common/
H A Dautoboot.c54 u8 sha_env[SHA256_SUM_LEN]; in passwd_abort()
55 u8 sha[SHA256_SUM_LEN]; in passwd_abort()
95 if (slow_equals(sha, sha_env, SHA256_SUM_LEN)) in passwd_abort()
H A Dimage-sig.c45 .checksum_len = SHA256_SUM_LEN,
H A Dhash.c229 .digest_size = SHA256_SUM_LEN,
/openbmc/u-boot/tools/
H A Dmtk_image.c411 return SHA256_SUM_LEN; in mtk_image_vrec_header()
599 gfh->file_info.sig_size = SHA256_SUM_LEN; in put_ghf_header()
677 filesize - sizeof(struct gen_device_header) - SHA256_SUM_LEN); in mtk_image_set_gen_header()
712 filesize - 2 * le16_to_cpu(hdr_nand->pagesize) - SHA256_SUM_LEN); in mtk_image_set_nand_header()
/openbmc/u-boot/cmd/mvebu/
H A Dbubt.c530 u8 hash_256_output[SHA256_SUM_LEN]; in check_image_header()
596 case SHA256_SUM_LEN: in check_image_header()
/openbmc/u-boot/board/theobroma-systems/puma_rk3399/
H A Dpuma-rk3399.c102 u8 hash[SHA256_SUM_LEN]; in setup_macaddr()
/openbmc/u-boot/drivers/misc/
H A Dcros_ec_sandbox.c375 size = SHA256_SUM_LEN; in process_cmd()