Home
last modified time | relevance | path

Searched refs:siglen_map (Results 1 – 16 of 16) sorted by relevance

/external/vboot_reference/host/lib/
Dhost_common.c28 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()
Dhost_keyblock.c23 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()
Dhost_signature.c136 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()
Dsignature_digest.c56 signature = (uint8_t*) malloc(siglen_map[algorithm]); in SignatureBuf()
/external/vboot_reference/firmware/lib/cryptolib/
Drsa_utility.c18 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()
Dpadding.c136 const int siglen_map[NUMALGORITHMS] = { variable
Drsa.c153 if (key->len != siglen_map[sig_type] / sizeof(uint32_t)) { in RSAVerify()
/external/vboot_reference/firmware/lib/
Dvboot_common.c150 (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/
Dpadding.h31 extern const int siglen_map[];
/external/vboot_reference/utility/
Dverify_data.c74 sig_len = siglen_map[algorithm]; in main()
/external/vboot_reference/tests/
Drsa_verify_benchmark.c35 key_size = siglen_map[algorithm] * 8; /* in bits. */ in SpeedTestAlgorithm()
Dvboot_common3_tests.c281 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()
Dvb20_common3_tests.c307 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()
Dvb20_common2_tests.c141 int rsa_len = siglen_map[key_algorithm] * 8; in test_algorithm()
Dvboot_common2_tests.c215 int rsa_len = siglen_map[key_algorithm] * 8; in test_algorithm()
Dvb21_common2_tests.c242 int rsa_len = siglen_map[key_algorithm] * 8; in test_algorithm()