Searched refs:asn1_ptr (Results 1 – 3 of 3) sorted by relevance
/system/tpm/attestation/common/ |
D | crypto_utility_impl.cc | 168 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/ |
D | pkcs11_key_store.cc | 263 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/ |
D | trunks_client_test.cc | 1019 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()
|