Home
last modified time | relevance | path

Searched refs:public_key_info (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/crypto/
Dsignature_verifier_unittest.cc148 const uint8_t public_key_info[294] = { in TEST() local
195 sizeof(signature), public_key_info, in TEST()
196 sizeof(public_key_info)); in TEST()
205 sizeof(signature), public_key_info, in TEST()
206 sizeof(public_key_info)); in TEST()
219 sizeof(signature), public_key_info, in TEST()
220 sizeof(public_key_info)); in TEST()
232 public_key_info, sizeof(public_key_info)); in TEST()
243 uint8_t bad_public_key_info[sizeof(public_key_info)]; in TEST()
244 memcpy(bad_public_key_info, public_key_info, sizeof(public_key_info)); in TEST()
[all …]
Dsignature_creator_unittest.cc42 std::vector<uint8_t> public_key_info; in TEST() local
43 ASSERT_TRUE(key_original->ExportPublicKey(&public_key_info)); in TEST()
48 signature.size(), &public_key_info.front(), public_key_info.size())); in TEST()
75 std::vector<uint8_t> public_key_info; in TEST() local
76 ASSERT_TRUE(key_original->ExportPublicKey(&public_key_info)); in TEST()
82 signature.size(), &public_key_info.front(), public_key_info.size())); in TEST()
110 std::vector<uint8_t> public_key_info; in TEST() local
111 ASSERT_TRUE(key_original->ExportPublicKey(&public_key_info)); in TEST()
117 signature.size(), &public_key_info.front(), public_key_info.size())); in TEST()
Dsignature_verifier.h63 const uint8_t* public_key_info,
87 const uint8_t* public_key_info,
104 const uint8_t* public_key_info,
108 static SECKEYPublicKey* DecodePublicKeyInfo(const uint8_t* public_key_info,
Dsignature_verifier_nss.cc92 const uint8_t* public_key_info, in VerifyInit() argument
99 SECKEYPublicKey* public_key = DecodePublicKeyInfo(public_key_info, in VerifyInit()
130 const uint8_t* public_key_info, in VerifyInitRSAPSS() argument
137 SECKEYPublicKey* public_key = DecodePublicKeyInfo(public_key_info, in VerifyInitRSAPSS()
182 const uint8_t* public_key_info, in DecodePublicKeyInfo() argument
187 spki_der.data = const_cast<uint8_t*>(public_key_info); in DecodePublicKeyInfo()