Home
last modified time | relevance | path

Searched refs:DigestBuf (Results 1 – 13 of 13) sorted by relevance

/external/vboot_reference/host/lib/
Dhost_signature.c59 header_checksum = DigestBuf(data, size, SHA512_DIGEST_ALGORITHM); in CalculateChecksum()
85 digest = DigestBuf(data, size, key->algorithm); in CalculateHash()
121 digest = DigestBuf(data, size, hash_type_map[key->algorithm]); in CalculateSignature()
266 digest = DigestBuf(data, size, hash_type_map[key_algorithm]); in CalculateSignature_external()
Dsignature_digest.c34 } else if ((digest = DigestBuf(buf, len, algorithm))) { in SignatureDigest()
Dutil_misc.c25 uint8_t *digest = DigestBuf(buf, buflen, SHA1_DIGEST_ALGORITHM); in PrintPubKeySha1Sum()
/external/vboot_reference/futility/
Dmisc.c142 uint8_t *digest = DigestBuf(buf + gbb->hwid_offset, in print_hwid_digest()
171 uint8_t *digest = DigestBuf(buf + gbb->hwid_offset, in update_hwid_digest()
Dcmd_pcr.c168 digest = DigestBuf(accum, digest_size * 2, digest_alg); in do_pcr()
/external/vboot_reference/firmware/lib/cryptolib/
Dsha_utility.c80 uint8_t* DigestBuf(const uint8_t* buf, uint64_t len, int sig_algorithm) { in DigestBuf() function
Drsa_utility.c112 digest = DigestBuf(buf, len, algorithm); in RSAVerifyBinary_f()
/external/vboot_reference/firmware/lib/cryptolib/include/
Dsha.h125 uint8_t* DigestBuf(const uint8_t* buf, uint64_t len, int sig_algorithm);
/external/vboot_reference/tests/
Drsa_utility_tests.c24 uint8_t* DigestBuf(const uint8_t* buf, uint64_t len, int sig_algorithm) { in DigestBuf() function
Dvboot_common2_tests.c89 digest = DigestBuf(test_data, sizeof(test_data), in VerifyDigestTest()
Dvboot_common3_tests.c22 uint8_t *newchk = DigestBuf((const uint8_t *)h, in ReChecksumKeyBlock()
/external/vboot_reference/firmware/lib/
Dvboot_common.c243 header_checksum = DigestBuf((const uint8_t *)block, in KeyBlockVerify()
Dvboot_display.c347 uint8_t *digest = DigestBuf(buf, buflen, SHA1_DIGEST_ALGORITHM); in FillInSha1Sum()