Home
last modified time | relevance | path

Searched refs:BIGNUM_Ptr (Results 1 – 14 of 14) sorted by relevance

/aosp12/hardware/interfaces/keymaster/3.0/vts/functional/
H A Dattestation_record.cpp169 BIGNUM_Ptr one(BN_new()); in construct_uint_max()
179 BIGNUM_Ptr uint_max(construct_uint_max()); in BignumToUint64()
180 BIGNUM_Ptr hi(BN_new()), lo(BN_new()); in BignumToUint64()
195 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag()
203 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag()
H A Dopenssl_utils.h32 typedef std::unique_ptr<BIGNUM, UniquePtrDeleter<BIGNUM, BN_free>> BIGNUM_Ptr; typedef
/aosp12/hardware/interfaces/keymaster/4.0/support/
H A Dattestation_record.cpp213 BIGNUM_Ptr one(BN_new()); in construct_uint_max()
223 BIGNUM_Ptr uint_max(construct_uint_max()); in BignumToUint64()
224 BIGNUM_Ptr hi(BN_new()), lo(BN_new()); in BignumToUint64()
239 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag()
247 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag()
/aosp12/hardware/interfaces/security/keymint/support/
H A Dattestation_record.cpp226 BIGNUM_Ptr one(BN_new()); in construct_uint_max()
236 BIGNUM_Ptr uint_max(construct_uint_max()); in BignumToUint64()
237 BIGNUM_Ptr hi(BN_new()), lo(BN_new()); in BignumToUint64()
252 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag()
260 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag()
/aosp12/hardware/interfaces/keymaster/4.1/support/
H A Dattestation_record.cpp228 BIGNUM_Ptr one(BN_new()); in construct_uint_max()
238 BIGNUM_Ptr uint_max(construct_uint_max()); in BignumToUint64()
239 BIGNUM_Ptr hi(BN_new()), lo(BN_new()); in BignumToUint64()
254 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag()
262 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag()
/aosp12/hardware/interfaces/security/keymint/support/include/keymint_support/
H A Dopenssl_utils.h47 typedef std::unique_ptr<BIGNUM, UniquePtrDeleter<BIGNUM, BN_free>> BIGNUM_Ptr; typedef
/aosp12/system/keymaster/include/keymaster/km_openssl/
H A Dcertificate_utils.h40 BIGNUM_Ptr serial;
H A Dopenssl_utils.h73 typedef UniquePtr<BIGNUM, BIGNUM_Delete> BIGNUM_Ptr; typedef
/aosp12/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
H A Dopenssl_utils.h40 typedef std::unique_ptr<BIGNUM, UniquePtrDeleter<BIGNUM, BN_free>> BIGNUM_Ptr; typedef
/aosp12/system/security/keystore2/src/crypto/
H A Dcertificate_utils.cpp232 BIGNUM_Ptr bn_serial; in makeCertRump()
234 bn_serial = BIGNUM_Ptr(BN_bin2bn(serial->get().data(), serial->get().size(), nullptr)); in makeCertRump()
239 bn_serial = BIGNUM_Ptr(BN_new()); in makeCertRump()
/aosp12/hardware/interfaces/identity/support/src/
H A DIdentityCredentialSupport.cpp163 using BIGNUM_Ptr = bssl::UniquePtr<BIGNUM>; typedef
525 auto bn = BIGNUM_Ptr(BN_bin2bn(key.data(), key.size(), nullptr)); in signEcDsaDigest()
941 auto bn = BIGNUM_Ptr(BN_bin2bn(privateKey.data(), privateKey.size(), nullptr)); in ecPrivateKeyToKeyPair()
1008 auto bignumSerialPtr = BIGNUM_Ptr(bignumSerial); in ecKeyPairGetPkcs12()
1121 auto bn = BIGNUM_Ptr(BN_bin2bn(signingKey.data(), signingKey.size(), nullptr)); in ecPublicKeyGenerateCertificate()
1158 auto bignumSerialPtr = BIGNUM_Ptr(bignumSerial); in ecPublicKeyGenerateCertificate()
1270 auto bn = BIGNUM_Ptr(BN_bin2bn(privateKey.data(), privateKey.size(), nullptr)); in ecdh()
1619 auto rBn = BIGNUM_Ptr(BN_bin2bn(ecdsaCoseSignature.data(), 32, nullptr)); in ecdsaSignatureCoseToDer()
1625 auto sBn = BIGNUM_Ptr(BN_bin2bn(ecdsaCoseSignature.data() + 32, 32, nullptr)); in ecdsaSignatureCoseToDer()
/aosp12/system/keymaster/km_openssl/
H A Drsa_key_factory.cpp80 BIGNUM_Ptr exponent(BN_new()); in GenerateKey()
H A Dcertificate_utils.cpp113 BIGNUM_Ptr serial(BN_new()); in get_certificate_params()
/aosp12/hardware/interfaces/security/keymint/aidl/vts/functional/
H A DKeyMintAidlTestBase.cpp1229 BIGNUM_Ptr ser(BN_new()); in verify_serial()
1266 BIGNUM_Ptr serial(BN_new()); in build_serial_blob()