Home
last modified time | relevance | path

Searched refs:r32 (Results 1 – 2 of 2) sorted by relevance

/system/extras/verity/
Dgenerate_verity_key.c49 BIGNUM* r32 = BN_new(); in convert_to_mincrypt_format() local
56 BN_set_bit(r32, 32); in convert_to_mincrypt_format()
60 BN_div(NULL, rem, n, r32, ctx); in convert_to_mincrypt_format()
61 BN_mod_inverse(n0inv, rem, r32, ctx); in convert_to_mincrypt_format()
66 BN_div(rr, rem, rr, r32, ctx); in convert_to_mincrypt_format()
68 BN_div(n, rem, n, r32, ctx); in convert_to_mincrypt_format()
80 BN_free(r32); in convert_to_mincrypt_format()
/system/core/adb/
Dadb_auth_host.cpp77 BIGNUM* r32 = BN_new(); in RSA_to_RSAPublicKey() local
89 BN_set_bit(r32, 32); in RSA_to_RSAPublicKey()
93 BN_div(NULL, rem, n, r32, ctx); in RSA_to_RSAPublicKey()
94 BN_mod_inverse(n0inv, rem, r32, ctx); in RSA_to_RSAPublicKey()
99 BN_div(rr, rem, rr, r32, ctx); in RSA_to_RSAPublicKey()
101 BN_div(n, rem, n, r32, ctx); in RSA_to_RSAPublicKey()
112 BN_free(r32); in RSA_to_RSAPublicKey()