Home
last modified time | relevance | path

Searched refs:BN_new (Results 1 – 25 of 56) sorted by relevance

123

/external/openssl/crypto/bn/
Dbntest.c801 a=BN_new(); in test_mod()
802 b=BN_new(); in test_mod()
803 c=BN_new(); in test_mod()
804 d=BN_new(); in test_mod()
805 e=BN_new(); in test_mod()
847 a=BN_new(); in test_mod_mul()
848 b=BN_new(); in test_mod_mul()
849 c=BN_new(); in test_mod_mul()
850 d=BN_new(); in test_mod_mul()
851 e=BN_new(); in test_mod_mul()
[all …]
Ddivtest.c23 BIGNUM *a=BN_new(), *b=BN_new(), *c=BN_new(), *d=BN_new(), in main()
24 *C=BN_new(), *D=BN_new(); in main()
Dexptest.c90 r_mont=BN_new(); in main()
91 r_mont_const=BN_new(); in main()
92 r_recp=BN_new(); in main()
93 r_simple=BN_new(); in main()
94 a=BN_new(); in main()
95 b=BN_new(); in main()
96 m=BN_new(); in main()
Dexpspeed.c213 a=BN_new(); in main()
214 b=BN_new(); in main()
215 c=BN_new(); in main()
216 r=BN_new(); in main()
Dbn_sqrt.c81 ret = BN_new(); in BN_mod_sqrt()
101 ret = BN_new(); in BN_mod_sqrt()
124 ret = BN_new(); in BN_mod_sqrt()
Dbn_lib.c298 BIGNUM *BN_new(void) in BN_new() function
412 r = BN_new(); in bn_dup_expand()
486 t = BN_new(); in BN_dup()
605 ret = bn = BN_new(); in BN_bin2bn()
/external/openssl/crypto/jpake/
Djpake.c36 zkp->gr = BN_new(); in JPAKE_ZKP_init()
37 zkp->b = BN_new(); in JPAKE_ZKP_init()
52 p->gx = BN_new(); in JPAKE_STEP_PART_init()
86 ctx->p.gxc = BN_new(); in JPAKE_CTX_init()
87 ctx->p.gxd = BN_new(); in JPAKE_CTX_init()
89 ctx->xa = BN_new(); in JPAKE_CTX_init()
90 ctx->xb = BN_new(); in JPAKE_CTX_init()
91 ctx->key = BN_new(); in JPAKE_CTX_init()
189 BIGNUM *r = BN_new(); in generate_zkp()
190 BIGNUM *h = BN_new(); in generate_zkp()
[all …]
Djpaketest.c120 BIGNUM *secret = BN_new(); in main()
143 g = BN_new(); in main()
146 q = BN_new(); in main()
/external/openssl/crypto/rsa/
Drsa_gen.c106 if(!rsa->n && ((rsa->n=BN_new()) == NULL)) goto err; in rsa_builtin_keygen()
107 if(!rsa->d && ((rsa->d=BN_new()) == NULL)) goto err; in rsa_builtin_keygen()
108 if(!rsa->e && ((rsa->e=BN_new()) == NULL)) goto err; in rsa_builtin_keygen()
109 if(!rsa->p && ((rsa->p=BN_new()) == NULL)) goto err; in rsa_builtin_keygen()
110 if(!rsa->q && ((rsa->q=BN_new()) == NULL)) goto err; in rsa_builtin_keygen()
111 if(!rsa->dmp1 && ((rsa->dmp1=BN_new()) == NULL)) goto err; in rsa_builtin_keygen()
112 if(!rsa->dmq1 && ((rsa->dmq1=BN_new()) == NULL)) goto err; in rsa_builtin_keygen()
113 if(!rsa->iqmp && ((rsa->iqmp=BN_new()) == NULL)) goto err; in rsa_builtin_keygen()
Drsa_chk.c63 i = BN_new(); in RSA_check_key()
64 j = BN_new(); in RSA_check_key()
65 k = BN_new(); in RSA_check_key()
66 l = BN_new(); in RSA_check_key()
67 m = BN_new(); in RSA_check_key()
/external/openssl/crypto/ecdsa/
Decs_ossl.c115 k = BN_new(); /* this value is later returned in *kinvp */ in ecdsa_sign_setup()
116 r = BN_new(); /* this value is later returned in *rp */ in ecdsa_sign_setup()
117 order = BN_new(); in ecdsa_sign_setup()
118 X = BN_new(); in ecdsa_sign_setup()
242 if ((ctx = BN_CTX_new()) == NULL || (order = BN_new()) == NULL || in ecdsa_do_sign()
243 (tmp = BN_new()) == NULL || (m = BN_new()) == NULL) in ecdsa_do_sign()
Decdsatest.c162 tmp = BN_new(); in fbytes()
214 if ((r = BN_new()) == NULL || (s = BN_new()) == NULL) in x9_62_test_internal()
/external/openssl/crypto/ec/
Deck_prn.c203 if ((p = BN_new()) == NULL || (a = BN_new()) == NULL || in ECPKParameters_print()
204 (b = BN_new()) == NULL || (order = BN_new()) == NULL || in ECPKParameters_print()
205 (cofactor = BN_new()) == NULL) in ECPKParameters_print()
Dectest.c127 s = BN_new();
141 if ((r[i] = BN_new()) == NULL) ABORT;
145 if ((r0[i] = BN_new()) == NULL) ABORT;
215 p = BN_new(); in prime_field_tests()
216 a = BN_new(); in prime_field_tests()
217 b = BN_new(); in prime_field_tests()
263 x = BN_new(); in prime_field_tests()
264 y = BN_new(); in prime_field_tests()
265 z = BN_new(); in prime_field_tests()
827 p = BN_new(); in char2_field_tests()
[all …]
Dec_key.c176 dest->priv_key = BN_new(); in EC_KEY_copy()
246 if ((order = BN_new()) == NULL) goto err; in EC_KEY_generate_key()
251 priv_key = BN_new(); in EC_KEY_generate_key()
/external/openssl/apps/
Decparam.c487 if ((ec_p = BN_new()) == NULL || (ec_a = BN_new()) == NULL || in MAIN()
488 (ec_b = BN_new()) == NULL || (ec_gen = BN_new()) == NULL || in MAIN()
489 (ec_order = BN_new()) == NULL || in MAIN()
490 (ec_cofactor = BN_new()) == NULL ) in MAIN()
/external/openssl/crypto/dsa/
Ddsa_key.c86 if ((priv_key=BN_new()) == NULL) goto err; in dsa_builtin_keygen()
97 if ((pub_key=BN_new()) == NULL) goto err; in dsa_builtin_keygen()
/external/openssl/crypto/ecdh/
Decdhtest.c141 if ((x_a=BN_new()) == NULL) goto err; in test_ecdh_curve()
142 if ((y_a=BN_new()) == NULL) goto err; in test_ecdh_curve()
143 if ((x_b=BN_new()) == NULL) goto err; in test_ecdh_curve()
144 if ((y_b=BN_new()) == NULL) goto err; in test_ecdh_curve()
/external/openssl/crypto/dh/
Ddh_check.c83 q=BN_new(); in DH_check()
128 q=BN_new(); in DH_check_pub_key()
Ddh_gen.c117 if(!ret->p && ((ret->p = BN_new()) == NULL)) goto err; in dh_builtin_genparams()
118 if(!ret->g && ((ret->g = BN_new()) == NULL)) goto err; in dh_builtin_genparams()
Ddh_key.c115 priv_key=BN_new(); in generate_key()
124 pub_key=BN_new(); in generate_key()
Dp1024.c89 dh->g=BN_new(); in main()
Dp512.c82 dh->g=BN_new(); in main()
Dp192.c77 dh->g=BN_new(); in main()
/external/openssl/crypto/pkcs12/
Dp12_key.c145 Ij = BN_new(); in PKCS12_key_gen_uni()
146 Bpl1 = BN_new(); in PKCS12_key_gen_uni()

123