/external/vboot_reference/tests/ |
D | rsa_utility_tests.c | 59 TEST_EQ(RSAProcessedKeySize(kNumAlgorithms, &u), 0, in TestUtils() 69 TEST_EQ(key->algorithm, kNumAlgorithms, "New key no algorithm"); in TestUtils() 150 TEST_EQ(RSAVerifyBinary_f(NULL, &key, buf, sizeof(buf), sig, kNumAlgorithms), in TestVerifyBinary() 154 TEST_EQ(RSAVerifyBinary_f(NULL, NULL, buf, sizeof(buf), sig, kNumAlgorithms), in TestVerifyBinary() 188 TEST_EQ(RSAVerifyBinaryWithDigest_f(NULL, &key, digest, sig, kNumAlgorithms), in TestVerifyBinaryWithDigest() 192 TEST_EQ(RSAVerifyBinaryWithDigest_f(NULL, NULL, digest, sig, kNumAlgorithms), in TestVerifyBinaryWithDigest()
|
D | vboot_common2_tests.c | 25 key->algorithm = kNumAlgorithms; in VerifyPublicKeyToRSA() 270 for (alg = 0; alg < kNumAlgorithms; alg++) { in main()
|
D | rsa_padding_test.c | 47 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, kNumAlgorithms, in TestRSAVerify()
|
D | rsa_verify_benchmark.c | 90 for (i = 0; i < kNumAlgorithms; ++i) { in main()
|
D | vb2_rsa_utility_tests.c | 43 TEST_EQ(kNumAlgorithms, VB2_ALG_COUNT, "Algorithm counts"); in test_utils()
|
D | vboot_common3_tests.c | 366 for (sign_alg = 0; sign_alg < kNumAlgorithms; sign_alg++) { in main() 367 for (data_alg = 0; data_alg < kNumAlgorithms; in main()
|
D | vboot_common_tests.c | 163 TEST_EQ(k->algorithm, kNumAlgorithms, "PublicKeyInit algorithm"); in PublicKeyTest()
|
D | vb20_common2_tests.c | 202 for (alg = 0; alg < kNumAlgorithms; alg++) { in main()
|
D | vb21_common2_tests.c | 306 for (alg = 0; alg < kNumAlgorithms; alg++) { in main()
|
/external/vboot_reference/futility/ |
D | cmd_vbutil_key.c | 56 for (i = 0; i < kNumAlgorithms; i++) { in print_help() 120 (pubkey->algorithm < kNumAlgorithms ? in Unpack() 144 kNumAlgorithms ? algo_strings[privkey-> in Unpack() 172 uint64_t algorithm = kNumAlgorithms; in do_vbutil_key()
|
D | cmd_show.c | 50 (pubkey->algorithm < kNumAlgorithms ? in show_key() 83 (data_key->algorithm < kNumAlgorithms in show_keyblock() 116 alg_okay = key.algorithm < kNumAlgorithms; in futil_cb_show_privkey() 354 (kernel_subkey->algorithm < kNumAlgorithms ? in futil_cb_show_fw_preamble() 356 if (kernel_subkey->algorithm >= kNumAlgorithms) in futil_cb_show_fw_preamble()
|
D | cmd_vbutil_keyblock.c | 107 if (pem_algorithm >= kNumAlgorithms) { in Pack() 204 (data_key->algorithm < kNumAlgorithms ? in Unpack()
|
D | cmd_vbutil_firmware.c | 232 kNumAlgorithms ? algo_strings[data_key-> in Verify() 264 (kernel_subkey->algorithm < kNumAlgorithms ? in Verify()
|
D | cmd_sign.c | 650 printf(usage_pubkey, kNumAlgorithms - 1); in print_help() 851 (option.pem_algo >= kNumAlgorithms)) { in do_sign()
|
D | vb1_helper.c | 526 (data_key->algorithm < kNumAlgorithms ? in VerifyKernelBlob()
|
/external/vboot_reference/firmware/lib/cryptolib/ |
D | rsa_utility.c | 17 if (algorithm < kNumAlgorithms) { in RSAProcessedKeySize() 34 key->algorithm = kNumAlgorithms; in RSAPublicKeyNew() 95 if (algorithm >= (unsigned int)kNumAlgorithms) in RSAVerifyBinary_f() 134 if (algorithm >= (unsigned int)kNumAlgorithms) in RSAVerifyBinaryWithDigest_f()
|
D | padding.c | 97 const int kNumAlgorithms = 12; variable
|
D | rsa.c | 148 if (sig_type >= kNumAlgorithms) { in RSAVerify()
|
/external/vboot_reference/utility/ |
D | verify_data.c | 63 for(i = 0; i<kNumAlgorithms; i++) in main() 69 if (algorithm >= kNumAlgorithms) { in main()
|
D | pad_digest_utility.c | 32 if (algorithm < 0 || algorithm >= kNumAlgorithms) { in main()
|
D | signature_digest_utility.c | 33 if (algorithm < 0 || algorithm >= kNumAlgorithms) { in main()
|
/external/vboot_reference/host/lib/ |
D | host_key.c | 29 if (algorithm >= kNumAlgorithms) { in PrivateKeyReadPem() 167 if (algorithm >= kNumAlgorithms) { in PublicKeyReadKeyb() 209 if (key->algorithm >= kNumAlgorithms) { in PublicKeyLooksOkay()
|
D | signature_digest.c | 32 if (algorithm >= kNumAlgorithms) { in SignatureDigest()
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
D | padding.h | 28 extern const int kNumAlgorithms;
|
/external/vboot_reference/firmware/lib/ |
D | vboot_common.c | 107 key->algorithm = kNumAlgorithms; /* Key not present yet */ in PublicKeyInit() 128 if (kNumAlgorithms <= key->algorithm) { in PublicKeyToRSA()
|