Searched refs:longN (Results 1 – 1 of 1) sorted by relevance
/external/openssl/crypto/srp/ |
D | srp_lib.c | 86 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 …]
|