Home
last modified time | relevance | path

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

/system/extras/verity/
Dgenerate_verity_key.c46 BIGNUM* r32 = BN_new(); in convert_to_mincrypt_format()
47 BIGNUM* rr = BN_new(); in convert_to_mincrypt_format()
48 BIGNUM* r = BN_new(); in convert_to_mincrypt_format()
49 BIGNUM* rem = BN_new(); in convert_to_mincrypt_format()
50 BIGNUM* n = BN_new(); in convert_to_mincrypt_format()
51 BIGNUM* n0inv = BN_new(); in convert_to_mincrypt_format()
116 BIGNUM* exponent = BN_new(); in generate_key()
Dbuild_verity_tree.cpp153 BIGNUM *bn = NULL; in main()
/system/keymaster/
Dopenssl_utils.h28 void operator()(BIGNUM* p) const { BN_free(p); } in operator()
41 inline void convert_bn_to_blob(BIGNUM* bn, keymaster_blob_t* blob) { in convert_bn_to_blob()
Dasymmetric_key.cpp140 UniquePtr<BIGNUM, BIGNUM_Delete> exponent(BN_new()); in GenerateKey()
175 UniquePtr<BIGNUM, BIGNUM_Delete> public_exponent_bn(BN_new()); in ImportKey()
263 static void SetDsaParamData(AuthorizationSet* auths, TypedTag<KM_BIGNUM, Tag> tag, BIGNUM* number) { in SetDsaParamData()
337 keymaster_error_t GetOrCheckDsaParam(TypedTag<KM_BIGNUM, T> tag, BIGNUM* bn, in GetOrCheckDsaParam()
342 UniquePtr<BIGNUM, BIGNUM_Delete> extracted_bn(BN_bin2bn(blob.data, blob.data_length, NULL)); in GetOrCheckDsaParam()
/system/core/adb/
Dadb_auth_host.c69 BIGNUM* r32 = BN_new(); in RSA_to_RSAPublicKey()
70 BIGNUM* rr = BN_new(); in RSA_to_RSAPublicKey()
71 BIGNUM* r = BN_new(); in RSA_to_RSAPublicKey()
72 BIGNUM* rem = BN_new(); in RSA_to_RSAPublicKey()
73 BIGNUM* n = BN_new(); in RSA_to_RSAPublicKey()
74 BIGNUM* n0inv = BN_new(); in RSA_to_RSAPublicKey()
177 BIGNUM* exponent = BN_new(); in generate_key()
/system/security/keystore-engine/
Decdsa_meth.cpp55 const BIGNUM*, const BIGNUM*, EC_KEY *eckey) { in keystore_ecdsa_do_sign() argument
/system/security/softkeymaster/
Dkeymaster_openssl.cpp40 void operator()(BIGNUM* p) const { in operator ()()
44 typedef UniquePtr<BIGNUM, BIGNUM_Delete> Unique_BIGNUM;
/system/security/keystore/
Dkeystore.cpp77 void operator()(BIGNUM* p) const { in operator ()()
81 typedef UniquePtr<BIGNUM, BIGNUM_Delete> Unique_BIGNUM;