/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/ec/ |
H A D | ec_asn1.c | 1175 if (ret->pub_key) 1176 EC_POINT_clear_free(ret->pub_key); 1177 ret->pub_key = EC_POINT_new(ret->group); 1178 if (ret->pub_key == NULL) 1187 if (!EC_POINT_oct2point(ret->group, ret->pub_key, 1274 tmp_len = EC_POINT_point2oct(a->group, a->pub_key, 1289 if (!EC_POINT_point2oct(a->group, a->pub_key, 1374 if (ret->pub_key == NULL && 1375 (ret->pub_key = EC_POINT_new(ret->group)) == NULL) 1380 if (!EC_POINT_oct2point(ret->group, ret->pub_key, *i [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/ecdsa/ |
H A D | ecs_ossl.c | 346 const EC_POINT *pub_key; local 350 (pub_key = EC_KEY_get0_public_key(eckey)) == NULL || sig == NULL) 418 if (!EC_POINT_mul(group, point, u1, pub_key, u2, ctx))
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/engine/ |
H A D | eng_cryptodev.c | 108 BIGNUM *u1, BIGNUM *pub_key, BIGNUM *u2, BIGNUM *p, 118 const BIGNUM *pub_key, DH *dh); 832 BIGNUM *u1, BIGNUM *pub_key, BIGNUM *u2, BIGNUM *p, 848 if (!dsa->meth->bn_mod_exp(dsa,&t2,dsa->pub_key,u2,dsa->p,ctx,mont)) 919 /* inputs: dgst dsa->p dsa->q dsa->g dsa->pub_key sig->r sig->s */ 928 if (bn2crparam(dsa->pub_key, &kop.crk_param[4])) 971 cryptodev_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument 980 return ((meth->compute_key)(key, pub_key, dh)); 988 /* inputs: dh->priv_key pub_key dh->p key */ 991 if (bn2crparam(pub_key, 831 cryptodev_dsa_dsa_mod_exp(DSA *dsa, BIGNUM *t1, BIGNUM *g, BIGNUM *u1, BIGNUM *pub_key, BIGNUM *u2, BIGNUM *p, BN_CTX *ctx, BN_MONT_CTX *mont) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/engines/ccgost/ |
H A D | gost2001_keyx.c | 23 const EC_POINT *pub_key, EC_KEY *priv_key, 45 EC_POINT_mul(EC_KEY_get0_group(priv_key), pnt, NULL, pub_key, p, ctx); local 22 VKO_compute_key(unsigned char *shared_key, size_t shared_key_size, const EC_POINT *pub_key, EC_KEY *priv_key, const unsigned char *ukm) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/engines/ccgost/ |
H A D | gost2001_keyx.c | 23 const EC_POINT *pub_key, EC_KEY *priv_key, 45 EC_POINT_mul(EC_KEY_get0_group(priv_key), pnt, NULL, pub_key, p, ctx); local 22 VKO_compute_key(unsigned char *shared_key, size_t shared_key_size, const EC_POINT *pub_key, EC_KEY *priv_key, const unsigned char *ukm) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/engines/ |
H A D | e_sureware.c | 753 dsatmp->pub_key = BN_new(); 757 if(!dsatmp->pub_key || !dsatmp->p || !dsatmp->q || !dsatmp->g) 759 bn_expand2(dsatmp->pub_key, el / sizeof(BN_ULONG)); 763 if (dsatmp->pub_key->dmax != (int)(el / sizeof(BN_ULONG)) 771 pub_key->d, 783 dsatmp->pub_key->top = el / sizeof(BN_ULONG); 784 bn_fix_top(dsatmp->pub_key);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/engines/ |
H A D | e_sureware.c | 713 dsatmp->pub_key = BN_new(); 717 bn_expand2(dsatmp->pub_key, el/sizeof(BN_ULONG)); 721 if (!dsatmp->pub_key || dsatmp->pub_key->dmax!=(int)(el/sizeof(BN_ULONG))|| 728 (unsigned long *)dsatmp->pub_key->d, 740 dsatmp->pub_key->top=el/sizeof(BN_ULONG); 741 bn_fix_top(dsatmp->pub_key);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/engines/ |
H A D | e_sureware.c | 753 dsatmp->pub_key = BN_new(); 757 if(!dsatmp->pub_key || !dsatmp->p || !dsatmp->q || !dsatmp->g) 759 bn_expand2(dsatmp->pub_key, el / sizeof(BN_ULONG)); 763 if (dsatmp->pub_key->dmax != (int)(el / sizeof(BN_ULONG)) 771 pub_key->d, 783 dsatmp->pub_key->top = el / sizeof(BN_ULONG); 784 bn_fix_top(dsatmp->pub_key);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/demos/engines/zencod/ |
H A D | hw_zencod.c | 169 static int DH_zencod_compute_key(unsigned char *key, const BIGNUM *pub_key, 926 BIGNUM2ZEN(&y, dsa->pub_key); 988 BIGNUM2ZEN(&y, dsa->pub_key); 1047 if (dh->pub_key) 1048 bn_pub = dh->pub_key; 1081 dh->pub_key = bn_pub; 1088 if (!dh->pub_key && bn_pub) 1094 static int DH_zencod_compute_key(unsigned char *key, const BIGNUM *pub_key, argument 1112 BIGNUM2ZEN(&y, pub_key);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/demos/engines/zencod/ |
H A D | hw_zencod.c | 160 static int DH_zencod_compute_key ( unsigned char *key, const BIGNUM *pub_key, DH *dh ) ; 879 BIGNUM2ZEN ( &y, dsa->pub_key ) ; 941 BIGNUM2ZEN ( &y, dsa->pub_key ) ; 998 if ( dh->pub_key ) 999 bn_pub = dh->pub_key; 1034 dh->pub_key = bn_pub; 1041 if (!dh->pub_key && bn_pub) 1048 static int DH_zencod_compute_key ( unsigned char *key, const BIGNUM *pub_key, DH *dh ) argument 1065 BIGNUM2ZEN ( &y, pub_key ) ;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/demos/engines/zencod/ |
H A D | hw_zencod.c | 169 static int DH_zencod_compute_key(unsigned char *key, const BIGNUM *pub_key, 926 BIGNUM2ZEN(&y, dsa->pub_key); 988 BIGNUM2ZEN(&y, dsa->pub_key); 1047 if (dh->pub_key) 1048 bn_pub = dh->pub_key; 1081 dh->pub_key = bn_pub; 1088 if (!dh->pub_key && bn_pub) 1094 static int DH_zencod_compute_key(unsigned char *key, const BIGNUM *pub_key, argument 1112 BIGNUM2ZEN(&y, pub_key);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/engine/ |
H A D | eng_cryptodev.c | 119 BIGNUM *u1, BIGNUM *pub_key, BIGNUM *u2, 129 static int cryptodev_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, 1232 BIGNUM *u1, BIGNUM *pub_key, BIGNUM *u2, BIGNUM *p, 1248 if (!dsa->meth->bn_mod_exp(dsa, &t2, dsa->pub_key, u2, dsa->p, ctx, mont)) 1322 /* inputs: dgst dsa->p dsa->q dsa->g dsa->pub_key sig->r sig->s */ 1331 if (bn2crparam(dsa->pub_key, &kop.crk_param[4])) 1378 cryptodev_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument 1387 return ((meth->compute_key) (key, pub_key, dh)); 1395 /* inputs: dh->priv_key pub_key dh->p key */ 1398 if (bn2crparam(pub_key, 1231 cryptodev_dsa_dsa_mod_exp(DSA *dsa, BIGNUM *t1, BIGNUM *g, BIGNUM *u1, BIGNUM *pub_key, BIGNUM *u2, BIGNUM *p, BN_CTX *ctx, BN_MONT_CTX *mont) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/engine/ |
H A D | eng_cryptodev.c | 119 BIGNUM *u1, BIGNUM *pub_key, BIGNUM *u2, 129 static int cryptodev_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, 1232 BIGNUM *u1, BIGNUM *pub_key, BIGNUM *u2, BIGNUM *p, 1248 if (!dsa->meth->bn_mod_exp(dsa, &t2, dsa->pub_key, u2, dsa->p, ctx, mont)) 1322 /* inputs: dgst dsa->p dsa->q dsa->g dsa->pub_key sig->r sig->s */ 1331 if (bn2crparam(dsa->pub_key, &kop.crk_param[4])) 1378 cryptodev_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument 1387 return ((meth->compute_key) (key, pub_key, dh)); 1395 /* inputs: dh->priv_key pub_key dh->p key */ 1398 if (bn2crparam(pub_key, 1231 cryptodev_dsa_dsa_mod_exp(DSA *dsa, BIGNUM *t1, BIGNUM *g, BIGNUM *u1, BIGNUM *pub_key, BIGNUM *u2, BIGNUM *p, BN_CTX *ctx, BN_MONT_CTX *mont) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/ecdsa/ |
H A D | ecs_ossl.c | 359 const EC_POINT *pub_key; local 363 (pub_key = EC_KEY_get0_public_key(eckey)) == NULL || sig == NULL) { 432 if (!EC_POINT_mul(group, point, u1, pub_key, u2, ctx)) {
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/ecdsa/ |
H A D | ecs_ossl.c | 359 const EC_POINT *pub_key; local 363 (pub_key = EC_KEY_get0_public_key(eckey)) == NULL || sig == NULL) { 432 if (!EC_POINT_mul(group, point, u1, pub_key, u2, ctx)) {
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/uams/ |
H A D | uams_dhx_passwd.c | 150 if (!DH_generate_key(dh) || (BN_num_bytes(dh->pub_key) > KEYSIZE)) { 167 BN_bn2bin(dh->pub_key, (unsigned char *)rbuf);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/ |
H A D | crypto.c | 122 len = BN_num_bytes( dh->pub_key ); 126 BN_bn2bin( dh->pub_key, crypto->myPublicKey + offset );
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/apps/ |
H A D | testdsa.h | 50 dsa->pub_key = BN_bin2bn(dsa512_pub, sizeof(dsa512_pub), NULL); 54 if ((dsa->priv_key == NULL) || (dsa->pub_key == NULL) || (dsa->p == NULL) 119 dsa->pub_key = BN_bin2bn(dsa1024_pub, sizeof(dsa1024_pub), NULL); 123 if ((dsa->priv_key == NULL) || (dsa->pub_key == NULL) || (dsa->p == NULL) 221 dsa->pub_key = BN_bin2bn(dsa2048_pub, sizeof(dsa2048_pub), NULL); 225 if ((dsa->priv_key == NULL) || (dsa->pub_key == NULL) || (dsa->p == NULL)
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/apps/ |
H A D | testdsa.h | 50 dsa->pub_key = BN_bin2bn(dsa512_pub, sizeof(dsa512_pub), NULL); 54 if ((dsa->priv_key == NULL) || (dsa->pub_key == NULL) || (dsa->p == NULL) 119 dsa->pub_key = BN_bin2bn(dsa1024_pub, sizeof(dsa1024_pub), NULL); 123 if ((dsa->priv_key == NULL) || (dsa->pub_key == NULL) || (dsa->p == NULL) 221 dsa->pub_key = BN_bin2bn(dsa2048_pub, sizeof(dsa2048_pub), NULL); 225 if ((dsa->priv_key == NULL) || (dsa->pub_key == NULL) || (dsa->p == NULL)
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/apps/ |
H A D | testdsa.h | 45 dsa->pub_key=BN_bin2bn(dsa512_pub,sizeof(dsa512_pub),NULL); 49 if ((dsa->priv_key == NULL) || (dsa->pub_key == NULL) || (dsa->p == NULL) || 109 dsa->pub_key=BN_bin2bn(dsa1024_pub,sizeof(dsa1024_pub),NULL); 113 if ((dsa->priv_key == NULL) || (dsa->pub_key == NULL) || (dsa->p == NULL) || 206 dsa->pub_key=BN_bin2bn(dsa2048_pub,sizeof(dsa2048_pub),NULL); 210 if ((dsa->priv_key == NULL) || (dsa->pub_key == NULL) || (dsa->p == NULL) ||
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/dh/ |
H A D | dhtest.c | 167 BN_print(out, a->pub_key); 175 BN_print(out, b->pub_key); 180 aout = DH_compute_key(abuf, b->pub_key, a); 191 bout = DH_compute_key(bbuf, a->pub_key, b); 547 dhA->pub_key = BN_bin2bn(td->yA, td->yA_len, NULL); 550 dhB->pub_key = BN_bin2bn(td->yB, td->yB_len, NULL); 552 if (!dhA->priv_key || !dhA->pub_key 553 || !dhB->priv_key || !dhB->pub_key) 566 if (DH_compute_key(Z1, dhB->pub_key, dhA) == -1) 568 if (DH_compute_key(Z2, dhA->pub_key, dh [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/dh/ |
H A D | dhtest.c | 167 BN_print(out, a->pub_key); 175 BN_print(out, b->pub_key); 180 aout = DH_compute_key(abuf, b->pub_key, a); 191 bout = DH_compute_key(bbuf, a->pub_key, b); 547 dhA->pub_key = BN_bin2bn(td->yA, td->yA_len, NULL); 550 dhB->pub_key = BN_bin2bn(td->yB, td->yB_len, NULL); 552 if (!dhA->priv_key || !dhA->pub_key 553 || !dhB->priv_key || !dhB->pub_key) 566 if (DH_compute_key(Z1, dhB->pub_key, dhA) == -1) 568 if (DH_compute_key(Z2, dhA->pub_key, dh [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/pem/ |
H A D | pvkfmt.c | 318 if (!read_lebn(&p, nbyte, &dsa->pub_key)) 324 if (!(dsa->pub_key = BN_new())) 329 if (!BN_mod_exp(dsa->pub_key, dsa->g, dsa->priv_key, dsa->p, ctx)) 528 if (BN_num_bits(dsa->pub_key) > bitlen) 599 write_lebn(out, dsa->pub_key, nbyte);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/ssl/ |
H A D | d1_srvr.c | 852 if ((dhp->pub_key == NULL || 865 dh->pub_key=BN_dup(dhp->pub_key); 867 if ((dh->pub_key == NULL) || 876 r[2]=dh->pub_key;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/pem/ |
H A D | pvkfmt.c | 318 if (!read_lebn(&p, nbyte, &dsa->pub_key)) 324 if (!(dsa->pub_key = BN_new())) 329 if (!BN_mod_exp(dsa->pub_key, dsa->g, dsa->priv_key, dsa->p, ctx)) 528 if (BN_num_bits(dsa->pub_key) > bitlen) 599 write_lebn(out, dsa->pub_key, nbyte);
|