Home
last modified time | relevance | path

Searched refs:SHA1_DIGEST_SIZE (Results 1 – 12 of 12) sorted by relevance

/external/vboot_reference/firmware/lib/cryptolib/
Dpadding.c38 const uint8_t paddingRSA1024_SHA1[RSA1024NUMBYTES - SHA1_DIGEST_SIZE] = {
53 const uint8_t paddingRSA2048_SHA1[RSA2048NUMBYTES - SHA1_DIGEST_SIZE] = {
68 const uint8_t paddingRSA4096_SHA1[RSA4096NUMBYTES - SHA1_DIGEST_SIZE] = {
83 const uint8_t paddingRSA8192_SHA1[RSA8192NUMBYTES - SHA1_DIGEST_SIZE] = {
167 RSA1024NUMBYTES - SHA1_DIGEST_SIZE,
170 RSA2048NUMBYTES - SHA1_DIGEST_SIZE,
173 RSA4096NUMBYTES - SHA1_DIGEST_SIZE,
176 RSA8192NUMBYTES - SHA1_DIGEST_SIZE,
197 SHA1_DIGEST_SIZE,
200 SHA1_DIGEST_SIZE,
[all …]
Dsha_utility.c59 digest = (uint8_t*) VbExMalloc(SHA1_DIGEST_SIZE); in DigestFinal()
60 Memcpy(digest, SHA1_final(ctx->sha1_ctx), SHA1_DIGEST_SIZE); in DigestFinal()
Dsha1.c285 for (i = 0; i < SHA1_DIGEST_SIZE; ++i) { in internal_SHA1()
/external/vboot_reference/tests/
Dsha_tests.c18 uint8_t sha1_digest[SHA1_DIGEST_SIZE]; in SHA1_tests()
27 if (!memcmp(sha1_digest, sha1_results[i], SHA1_DIGEST_SIZE)) { in SHA1_tests()
Dsha_test_vectors.h21 uint8_t sha1_results[][SHA1_DIGEST_SIZE] = {
/external/elfutils/src/lib/
Dsha1.h38 #define SHA1_DIGEST_SIZE 20 macro
/external/vboot_reference/firmware/lib/cryptolib/include/
Dsha.h17 #define SHA1_DIGEST_SIZE 20 macro
/external/vboot_reference/futility/
Dcmd_pcr.c105 int digest_size = SHA1_DIGEST_SIZE; in do_pcr()
/external/vboot_reference/cgpt/
Dcgpt_wrapper.c130 if (memcmp(original_hash, modified_hash, SHA1_DIGEST_SIZE) != 0) { in wrap_cgpt()
/external/vboot_reference/host/lib/
Dutil_misc.c27 for (i = 0; i < SHA1_DIGEST_SIZE; i++) in PrintPubKeySha1Sum()
/external/vboot_reference/firmware/lib/
Dvboot_display.c349 for (i = 0; i < SHA1_DIGEST_SIZE; i++) { in FillInSha1Sum()
509 char sha1sum[SHA1_DIGEST_SIZE * 2 + 1]; in VbDisplayDebugInfo()
/external/elfutils/src/src/
Dldgeneric.c4225 hdr->n_descsz = SHA1_DIGEST_SIZE; in compute_build_id()