/external/openssl/crypto/srp/ |
H A D | srp_lib.c | 156 BN_CTX *bn_ctx; local 161 if ((bn_ctx = BN_CTX_new()) == NULL || 168 if (!BN_mod_exp(tmp,v,u,N,bn_ctx)) 170 if (!BN_mod_mul(tmp,A,tmp,N,bn_ctx)) 172 if (!BN_mod_exp(S,tmp,b,N,bn_ctx)) 175 BN_CTX_free(bn_ctx); 184 BN_CTX *bn_ctx; local 187 (bn_ctx = BN_CTX_new()) == NULL) 197 if (!BN_mod_exp(gb,g,b,N,bn_ctx) || 199 !BN_mod_mul(kv,v,k,N,bn_ctx) || 247 BN_CTX *bn_ctx; local 268 BN_CTX *bn_ctx; local 308 BN_CTX *bn_ctx; local [all...] |
H A D | srp_vfy.c | 615 BN_CTX *bn_ctx = BN_CTX_new(); local 624 (bn_ctx == NULL)) 642 if (!BN_mod_exp(*verifier,g,x,N,bn_ctx)) 655 BN_CTX_free(bn_ctx);
|
/external/openssl/ssl/ |
H A D | d1_srvr.c | 1056 BN_CTX *bn_ctx = NULL; local 1254 bn_ctx = BN_CTX_new(); 1255 if ((encodedPoint == NULL) || (bn_ctx == NULL)) 1265 encodedPoint, encodedlen, bn_ctx); 1273 BN_CTX_free(bn_ctx); bn_ctx=NULL; 1480 BN_CTX_free(bn_ctx);
|
H A D | d1_clnt.c | 987 BN_CTX * bn_ctx = NULL; local 1421 bn_ctx = BN_CTX_new(); 1423 (bn_ctx == NULL)) 1433 encodedPoint, encoded_pt_len, bn_ctx); 1445 BN_CTX_free(bn_ctx); 1553 BN_CTX_free(bn_ctx);
|
H A D | s3_clnt.c | 1372 BN_CTX *bn_ctx = NULL; local 1869 ((bn_ctx = BN_CTX_new()) == NULL)) 1880 p, encoded_pt_len, bn_ctx) == 0)) 1907 BN_CTX_free(bn_ctx); 1908 bn_ctx = NULL; 2068 BN_CTX_free(bn_ctx); 2455 BN_CTX * bn_ctx = NULL; local 3014 bn_ctx = BN_CTX_new(); 3016 (bn_ctx == NULL)) 3026 encodedPoint, encoded_pt_len, bn_ctx); [all...] |
H A D | s3_srvr.c | 1625 BN_CTX *bn_ctx = NULL; local 1838 bn_ctx = BN_CTX_new(); 1839 if ((encodedPoint == NULL) || (bn_ctx == NULL)) 1849 encodedPoint, encodedlen, bn_ctx); 1857 BN_CTX_free(bn_ctx); bn_ctx=NULL; 2089 BN_CTX_free(bn_ctx); 2220 BN_CTX *bn_ctx = NULL; local 2797 if ((bn_ctx = BN_CTX_new()) == NULL) 2814 clnt_ecpoint, p, i, bn_ctx) [all...] |
/external/chromium_org/third_party/boringssl/src/ssl/ |
H A D | s3_clnt.c | 1155 BN_CTX *bn_ctx = NULL; local 1426 ((bn_ctx = BN_CTX_new()) == NULL)) 1433 CBS_data(&point), CBS_len(&point), bn_ctx)) 1453 BN_CTX_free(bn_ctx); 1454 bn_ctx = NULL; 1569 BN_CTX_free(bn_ctx); 1883 BN_CTX * bn_ctx = NULL; local 2211 bn_ctx = BN_CTX_new(); 2213 (bn_ctx == NULL)) 2223 encodedPoint, encoded_pt_len, bn_ctx); [all...] |
H A D | s3_srvr.c | 1277 BN_CTX *bn_ctx = NULL; local 1451 bn_ctx = BN_CTX_new(); 1452 if ((encodedPoint == NULL) || (bn_ctx == NULL)) 1462 encodedPoint, encodedlen, bn_ctx); 1470 BN_CTX_free(bn_ctx); bn_ctx=NULL; 1652 BN_CTX_free(bn_ctx); 1763 BN_CTX *bn_ctx = NULL; local 2094 if ((bn_ctx = BN_CTX_new()) == NULL) 2101 CBS_data(&ecdh_Yc), CBS_len(&ecdh_Yc), bn_ctx)) [all...] |
/external/openssl/apps/ |
H A D | s_client.c | 416 BN_CTX *bn_ctx = BN_CTX_new(); local 420 g != NULL && N != NULL && bn_ctx != NULL && BN_is_odd(N) && 421 BN_is_prime_ex(N, SRP_NUMBER_ITERATIONS_FOR_PRIME, bn_ctx, NULL) && 425 BN_is_prime_ex(p, SRP_NUMBER_ITERATIONS_FOR_PRIME, bn_ctx, NULL) && 429 BN_mod_exp(r, g, p, N, bn_ctx) && 437 if(bn_ctx) 438 BN_CTX_free(bn_ctx);
|
/external/openssl/ |
H A D | Crypto-config-trusty.mk | 59 crypto/bn/bn_ctx.c \
|
H A D | Crypto-config-host.mk | 135 crypto/bn/bn_ctx.c \
|
H A D | Crypto-config-target.mk | 135 crypto/bn/bn_ctx.c \
|