/aosp12/hardware/interfaces/keymaster/3.0/vts/functional/ |
H A D | attestation_record.cpp | 169 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 D | openssl_utils.h | 32 typedef std::unique_ptr<BIGNUM, UniquePtrDeleter<BIGNUM, BN_free>> BIGNUM_Ptr; typedef
|
/aosp12/hardware/interfaces/keymaster/4.0/support/ |
H A D | attestation_record.cpp | 213 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 D | attestation_record.cpp | 226 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 D | attestation_record.cpp | 228 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 D | openssl_utils.h | 47 typedef std::unique_ptr<BIGNUM, UniquePtrDeleter<BIGNUM, BN_free>> BIGNUM_Ptr; typedef
|
/aosp12/system/keymaster/include/keymaster/km_openssl/ |
H A D | certificate_utils.h | 40 BIGNUM_Ptr serial;
|
H A D | openssl_utils.h | 73 typedef UniquePtr<BIGNUM, BIGNUM_Delete> BIGNUM_Ptr; typedef
|
/aosp12/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/ |
H A D | openssl_utils.h | 40 typedef std::unique_ptr<BIGNUM, UniquePtrDeleter<BIGNUM, BN_free>> BIGNUM_Ptr; typedef
|
/aosp12/system/security/keystore2/src/crypto/ |
H A D | certificate_utils.cpp | 232 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 D | IdentityCredentialSupport.cpp | 163 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 D | rsa_key_factory.cpp | 80 BIGNUM_Ptr exponent(BN_new()); in GenerateKey()
|
H A D | certificate_utils.cpp | 113 BIGNUM_Ptr serial(BN_new()); in get_certificate_params()
|
/aosp12/hardware/interfaces/security/keymint/aidl/vts/functional/ |
H A D | KeyMintAidlTestBase.cpp | 1229 BIGNUM_Ptr ser(BN_new()); in verify_serial() 1266 BIGNUM_Ptr serial(BN_new()); in build_serial_blob()
|