Home
last modified time | relevance | path

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

/external/libchrome/crypto/
Dsignature_verifier_unittest.cc161 const uint8_t public_key_info[294] = { in TEST() local
210 public_key_info, sizeof(public_key_info)); in TEST()
221 public_key_info, sizeof(public_key_info)); in TEST()
236 public_key_info, sizeof(public_key_info)); in TEST()
249 public_key_info, sizeof(public_key_info)); in TEST()
260 uint8_t bad_public_key_info[sizeof(public_key_info)]; in TEST()
261 memcpy(bad_public_key_info, public_key_info, sizeof(public_key_info)); in TEST()
270 uint8_t long_public_key_info[sizeof(public_key_info) + 5]; in TEST()
272 memcpy(long_public_key_info, public_key_info, sizeof(public_key_info)); in TEST()
1019 std::vector<uint8_t>* public_key_info) { in EncodeRSAPublicKey() argument
[all …]
Dsignature_creator_unittest.cc54 std::vector<uint8_t> public_key_info; in TEST() local
55 ASSERT_TRUE(key_original->ExportPublicKey(&public_key_info)); in TEST()
61 &public_key_info.front(), public_key_info.size())); in TEST()
88 std::vector<uint8_t> public_key_info; in TEST() local
89 ASSERT_TRUE(key_original->ExportPublicKey(&public_key_info)); in TEST()
96 &public_key_info.front(), public_key_info.size())); in TEST()
124 std::vector<uint8_t> public_key_info; in TEST() local
125 ASSERT_TRUE(key_original->ExportPublicKey(&public_key_info)); in TEST()
132 &public_key_info.front(), public_key_info.size())); in TEST()
Dsignature_verifier_openssl.cc50 const uint8_t* public_key_info, in VerifyInit() argument
71 return CommonInit(digest, signature, signature_len, public_key_info, in VerifyInit()
80 const uint8_t* public_key_info, in VerifyInitRSAPSS() argument
90 if (!CommonInit(digest, signature, signature_len, public_key_info, in VerifyInitRSAPSS()
132 const uint8_t* public_key_info, in CommonInit() argument
142 const uint8_t* ptr = public_key_info; in CommonInit()
144 if (!public_key.get() || ptr != public_key_info + public_key_info_len) in CommonInit()
Dsignature_verifier.h66 const uint8_t* public_key_info,
90 const uint8_t* public_key_info,
116 const uint8_t* public_key_info,
120 static SECKEYPublicKey* DecodePublicKeyInfo(const uint8_t* public_key_info,
Dsignature_verifier_nss.cc81 const uint8_t* public_key_info, in VerifyInit() argument
88 SECKEYPublicKey* public_key = DecodePublicKeyInfo(public_key_info, in VerifyInit()
144 const uint8_t* public_key_info, in VerifyInitRSAPSS() argument
151 SECKEYPublicKey* public_key = DecodePublicKeyInfo(public_key_info, in VerifyInitRSAPSS()
196 const uint8_t* public_key_info, in DecodePublicKeyInfo() argument
201 spki_der.data = const_cast<uint8_t*>(public_key_info); in DecodePublicKeyInfo()