Searched refs:ec (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/tests/component/ |
D | verifier_test.cpp | 112 ASSERT_EQ(nullptr, cert.ec); in TEST() 123 ASSERT_EQ(nullptr, cert.ec); in TEST() 134 ASSERT_EQ(nullptr, cert.ec); in TEST() 145 ASSERT_EQ(nullptr, cert.ec); in TEST() 167 ASSERT_EQ(nullptr, cert.ec); in TEST() 191 std::unique_ptr<EC_KEY, ECKEYDeleter> ec(EC_KEY_new_by_curve_name(NID_X9_62_prime256v1)); in TEST() local 192 ASSERT_EQ(1, EC_KEY_generate_key(ec.get())); in TEST() 193 ASSERT_TRUE(CheckECKey(ec)); in TEST() 196 ec.reset(EC_KEY_new_by_curve_name(NID_secp224r1)); in TEST() 197 ASSERT_EQ(1, EC_KEY_generate_key(ec.get())); in TEST() [all …]
|
/bootable/recovery/install/include/install/ |
D | verifier.h | 53 : hash_len(hash_len_), key_type(key_type_), rsa(std::move(rsa_)), ec(std::move(ec_)) {} in Certificate() 59 std::unique_ptr<EC_KEY, ECKEYDeleter> ec; member
|
/bootable/recovery/install/ |
D | verifier.cpp | 289 if (!ECDSA_verify(0, hash, key.hash_len, sig_der.data(), sig_der.size(), key.ec.get())) { in verify_file() 448 cert->ec.reset(); in LoadCertificateFromBuffer() 457 cert->ec.reset(EVP_PKEY_get1_EC_KEY(public_key.get())); in LoadCertificateFromBuffer() 458 if (!cert->ec || !CheckECKey(cert->ec)) { in LoadCertificateFromBuffer()
|