Home
last modified time | relevance | path

Searched refs:asn1_ptr (Results 1 – 3 of 3) sorted by relevance

/system/tpm/attestation/common/
Dcrypto_utility_impl.cc167 auto asn1_ptr = reinterpret_cast<const unsigned char*>(public_key.data()); in GetRSASubjectPublicKeyInfo() local
169 d2i_RSAPublicKey(nullptr, &asn1_ptr, public_key.size())); in GetRSASubjectPublicKeyInfo()
189 auto asn1_ptr = in GetRSAPublicKey() local
192 d2i_RSA_PUBKEY(NULL, &asn1_ptr, public_key_info.size())); in GetRSAPublicKey()
240 auto asn1_ptr = in EncryptIdentityCredential() local
243 d2i_RSA_PUBKEY(NULL, &asn1_ptr, ek_public_key_info.size())); in EncryptIdentityCredential()
278 auto asn1_ptr = reinterpret_cast<const unsigned char*>(public_key.data()); in EncryptForUnbind() local
279 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, public_key.size())); in EncryptForUnbind()
295 auto asn1_ptr = reinterpret_cast<const unsigned char*>(public_key.data()); in VerifySignature() local
296 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, public_key.size())); in VerifySignature()
/system/tpm/attestation/server/
Dpkcs11_key_store.cc241 const unsigned char* asn1_ptr = in Register() local
244 d2i_RSAPublicKey(nullptr, &asn1_ptr, public_key_der.size())); in Register()
564 const unsigned char* asn1_ptr = in GetCertificateFields() local
566 ScopedX509 x509(d2i_X509(nullptr, &asn1_ptr, certificate.size())); in GetCertificateFields()
/system/tpm/trunks/
Dtrunks_client_test.cc1047 auto asn1_ptr = reinterpret_cast<const unsigned char*>(public_key.data()); in VerifyRSASignature() local
1049 d2i_RSAPublicKey(nullptr, &asn1_ptr, public_key.size())); in VerifyRSASignature()