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

/macosx-10.10/OpenSSH-189/openssh/
H A Djpake.c205 BN_CTX *bn_ctx; local
207 if ((bn_ctx = BN_CTX_new()) == NULL)
232 if (BN_mod_exp(*g_priv1, grp->g, *priv1, grp->p, bn_ctx) == -1)
234 if (BN_mod_exp(*g_priv2, grp->g, *priv2, grp->p, bn_ctx) == -1)
247 BN_CTX_free(bn_ctx);
261 BN_CTX *bn_ctx; local
281 if ((bn_ctx = BN_CTX_new()) == NULL)
293 if (BN_mod_mul(exponent, mypriv2, s, grp->q, bn_ctx) != 1)
301 if (BN_mod_mul(tmp, mypub1, theirpub1, grp->p, bn_ctx) != 1)
304 if (BN_mod_mul(tmp, tmp, theirpub2, grp->p, bn_ctx) !
365 BN_CTX *bn_ctx; local
[all...]
H A Dschnorr.c133 BN_CTX *bn_ctx; local
149 if ((bn_ctx = BN_CTX_new()) == NULL) {
171 if (BN_mod_exp(g_v, grp_g, v, grp_p, bn_ctx) == -1) {
185 if (BN_mod_mul(tmp, x, h, grp_q, bn_ctx) == -1) {
189 if (BN_mod_sub(r, v, tmp, grp_q, bn_ctx) == -1) {
201 BN_CTX_free(bn_ctx);
265 BN_CTX *bn_ctx; local
280 if ((bn_ctx = BN_CTX_new()) == NULL) {
296 if (BN_mod_exp(gx_q, g_x, grp_q, grp_p, bn_ctx) == -1) {
314 if (BN_mod_exp(g_xh, g_x, h, grp_p, bn_ctx)
589 BN_CTX *bn_ctx; local
[all...]
/macosx-10.10/CPANInternal-159.1/Crypt-OpenSSL-Bignum-0.04/Bignum/
H A DCTX.pm32 my $bn_ctx = Crypt::OpenSSL::Bignum::CTX->new();
/macosx-10.10/OpenSSL098-52/src/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 \
189 bn_ctx.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
190 bn_ctx.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
191 bn_ctx.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
192 bn_ctx.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
193 bn_ctx.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
194 bn_ctx.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
195 bn_ctx.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_ctx
[all...]
/macosx-10.10/OpenSSL098-52/src/ssl/
H A Ds3_clnt.c1108 BN_CTX *bn_ctx = NULL; local
1356 ((bn_ctx = BN_CTX_new()) == NULL))
1367 p, encoded_pt_len, bn_ctx) == 0))
1394 BN_CTX_free(bn_ctx);
1395 bn_ctx = NULL;
1541 BN_CTX_free(bn_ctx);
1900 BN_CTX * bn_ctx = NULL; local
2330 bn_ctx = BN_CTX_new();
2332 (bn_ctx == NULL))
2342 encodedPoint, encoded_pt_len, bn_ctx);
[all...]
H A Ds3_srvr.c1290 BN_CTX *bn_ctx = NULL; local
1486 bn_ctx = BN_CTX_new();
1487 if ((encodedPoint == NULL) || (bn_ctx == NULL))
1497 encodedPoint, encodedlen, bn_ctx);
1505 BN_CTX_free(bn_ctx); bn_ctx=NULL;
1691 BN_CTX_free(bn_ctx);
1813 BN_CTX *bn_ctx = NULL; local
2287 if ((bn_ctx = BN_CTX_new()) == NULL)
2304 clnt_ecpoint, p, i, bn_ctx)
[all...]
/macosx-10.10/OpenSSL098-52/src/
H A DMakefile.org265 ../crypto/bn/bn_ctx.o \

Completed in 210 milliseconds