Searched refs:priv_key (Results 26 - 50 of 103) sorted by relevance

12345

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/engines/
H A De_ubsec.c783 (unsigned char *)dsa->priv_key->d, BN_num_bits(dsa->priv_key),
894 (unsigned char *)dh->priv_key->d, BN_num_bits(dh->priv_key),
925 BIGNUM *priv_key = NULL; local
932 if (dh->priv_key == NULL)
934 priv_key = BN_new();
935 if (priv_key == NULL) goto err;
937 bn_wexpand(priv_key, dh->p->top);
939 if (!BN_rand_range(priv_key, d
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/engines/
H A De_ubsec.c798 (unsigned char *)dsa->priv_key->d,
799 BN_num_bits(dsa->priv_key),
916 (unsigned char *)dh->priv_key->d,
917 BN_num_bits(dh->priv_key),
945 BIGNUM *priv_key = NULL; local
952 if (dh->priv_key == NULL) {
953 priv_key = BN_new();
954 if (priv_key == NULL)
957 if (bn_wexpand(priv_key, dh->p->top) == NULL)
960 if (!BN_rand_range(priv_key, d
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/dsa/
H A Ddsa_ameth.c209 * SEQUENCE {parameters, priv_key}
210 * SEQUENCE {pub_key, priv_key}
247 if (!(dsa->priv_key = ASN1_INTEGER_to_BN(privkey, NULL))) {
261 if (!BN_mod_exp(dsa->pub_key, dsa->g, dsa->priv_key, dsa->p, ctx)) {
291 if (!pkey->pkey.dsa || !pkey->pkey.dsa->priv_key) {
311 prkey = BN_to_ASN1_INTEGER(pkey->pkey.dsa->priv_key, NULL);
421 const BIGNUM *priv_key, *pub_key; local
424 priv_key = x->priv_key;
426 priv_key
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/dsa/
H A Ddsa_ameth.c209 * SEQUENCE {parameters, priv_key}
210 * SEQUENCE {pub_key, priv_key}
247 if (!(dsa->priv_key = ASN1_INTEGER_to_BN(privkey, NULL))) {
261 if (!BN_mod_exp(dsa->pub_key, dsa->g, dsa->priv_key, dsa->p, ctx)) {
291 if (!pkey->pkey.dsa || !pkey->pkey.dsa->priv_key) {
311 prkey = BN_to_ASN1_INTEGER(pkey->pkey.dsa->priv_key, NULL);
421 const BIGNUM *priv_key, *pub_key; local
424 priv_key = x->priv_key;
426 priv_key
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/include/bcmcrypto/
H A Ddh.h93 BIGNUM *priv_key; /* x */ member in struct:dh_st
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/engines/ccgost/
H A Dgost2001.c132 const BIGNUM *priv_key; local
158 priv_key = EC_KEY_get0_private_key(eckey);
159 if(!priv_key) {
214 /* s = (r*priv_key+k*e) mod order */
226 if(!BN_mod_mul(tmp, priv_key, r, order, ctx)
385 const BIGNUM *priv_key = NULL; local
400 if (!(priv_key = EC_KEY_get0_private_key(ec))) {
410 if (!EC_POINT_mul(group, pub_key, priv_key, NULL, NULL, ctx)) {
H A Dgost_sign.c100 BN_mod_mul(tmp, dsa->priv_key, newsig->r, dsa->q, ctx);
249 BN_mod_exp(dsa->pub_key, dsa->g, dsa->priv_key, dsa->p, ctx);
294 dsa->priv_key = BN_new();
295 if(!dsa->priv_key) {
299 BN_rand_range(dsa->priv_key, dsa->q);
H A Dgost94_keyx.c50 static int make_cp_exchange_key(BIGNUM *priv_key, EVP_PKEY *pubk, argument
63 dh->priv_key = BN_dup(priv_key);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/engines/ccgost/
H A Dgost2001.c132 const BIGNUM *priv_key; local
158 priv_key = EC_KEY_get0_private_key(eckey);
159 if(!priv_key) {
214 /* s = (r*priv_key+k*e) mod order */
226 if(!BN_mod_mul(tmp, priv_key, r, order, ctx)
385 const BIGNUM *priv_key = NULL; local
400 if (!(priv_key = EC_KEY_get0_private_key(ec))) {
410 if (!EC_POINT_mul(group, pub_key, priv_key, NULL, NULL, ctx)) {
H A Dgost_sign.c100 BN_mod_mul(tmp, dsa->priv_key, newsig->r, dsa->q, ctx);
249 BN_mod_exp(dsa->pub_key, dsa->g, dsa->priv_key, dsa->p, ctx);
294 dsa->priv_key = BN_new();
295 if(!dsa->priv_key) {
299 BN_rand_range(dsa->priv_key, dsa->q);
H A Dgost94_keyx.c50 static int make_cp_exchange_key(BIGNUM *priv_key, EVP_PKEY *pubk, argument
63 dh->priv_key = BN_dup(priv_key);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/
H A Dssl_polarssl.c75 ALLOC_OBJ_CLEAR(ctx->priv_key, rsa_context);
92 ALLOC_OBJ_CLEAR(ctx->priv_key, rsa_context);
106 rsa_free(ctx->priv_key);
107 free(ctx->priv_key);
281 status = x509parse_key(ctx->priv_key,
288 status = x509parse_key(ctx->priv_key,
295 status = x509parse_keyfile(ctx->priv_key, priv_key_file, NULL);
300 status = x509parse_keyfile(ctx->priv_key, priv_key_file, passbuf);
533 ssl_set_own_cert( ks_ssl->ctx, ssl_ctx->crt_chain, ssl_ctx->priv_key );
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/test/
H A Ddhtest.c154 BN_print(out,a->priv_key);
161 BN_print(out,b->priv_key);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/dh/
H A Ddhtest.c154 BN_print(out,a->priv_key);
161 BN_print(out,b->priv_key);
H A Ddh_lib.c151 ret->priv_key=NULL;
207 if (r->priv_key != NULL) BN_clear_free(r->priv_key);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/dsa/
H A Ddsa_asn1.c109 ASN1_SIMPLE(DSA, priv_key, BIGNUM)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/ecdsa/
H A Decs_ossl.c222 const BIGNUM *priv_key; local
226 priv_key = EC_KEY_get0_private_key(eckey);
228 if (group == NULL || priv_key == NULL || ecdsa == NULL)
287 if (!BN_mod_mul(tmp, priv_key, ret->r, order, ctx))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/asn1/
H A Dt_pkey.c222 if (x->priv_key)
223 if (buf_len < (i = (size_t)BN_num_bytes(x->priv_key)))
236 if (x->priv_key != NULL)
244 if ((x->priv_key != NULL) && !print(bp,"priv:",x->priv_key,m,off))
503 const BIGNUM *priv_key; local
520 priv_key = EC_KEY_get0_private_key(x);
521 if (priv_key != NULL)
523 if ((i = (size_t)BN_num_bytes(priv_key)) > buf_len)
534 if (priv_key !
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/dh/
H A Ddh_lib.c160 ret->priv_key = NULL;
223 if (r->priv_key != NULL)
224 BN_clear_free(r->priv_key);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/dh/
H A Ddh_lib.c160 ret->priv_key = NULL;
223 if (r->priv_key != NULL)
224 BN_clear_free(r->priv_key);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/ec/
H A Dec_ameth.c257 const BIGNUM *priv_key; local
275 priv_key = EC_KEY_get0_private_key(eckey);
276 if (!EC_POINT_mul(group, pub_key, priv_key, NULL, NULL, NULL)) {
422 const BIGNUM *priv_key; local
449 priv_key = EC_KEY_get0_private_key(x);
450 if (priv_key && (i = (size_t)BN_num_bytes(priv_key)) > buf_len)
453 priv_key = NULL;
478 if ((priv_key != NULL) && !ASN1_bn_print(bp, "priv:", priv_key,
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/ec/
H A Dec_ameth.c257 const BIGNUM *priv_key; local
275 priv_key = EC_KEY_get0_private_key(eckey);
276 if (!EC_POINT_mul(group, pub_key, priv_key, NULL, NULL, NULL)) {
422 const BIGNUM *priv_key; local
449 priv_key = EC_KEY_get0_private_key(x);
450 if (priv_key && (i = (size_t)BN_num_bytes(priv_key)) > buf_len)
453 priv_key = NULL;
478 if ((priv_key != NULL) && !ASN1_bn_print(bp, "priv:", priv_key,
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/evp/
H A Devp_pkey.c156 * SEQUENCE {parameters, priv_key}
157 * SEQUENCE {pub_key, priv_key}
196 if (!(dsa->priv_key = ASN1_INTEGER_to_BN(privkey, NULL))) {
211 dsa->priv_key, dsa->p, ctx)) {
289 const BIGNUM *priv_key; local
307 priv_key = EC_KEY_get0_private_key(eckey);
308 if (!EC_POINT_mul(group, pub_key, priv_key, NULL, NULL, ctx))
468 if (!(prkey = BN_to_ASN1_INTEGER (pkey->pkey.dsa->priv_key, NULL))) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/
H A Dcrypto.c110 dh->priv_key = BN_new( );
112 if( BN_rand( dh->priv_key, DH_PRIVKEY_LEN * 8, -1, 0 ) != 1 )
114 } while ( BN_num_bits( dh->priv_key ) < DH_PRIVKEY_LEN_MIN * 8 );
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/ecdsa/
H A Decs_ossl.c246 const BIGNUM *priv_key; local
250 priv_key = EC_KEY_get0_private_key(eckey);
252 if (group == NULL || priv_key == NULL || ecdsa == NULL) {
304 if (!BN_mod_mul(tmp, priv_key, ret->r, order, ctx)) {

Completed in 123 milliseconds

12345