Searched refs:siglen_map (Results 1 – 16 of 16) sorted by relevance
/external/vboot_reference/host/lib/ |
D | host_common.c | 28 uint64_t block_size = signed_size + siglen_map[signing_key->algorithm]; in CreateFirmwarePreamble() 62 siglen_map[signing_key->algorithm], signed_size); in CreateFirmwarePreamble() 88 uint64_t block_size = signed_size + siglen_map[signing_key->algorithm]; in CreateKernelPreamble() 124 siglen_map[signing_key->algorithm], signed_size); in CreateKernelPreamble()
|
D | host_keyblock.c | 23 siglen_map[signing_key->algorithm] : 0)); in KeyBlockCreate() 52 siglen_map[signing_key->algorithm], signed_size); in KeyBlockCreate() 83 siglen_map[algorithm]); in KeyBlockCreate_external() 114 siglen_map[algorithm], signed_size); in KeyBlockCreate_external()
|
D | host_signature.c | 136 sig = SignatureAlloc(siglen_map[key->algorithm], size); in CalculateSignature() 281 sig = SignatureAlloc(siglen_map[key_algorithm], size); in CalculateSignature_external() 291 siglen_map[key_algorithm], /* Max Output sig size */ in CalculateSignature_external()
|
D | signature_digest.c | 56 signature = (uint8_t*) malloc(siglen_map[algorithm]); in SignatureBuf()
|
/external/vboot_reference/firmware/lib/cryptolib/ |
D | rsa_utility.c | 18 key_len = siglen_map[algorithm]; in RSAProcessedKeySize() 99 sig_size = siglen_map[algorithm]; in RSAVerifyBinary_f() 138 sig_size = siglen_map[algorithm]; in RSAVerifyBinaryWithDigest_f()
|
D | padding.c | 136 const int siglen_map[NUMALGORITHMS] = { variable
|
D | rsa.c | 153 if (key->len != siglen_map[sig_type] / sizeof(uint32_t)) { in RSAVerify()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_common.c | 150 (unsigned)sig->sig_size, siglen_map[key->algorithm], in VerifyData() 152 if (sig->sig_size != siglen_map[key->algorithm]) { in VerifyData() 155 (int)sig->sig_size, siglen_map[key->algorithm], in VerifyData() 174 if (sig->sig_size != siglen_map[key->algorithm]) { in VerifyDigest() 527 siglen_map[src->algorithm], (int)src->algorithm)); in VbSharedDataSetKernelKey()
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
D | padding.h | 31 extern const int siglen_map[];
|
/external/vboot_reference/utility/ |
D | verify_data.c | 74 sig_len = siglen_map[algorithm]; in main()
|
/external/vboot_reference/tests/ |
D | rsa_verify_benchmark.c | 35 key_size = siglen_map[algorithm] * 8; /* in bits. */ in SpeedTestAlgorithm()
|
D | vboot_common3_tests.c | 281 int signing_rsa_len = siglen_map[signing_key_algorithm] * 8; in test_permutation() 282 int data_rsa_len = siglen_map[data_key_algorithm] * 8; in test_permutation()
|
D | vb20_common3_tests.c | 307 int signing_rsa_len = siglen_map[signing_key_algorithm] * 8; in test_permutation() 308 int data_rsa_len = siglen_map[data_key_algorithm] * 8; in test_permutation()
|
D | vb20_common2_tests.c | 141 int rsa_len = siglen_map[key_algorithm] * 8; in test_algorithm()
|
D | vboot_common2_tests.c | 215 int rsa_len = siglen_map[key_algorithm] * 8; in test_algorithm()
|
D | vb21_common2_tests.c | 242 int rsa_len = siglen_map[key_algorithm] * 8; in test_algorithm()
|