Home
last modified time | relevance | path

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

/external/chromium_org/third_party/openssl/openssl/crypto/srp/
Dsrp_lib.c86 int longN = BN_num_bytes(N); in srp_Calc_k() local
88 if ((tmp = OPENSSL_malloc(longN)) == NULL) in srp_Calc_k()
94 EVP_DigestUpdate(&ctxt, tmp, longN); in srp_Calc_k()
96 memset(tmp, 0, longN); in srp_Calc_k()
99 EVP_DigestUpdate(&ctxt, tmp + longg, longN-longg); in srp_Calc_k()
116 int longN; in SRP_Calc_u() local
120 longN= BN_num_bytes(N); in SRP_Calc_u()
122 if ((cAB = OPENSSL_malloc(2*longN)) == NULL) in SRP_Calc_u()
125 memset(cAB, 0, longN); in SRP_Calc_u()
129 EVP_DigestUpdate(&ctxt, cAB + BN_bn2bin(A,cAB+longN), longN); in SRP_Calc_u()
[all …]
/external/openssl/crypto/srp/
Dsrp_lib.c90 int longN = BN_num_bytes(N); in srp_Calc_k() local
92 if ((tmp = OPENSSL_malloc(longN)) == NULL) in srp_Calc_k()
98 EVP_DigestUpdate(&ctxt, tmp, longN); in srp_Calc_k()
100 memset(tmp, 0, longN); in srp_Calc_k()
103 EVP_DigestUpdate(&ctxt, tmp + longg, longN-longg); in srp_Calc_k()
120 int longN; in SRP_Calc_u() local
124 longN= BN_num_bytes(N); in SRP_Calc_u()
126 if ((cAB = OPENSSL_malloc(2*longN)) == NULL) in SRP_Calc_u()
129 memset(cAB, 0, longN); in SRP_Calc_u()
133 EVP_DigestUpdate(&ctxt, cAB + BN_bn2bin(A,cAB+longN), longN); in SRP_Calc_u()
[all …]