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.cc168 auto asn1_ptr = reinterpret_cast<const unsigned char*>(public_key.data()); in GetRSASubjectPublicKeyInfo() local
169 crypto::ScopedRSA rsa(d2i_RSAPublicKey(nullptr, &asn1_ptr, in GetRSASubjectPublicKeyInfo()
190 auto asn1_ptr = reinterpret_cast<const unsigned char*>( in GetRSAPublicKey() local
192 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, in GetRSAPublicKey()
241 auto asn1_ptr = reinterpret_cast<const unsigned char*>( in EncryptIdentityCredential() local
243 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, in EncryptIdentityCredential()
279 auto asn1_ptr = reinterpret_cast<const unsigned char*>(public_key.data()); in EncryptForUnbind() local
280 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, public_key.size())); in EncryptForUnbind()
296 auto asn1_ptr = reinterpret_cast<const unsigned char*>(public_key.data()); in VerifySignature() local
297 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, public_key.size())); in VerifySignature()
/system/tpm/attestation/server/
Dpkcs11_key_store.cc263 const unsigned char* asn1_ptr = reinterpret_cast<const unsigned char*>( in Register() local
266 &asn1_ptr, in Register()
618 const unsigned char* asn1_ptr = reinterpret_cast<const unsigned char*>( in GetCertificateFields() local
620 ScopedX509 x509(d2i_X509(nullptr, &asn1_ptr, certificate.size())); in GetCertificateFields()
/system/tpm/trunks/
Dtrunks_client_test.cc1019 auto asn1_ptr = reinterpret_cast<const unsigned char*>(public_key.data()); in VerifyRSASignature() local
1020 crypto::ScopedRSA rsa(d2i_RSAPublicKey(nullptr, &asn1_ptr, in VerifyRSASignature()