Searched refs:bn_ctx (Results 1 - 15 of 15) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/srp/
H A Dsrp_lib.c157 BN_CTX *bn_ctx; local
162 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)
196 if (!BN_mod_exp(gb, g, b, N, bn_ctx) ||
198 !BN_mod_mul(kv, v, k, N, bn_ctx) ||
243 BN_CTX *bn_ctx; local
262 BN_CTX *bn_ctx; local
301 BN_CTX *bn_ctx; local
[all...]
H A Dsrp_vfy.c659 BN_CTX *bn_ctx = BN_CTX_new(); local
666 (verifier == NULL) || (N == NULL) || (g == NULL) || (bn_ctx == NULL))
687 if (!BN_mod_exp(*verifier, g, x, N, bn_ctx)) {
701 BN_CTX_free(bn_ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/srp/
H A Dsrp_lib.c157 BN_CTX *bn_ctx; local
162 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)
196 if (!BN_mod_exp(gb, g, b, N, bn_ctx) ||
198 !BN_mod_mul(kv, v, k, N, bn_ctx) ||
243 BN_CTX *bn_ctx; local
262 BN_CTX *bn_ctx; local
301 BN_CTX *bn_ctx; local
[all...]
H A Dsrp_vfy.c659 BN_CTX *bn_ctx = BN_CTX_new(); local
666 (verifier == NULL) || (N == NULL) || (g == NULL) || (bn_ctx == NULL))
687 if (!BN_mod_exp(*verifier, g, x, N, bn_ctx)) {
701 BN_CTX_free(bn_ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/bn/
H A DMakefile27 LIBSRC= bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c bn_mod.c \
33 LIBOBJ= bn_add.o bn_div.o bn_exp.o bn_lib.o bn_ctx.o bn_mul.o bn_mod.o \
180 bn_ctx.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
181 bn_ctx.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
182 bn_ctx.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
183 bn_ctx.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
184 bn_ctx.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
185 bn_ctx.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
186 bn_ctx.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_ctx
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/ssl/
H A Ds3_srvr.c1149 BN_CTX *bn_ctx = NULL; local
1348 bn_ctx = BN_CTX_new();
1349 if ((encodedPoint == NULL) || (bn_ctx == NULL))
1359 encodedPoint, encodedlen, bn_ctx);
1367 BN_CTX_free(bn_ctx); bn_ctx=NULL;
1550 BN_CTX_free(bn_ctx);
1667 BN_CTX *bn_ctx = NULL; local
2140 if ((bn_ctx = BN_CTX_new()) == NULL)
2151 clnt_ecpoint, p, i, bn_ctx)
[all...]
H A Ds3_clnt.c1005 BN_CTX *bn_ctx = NULL; local
1253 ((bn_ctx = BN_CTX_new()) == NULL))
1264 p, encoded_pt_len, bn_ctx) == 0))
1291 BN_CTX_free(bn_ctx);
1435 BN_CTX_free(bn_ctx);
1635 BN_CTX * bn_ctx = NULL; local
2051 bn_ctx = BN_CTX_new();
2053 (bn_ctx == NULL))
2063 encodedPoint, encoded_pt_len, bn_ctx);
2075 BN_CTX_free(bn_ctx);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/bn/
H A DMakefile25 LIBSRC= bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c bn_mod.c \
31 LIBOBJ= bn_add.o bn_div.o bn_exp.o bn_lib.o bn_ctx.o bn_mul.o bn_mod.o \
220 bn_ctx.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
221 bn_ctx.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
222 bn_ctx.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
223 bn_ctx.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
224 bn_ctx.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
225 bn_ctx.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
226 bn_ctx.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_ctx
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/bn/
H A DMakefile25 LIBSRC= bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c bn_mod.c \
31 LIBOBJ= bn_add.o bn_div.o bn_exp.o bn_lib.o bn_ctx.o bn_mul.o bn_mod.o \
220 bn_ctx.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
221 bn_ctx.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
222 bn_ctx.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
223 bn_ctx.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
224 bn_ctx.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
225 bn_ctx.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
226 bn_ctx.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_ctx
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/ssl/
H A Ds3_srvr.c1610 BN_CTX *bn_ctx = NULL; local
1790 bn_ctx = BN_CTX_new();
1791 if ((encodedPoint == NULL) || (bn_ctx == NULL)) {
1800 encodedPoint, encodedlen, bn_ctx);
1807 BN_CTX_free(bn_ctx);
1808 bn_ctx = NULL;
2025 BN_CTX_free(bn_ctx);
2148 BN_CTX *bn_ctx = NULL; local
2669 if ((bn_ctx = BN_CTX_new()) == NULL) {
2682 if (EC_POINT_oct2point(group, clnt_ecpoint, p, i, bn_ctx)
[all...]
H A Ds3_clnt.c1383 BN_CTX *bn_ctx = NULL; local
1858 ((bn_ctx = BN_CTX_new()) == NULL)) {
1868 p, encoded_pt_len, bn_ctx) == 0)) {
1899 BN_CTX_free(bn_ctx);
1900 bn_ctx = NULL;
2039 BN_CTX_free(bn_ctx);
2476 BN_CTX *bn_ctx = NULL; local
2918 bn_ctx = BN_CTX_new();
2919 if ((encodedPoint == NULL) || (bn_ctx == NULL)) {
2929 encodedPoint, encoded_pt_len, bn_ctx);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/ssl/
H A Ds3_srvr.c1610 BN_CTX *bn_ctx = NULL; local
1790 bn_ctx = BN_CTX_new();
1791 if ((encodedPoint == NULL) || (bn_ctx == NULL)) {
1800 encodedPoint, encodedlen, bn_ctx);
1807 BN_CTX_free(bn_ctx);
1808 bn_ctx = NULL;
2025 BN_CTX_free(bn_ctx);
2148 BN_CTX *bn_ctx = NULL; local
2669 if ((bn_ctx = BN_CTX_new()) == NULL) {
2682 if (EC_POINT_oct2point(group, clnt_ecpoint, p, i, bn_ctx)
[all...]
H A Ds3_clnt.c1383 BN_CTX *bn_ctx = NULL; local
1858 ((bn_ctx = BN_CTX_new()) == NULL)) {
1868 p, encoded_pt_len, bn_ctx) == 0)) {
1899 BN_CTX_free(bn_ctx);
1900 bn_ctx = NULL;
2039 BN_CTX_free(bn_ctx);
2476 BN_CTX *bn_ctx = NULL; local
2918 bn_ctx = BN_CTX_new();
2919 if ((encodedPoint == NULL) || (bn_ctx == NULL)) {
2929 encodedPoint, encoded_pt_len, bn_ctx);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/apps/
H A Ds_client.c488 BN_CTX *bn_ctx = BN_CTX_new(); local
492 g != NULL && N != NULL && bn_ctx != NULL && BN_is_odd(N) &&
493 BN_is_prime_ex(N, SRP_NUMBER_ITERATIONS_FOR_PRIME, bn_ctx, NULL) &&
496 BN_is_prime_ex(p, SRP_NUMBER_ITERATIONS_FOR_PRIME, bn_ctx, NULL) &&
499 BN_mod_exp(r, g, p, N, bn_ctx) &&
506 if (bn_ctx)
507 BN_CTX_free(bn_ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/apps/
H A Ds_client.c488 BN_CTX *bn_ctx = BN_CTX_new(); local
492 g != NULL && N != NULL && bn_ctx != NULL && BN_is_odd(N) &&
493 BN_is_prime_ex(N, SRP_NUMBER_ITERATIONS_FOR_PRIME, bn_ctx, NULL) &&
496 BN_is_prime_ex(p, SRP_NUMBER_ITERATIONS_FOR_PRIME, bn_ctx, NULL) &&
499 BN_mod_exp(r, g, p, N, bn_ctx) &&
506 if (bn_ctx)
507 BN_CTX_free(bn_ctx);

Completed in 216 milliseconds