Home
last modified time | relevance | path

Searched refs:kNumAlgorithms (Results 1 – 25 of 25) sorted by relevance

/external/vboot_reference/tests/
Drsa_utility_tests.c59 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()
Dvboot_common2_tests.c25 key->algorithm = kNumAlgorithms; in VerifyPublicKeyToRSA()
270 for (alg = 0; alg < kNumAlgorithms; alg++) { in main()
Drsa_padding_test.c47 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, kNumAlgorithms, in TestRSAVerify()
Drsa_verify_benchmark.c90 for (i = 0; i < kNumAlgorithms; ++i) { in main()
Dvb2_rsa_utility_tests.c43 TEST_EQ(kNumAlgorithms, VB2_ALG_COUNT, "Algorithm counts"); in test_utils()
Dvboot_common3_tests.c366 for (sign_alg = 0; sign_alg < kNumAlgorithms; sign_alg++) { in main()
367 for (data_alg = 0; data_alg < kNumAlgorithms; in main()
Dvboot_common_tests.c163 TEST_EQ(k->algorithm, kNumAlgorithms, "PublicKeyInit algorithm"); in PublicKeyTest()
Dvb20_common2_tests.c202 for (alg = 0; alg < kNumAlgorithms; alg++) { in main()
Dvb21_common2_tests.c306 for (alg = 0; alg < kNumAlgorithms; alg++) { in main()
/external/vboot_reference/futility/
Dcmd_vbutil_key.c56 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()
Dcmd_show.c50 (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()
Dcmd_vbutil_keyblock.c107 if (pem_algorithm >= kNumAlgorithms) { in Pack()
204 (data_key->algorithm < kNumAlgorithms ? in Unpack()
Dcmd_vbutil_firmware.c232 kNumAlgorithms ? algo_strings[data_key-> in Verify()
264 (kernel_subkey->algorithm < kNumAlgorithms ? in Verify()
Dcmd_sign.c650 printf(usage_pubkey, kNumAlgorithms - 1); in print_help()
851 (option.pem_algo >= kNumAlgorithms)) { in do_sign()
Dvb1_helper.c526 (data_key->algorithm < kNumAlgorithms ? in VerifyKernelBlob()
/external/vboot_reference/firmware/lib/cryptolib/
Drsa_utility.c17 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()
Dpadding.c97 const int kNumAlgorithms = 12; variable
Drsa.c148 if (sig_type >= kNumAlgorithms) { in RSAVerify()
/external/vboot_reference/utility/
Dverify_data.c63 for(i = 0; i<kNumAlgorithms; i++) in main()
69 if (algorithm >= kNumAlgorithms) { in main()
Dpad_digest_utility.c32 if (algorithm < 0 || algorithm >= kNumAlgorithms) { in main()
Dsignature_digest_utility.c33 if (algorithm < 0 || algorithm >= kNumAlgorithms) { in main()
/external/vboot_reference/host/lib/
Dhost_key.c29 if (algorithm >= kNumAlgorithms) { in PrivateKeyReadPem()
167 if (algorithm >= kNumAlgorithms) { in PublicKeyReadKeyb()
209 if (key->algorithm >= kNumAlgorithms) { in PublicKeyLooksOkay()
Dsignature_digest.c32 if (algorithm >= kNumAlgorithms) { in SignatureDigest()
/external/vboot_reference/firmware/lib/cryptolib/include/
Dpadding.h28 extern const int kNumAlgorithms;
/external/vboot_reference/firmware/lib/
Dvboot_common.c107 key->algorithm = kNumAlgorithms; /* Key not present yet */ in PublicKeyInit()
128 if (kNumAlgorithms <= key->algorithm) { in PublicKeyToRSA()