Home
last modified time | relevance | path

Searched refs:SHA1_DIGEST_SIZE (Results 1 – 15 of 15) 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/webrtc/webrtc/base/
Dsha1.h25 #define SHA1_DIGEST_SIZE 20 macro
29 void SHA1Final(SHA1_CTX* context, uint8_t digest[SHA1_DIGEST_SIZE]);
Dsha1digest.h22 enum { kSize = SHA1_DIGEST_SIZE };
Dsha1.cc270 void SHA1Final(SHA1_CTX* context, uint8_t digest[SHA1_DIGEST_SIZE]) { in SHA1Final() argument
282 for (int i = 0; i < SHA1_DIGEST_SIZE; ++i) { in SHA1Final()
/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/u-boot/drivers/crypto/fsl/
Dfsl_hash.c18 #define SHA1_DIGEST_SIZE 20 macro
35 .digestsize = SHA1_DIGEST_SIZE,
/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/wpa_supplicant_8/src/crypto/
Dcrypto_nettle.c145 hmac_sha1_digest(&ctx, SHA1_DIGEST_SIZE, mac); in hmac_sha1_vector()