Searched refs:SHA512_DIGEST_SIZE (Results 1 – 21 of 21) sorted by relevance
/external/vboot_reference/firmware/lib/cryptolib/ |
D | padding.c | 48 const uint8_t paddingRSA1024_SHA512[RSA1024NUMBYTES - SHA512_DIGEST_SIZE] = { 63 const uint8_t paddingRSA2048_SHA512[RSA2048NUMBYTES - SHA512_DIGEST_SIZE] = { 78 const uint8_t paddingRSA4096_SHA512[RSA4096NUMBYTES - SHA512_DIGEST_SIZE] = { 93 const uint8_t paddingRSA8192_SHA512[RSA8192NUMBYTES - SHA512_DIGEST_SIZE] = { 169 RSA1024NUMBYTES - SHA512_DIGEST_SIZE, 172 RSA2048NUMBYTES - SHA512_DIGEST_SIZE, 175 RSA4096NUMBYTES - SHA512_DIGEST_SIZE, 178 RSA8192NUMBYTES - SHA512_DIGEST_SIZE, 199 SHA512_DIGEST_SIZE, 202 SHA512_DIGEST_SIZE, [all …]
|
D | sha_utility.c | 71 digest = (uint8_t*) VbExMalloc(SHA512_DIGEST_SIZE); in DigestFinal() 72 Memcpy(digest, SHA512_final(ctx->sha512_ctx), SHA512_DIGEST_SIZE); in DigestFinal() 82 uint8_t* digest = (uint8_t*) VbExMalloc(SHA512_DIGEST_SIZE); in DigestBuf()
|
D | sha512.c | 361 for (i = 0; i < SHA512_DIGEST_SIZE; ++i) { in internal_SHA512()
|
/external/vboot_reference/host/lib/ |
D | host_keyblock.c | 21 uint64_t block_size = (signed_size + SHA512_DIGEST_SIZE + in KeyBlockCreate() 35 block_sig_dest = block_chk_dest + SHA512_DIGEST_SIZE; in KeyBlockCreate() 49 SHA512_DIGEST_SIZE, signed_size); in KeyBlockCreate() 82 uint64_t block_size = (signed_size + SHA512_DIGEST_SIZE + in KeyBlockCreate_external() 98 block_sig_dest = block_chk_dest + SHA512_DIGEST_SIZE; in KeyBlockCreate_external() 112 SHA512_DIGEST_SIZE, signed_size); in KeyBlockCreate_external()
|
D | host_signature.c | 63 sig = SignatureAlloc(SHA512_DIGEST_SIZE, 0); in CalculateChecksum() 69 sig->sig_size = SHA512_DIGEST_SIZE; in CalculateChecksum() 73 Memcpy(GetSignatureData(sig), header_checksum, SHA512_DIGEST_SIZE); in CalculateChecksum()
|
/external/fsverity-utils/programs/ |
D | test_hash_algs.c | 15 #define SHA512_DIGEST_SIZE 64 macro 37 SHA512_DIGEST_SIZE); in main()
|
/external/vboot_reference/tests/ |
D | sha_tests.c | 62 uint8_t sha512_digest[SHA512_DIGEST_SIZE]; in SHA512_tests() 71 if (!memcmp(sha512_digest, sha512_results[i], SHA512_DIGEST_SIZE)) { in SHA512_tests()
|
D | sha_test_vectors.h | 60 uint8_t sha512_results[][SHA512_DIGEST_SIZE] = {
|
D | sha_benchmark.c | 35 uint8_t* digest = (uint8_t*) malloc(SHA512_DIGEST_SIZE); /* Maximum size of in main()
|
D | vboot_common3_tests.c | 26 SHA512_DIGEST_SIZE); in ReChecksumKeyBlock()
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
D | sha.h | 23 #define SHA512_DIGEST_SIZE 64 macro 52 uint8_t buf[SHA512_DIGEST_SIZE]; /* Used for storing the final digest. */
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/ |
D | SelfTest.h | 88 # define DEFAULT_TEST_DIGEST_SIZE SHA512_DIGEST_SIZE
|
D | TpmAlgorithmDefines.h | 101 #define SHA512_DIGEST_SIZE 64 macro 381 MAX(ALG_SHA512 * SHA512_DIGEST_SIZE, \
|
D | TpmTypes.h | 1319 BYTE sha512[SHA512_DIGEST_SIZE];
|
/external/arm-trusted-firmware/include/drivers/measured_boot/ |
D | tcg.h | 73 #define SHA512_DIGEST_SIZE 64 macro
|
/external/vboot_reference/firmware/lib/ |
D | vboot_common.c | 231 if (sig->sig_size != SHA512_DIGEST_SIZE) { in KeyBlockVerify() 247 SHA512_DIGEST_SIZE); in KeyBlockVerify()
|
/external/arm-trusted-firmware/drivers/measured_boot/ |
D | event_print.c | 191 sha_size = SHA512_DIGEST_SIZE; in event2_print()
|
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/reference/include/ |
D | Implementation.h | 438 #define SHA512_DIGEST_SIZE 64 macro 1115 MAX(ALG_SHA512 * SHA512_DIGEST_SIZE, \
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_nettle.c | 230 hmac_sha512_digest(&ctx, SHA512_DIGEST_SIZE, mac); in hmac_sha512_vector()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/ |
D | TableMarshalData.c | 300 (UINT16)(SHA384_DIGEST_SIZE), (UINT16)(SHA512_DIGEST_SIZE),
|
D | Marshal.c | 1916 … return BYTE_Array_Unmarshal((BYTE *)(target->sha512), buffer, size, (INT32)SHA512_DIGEST_SIZE); in TPMU_HA_Unmarshal() 1957 … return BYTE_Array_Marshal((BYTE *)(source->sha512), buffer, size, (INT32)SHA512_DIGEST_SIZE); in TPMU_HA_Marshal()
|