Searched refs:numN (Results 1 – 2 of 2) sorted by relevance
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/srp/ |
H A D | srp_lib.c | 27 int numN = BN_num_bytes(N); in srp_Calc_xy() local 34 if ((tmp = OPENSSL_malloc(numN * 2)) == NULL) in srp_Calc_xy() 36 if (BN_bn2binpad(x, tmp, numN) < 0 in srp_Calc_xy() 37 || BN_bn2binpad(y, tmp + numN, numN) < 0 in srp_Calc_xy() 38 || !EVP_Digest(tmp, numN * 2, digest, NULL, EVP_sha1(), NULL)) in srp_Calc_xy()
|
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/srp/ |
H A D | srp_lib.c | 31 int numN = BN_num_bytes(N); in srp_Calc_xy() local 42 if ((tmp = OPENSSL_malloc(numN * 2)) == NULL) in srp_Calc_xy() 44 if (BN_bn2binpad(x, tmp, numN) < 0 in srp_Calc_xy() 45 || BN_bn2binpad(y, tmp + numN, numN) < 0 in srp_Calc_xy() 46 || !EVP_Digest(tmp, numN * 2, digest, NULL, sha1, NULL)) in srp_Calc_xy()
|