Home
last modified time | relevance | path

Searched refs:BIGNUM (Results 1 – 13 of 13) sorted by relevance

/system/extras/verity/
Dgenerate_verity_key.c49 BIGNUM* r32 = BN_new(); in convert_to_mincrypt_format()
50 BIGNUM* rr = BN_new(); in convert_to_mincrypt_format()
51 BIGNUM* r = BN_new(); in convert_to_mincrypt_format()
52 BIGNUM* rem = BN_new(); in convert_to_mincrypt_format()
53 BIGNUM* n = BN_new(); in convert_to_mincrypt_format()
54 BIGNUM* n0inv = BN_new(); in convert_to_mincrypt_format()
179 BIGNUM* exponent = BN_new(); in generate_key()
Dverify_boot_signature.c166 BIGNUM expected; in validate_signature_block()
167 BIGNUM value; in validate_signature_block()
Dbuild_verity_tree.cpp161 BIGNUM *bn = NULL; in main()
/system/core/adb/
Dadb_auth_host.cpp68 BIGNUM* r32 = BN_new(); in RSA_to_RSAPublicKey()
69 BIGNUM* rr = BN_new(); in RSA_to_RSAPublicKey()
70 BIGNUM* r = BN_new(); in RSA_to_RSAPublicKey()
71 BIGNUM* rem = BN_new(); in RSA_to_RSAPublicKey()
72 BIGNUM* n = BN_new(); in RSA_to_RSAPublicKey()
73 BIGNUM* n0inv = BN_new(); in RSA_to_RSAPublicKey()
214 BIGNUM* exponent = BN_new(); in generate_key()
/system/keymaster/
Dopenssl_utils.h69 typedef OpenSslObjectDeleter<BIGNUM, BN_free> BIGNUM_Delete;
70 typedef UniquePtr<BIGNUM, BIGNUM_Delete> BIGNUM_Ptr;
Dopenssl_utils.cpp65 void convert_bn_to_blob(BIGNUM* bn, keymaster_blob_t* blob) { in convert_bn_to_blob()
134 UniquePtr<BIGNUM, BIGNUM_Delete> order(BN_new()); in ec_group_size_bits()
Dattestation_record.cpp33 bool Uint64ToBignum(uint64_t value, BIGNUM* bn) { in Uint64ToBignum()
358 UniquePtr<BIGNUM, BIGNUM_Delete> bn_value(BN_new()); in build_auth_list()
561 UniquePtr<BIGNUM, BIGNUM_Delete> bn(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in get_ulong()
Drsa_key_factory.cpp77 UniquePtr<BIGNUM, BIGNUM_Delete> exponent(BN_new()); in GenerateKey()
Dkeymaster0_engine.cpp312 unique_ptr<BIGNUM, BIGNUM_Delete> input_as_bn( in data_too_large_for_public_modulus()
/system/security/keystore-engine/
Decdsa_meth.cpp55 const BIGNUM*, const BIGNUM*, EC_KEY *eckey) { in keystore_ecdsa_do_sign() argument
/system/webservd/webservd/
Dutils.cc88 auto big_num = std::unique_ptr<BIGNUM, void(*)(BIGNUM*)>{BN_new(), BN_free}; in GenerateRSAKeyPair()
/system/security/softkeymaster/
Dkeymaster_openssl.cpp41 void operator()(BIGNUM* p) const { BN_free(p); } in operator ()()
43 typedef UniquePtr<BIGNUM, BIGNUM_Delete> Unique_BIGNUM;
/system/security/keystore/
Dkey_store_service.cpp43 void operator()(BIGNUM* p) const { BN_free(p); } in operator ()()
45 typedef UniquePtr<BIGNUM, BIGNUM_Delete> Unique_BIGNUM;