Searched refs:SHA256_SUM_LEN (Results 1 – 9 of 9) sorted by relevance
4 #define SHA256_SUM_LEN 32 macro20 void sha256_finish(sha256_context * ctx, uint8_t digest[SHA256_SUM_LEN]);
21 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()
54 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()
45 .checksum_len = SHA256_SUM_LEN,
229 .digest_size = SHA256_SUM_LEN,
411 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()
530 u8 hash_256_output[SHA256_SUM_LEN]; in check_image_header()596 case SHA256_SUM_LEN: in check_image_header()
102 u8 hash[SHA256_SUM_LEN]; in setup_macaddr()
375 size = SHA256_SUM_LEN; in process_cmd()