Searched refs:pub_key (Results 1 - 25 of 144) sorted by relevance

123456

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/dsa/
H A Ddsa_key.c80 BIGNUM *pub_key=NULL,*priv_key=NULL; local
95 if (dsa->pub_key == NULL)
97 if ((pub_key=BN_new()) == NULL) goto err;
100 pub_key=dsa->pub_key;
115 if (!BN_mod_exp(pub_key,dsa->g,prk,dsa->p,ctx)) goto err;
119 dsa->pub_key=pub_key;
123 if ((pub_key != NULL) && (dsa->pub_key
[all...]
H A Ddsa_asn1.c108 ASN1_SIMPLE(DSA, pub_key, BIGNUM),
129 ASN1_SIMPLE(DSA, pub_key, BIGNUM),
136 ASN1_SIMPLE(DSA, pub_key, BIGNUM),
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/dsa/
H A Ddsa_key.c95 BIGNUM *pub_key = NULL, *priv_key = NULL; local
111 if (dsa->pub_key == NULL) {
112 if ((pub_key = BN_new()) == NULL)
115 pub_key = dsa->pub_key;
128 if (!BN_mod_exp(pub_key, dsa->g, prk, dsa->p, ctx))
133 dsa->pub_key = pub_key;
137 if ((pub_key != NULL) && (dsa->pub_key
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/dsa/
H A Ddsa_key.c95 BIGNUM *pub_key = NULL, *priv_key = NULL; local
111 if (dsa->pub_key == NULL) {
112 if ((pub_key = BN_new()) == NULL)
115 pub_key = dsa->pub_key;
128 if (!BN_mod_exp(pub_key, dsa->g, prk, dsa->p, ctx))
133 dsa->pub_key = pub_key;
137 if ((pub_key != NULL) && (dsa->pub_key
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/ecdh/
H A Dech_key.c72 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, argument
80 return ecdh->meth->compute_key(out, outlen, pub_key, eckey, KDF);
H A Dech_locl.h67 int (*compute_key) (void *key, size_t outlen, const EC_POINT *pub_key,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/ecdh/
H A Dech_key.c72 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, argument
80 return ecdh->meth->compute_key(out, outlen, pub_key, eckey, KDF);
H A Dech_locl.h67 int (*compute_key) (void *key, size_t outlen, const EC_POINT *pub_key,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/ecdh/
H A Dech_key.c75 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, argument
82 return ecdh->meth->compute_key(out, outlen, pub_key, eckey, KDF);
H A Dech_locl.h68 int (*compute_key)(void *key, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
H A Dech_ossl.c82 static int ecdh_compute_key(void *out, size_t len, const EC_POINT *pub_key,
108 static int ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, argument
146 if (!EC_POINT_mul(group, tmp, NULL, pub_key, priv_key, ctx))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/dh/
H A Ddh_key.c66 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
85 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument
94 return dh->meth->compute_key(key, pub_key, dh);
97 int DH_compute_key_padded(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument
100 rv = dh->meth->compute_key(key, pub_key, dh);
135 BIGNUM *pub_key = NULL, *priv_key = NULL; local
149 if (dh->pub_key == NULL) {
150 pub_key = BN_new();
151 if (pub_key == NULL)
154 pub_key
208 compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/dh/
H A Ddh_key.c66 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
85 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument
94 return dh->meth->compute_key(key, pub_key, dh);
97 int DH_compute_key_padded(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument
100 rv = dh->meth->compute_key(key, pub_key, dh);
135 BIGNUM *pub_key = NULL, *priv_key = NULL; local
149 if (dh->pub_key == NULL) {
150 pub_key = BN_new();
151 if (pub_key == NULL)
154 pub_key
208 compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/ec/
H A Dec_key.c84 ret->pub_key = NULL;
128 if (r->pub_key != NULL)
129 EC_POINT_free(r->pub_key);
161 if (src->pub_key && src->group) {
162 if (dest->pub_key)
163 EC_POINT_free(dest->pub_key);
164 dest->pub_key = EC_POINT_new(src->group);
165 if (dest->pub_key == NULL)
167 if (!EC_POINT_copy(dest->pub_key, src->pub_key))
235 EC_POINT *pub_key = NULL; local
474 EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub_key) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/ec/
H A Dec_key.c84 ret->pub_key = NULL;
128 if (r->pub_key != NULL)
129 EC_POINT_free(r->pub_key);
161 if (src->pub_key && src->group) {
162 if (dest->pub_key)
163 EC_POINT_free(dest->pub_key);
164 dest->pub_key = EC_POINT_new(src->group);
165 if (dest->pub_key == NULL)
167 if (!EC_POINT_copy(dest->pub_key, src->pub_key))
235 EC_POINT *pub_key = NULL; local
474 EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub_key) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/
H A Drtmpdh.h43 FFBigNum pub_key; member in struct:FF_DH
83 * @param pub_key the buffer where the public key is written
87 int ff_dh_write_public_key(FF_DH *dh, uint8_t *pub_key, int pub_key_len);
94 * @param pub_key the buffer containing the public key
99 int ff_dh_compute_shared_secret_key(FF_DH *dh, const uint8_t *pub_key,
H A Drtmpdh.c123 bn_new(dh->pub_key);
124 if (!dh->pub_key) {
129 bn_modexp(dh->pub_key, dh->g, dh->priv_key, dh->p);
131 return dh->pub_key;
160 bn_free(dh->pub_key);
278 ret = dh_is_valid_public_key(dh->pub_key, dh->p, q1);
290 int ff_dh_write_public_key(FF_DH *dh, uint8_t *pub_key, int pub_key_len) argument
295 len = bn_num_bytes(dh->pub_key);
300 memset(pub_key, 0, pub_key_len);
301 bn_bn2bin(dh->pub_key, pub_ke
306 ff_dh_compute_shared_secret_key(FF_DH *dh, const uint8_t *pub_key, int pub_key_len, uint8_t *secret_key) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/ec/
H A Dec_key.c82 ret->pub_key = NULL;
126 if (r->pub_key != NULL)
127 EC_POINT_free(r->pub_key);
161 if (src->pub_key && src->group)
163 if (dest->pub_key)
164 EC_POINT_free(dest->pub_key);
165 dest->pub_key = EC_POINT_new(src->group);
166 if (dest->pub_key == NULL)
168 if (!EC_POINT_copy(dest->pub_key, src->pub_key))
238 EC_POINT *pub_key = NULL; local
407 EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub_key) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/dh/
H A Ddh_key.c66 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
79 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument
81 return dh->meth->compute_key(key, pub_key, dh);
108 BIGNUM *pub_key=NULL,*priv_key=NULL; local
122 if (dh->pub_key == NULL)
124 pub_key=BN_new();
125 if (pub_key == NULL) goto err;
128 pub_key=dh->pub_key;
158 if (!dh->meth->bn_mod_exp(dh, pub_key, d
174 compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument
[all...]
H A Ddh_check.c122 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret) argument
131 if (BN_cmp(pub_key,q) <= 0)
135 if (BN_cmp(pub_key,q) >= 0)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libgcrypt-1.5.0/tests/
H A Dpubkey.c230 gcry_sexp_t pub_key, sec_key; local
243 rc = gcry_sexp_sscan (&pub_key, NULL, sample_public_key_1,
250 *pkey = pub_key;
257 gcry_sexp_t key_spec, key, pub_key, sec_key; local
272 pub_key = gcry_sexp_find_token (key, "public-key", 0);
273 if (! pub_key)
281 *pkey = pub_key;
289 gcry_sexp_t key_spec, key, pub_key, sec_key; local
304 pub_key = gcry_sexp_find_token (key, "public-key", 0);
305 if (!pub_key)
321 gcry_sexp_t key_spec, key, pub_key, sec_key; local
358 gcry_sexp_t key_spec, key, pub_key, sec_key; local
393 gcry_sexp_t key_spec, key, pub_key, sec_key; local
425 gcry_sexp_t key_spec, key, pub_key, sec_key; local
467 gcry_sexp_t key_spec, key, pub_key, sec_key; local
510 gcry_sexp_t key_spec, key, pub_key, sec_key; local
810 gcry_sexp_t key_spec, key, pub_key, sec_key; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libgcrypt-1.5.0/tests/
H A Dpubkey.c230 gcry_sexp_t pub_key, sec_key; local
243 rc = gcry_sexp_sscan (&pub_key, NULL, sample_public_key_1,
250 *pkey = pub_key;
257 gcry_sexp_t key_spec, key, pub_key, sec_key; local
272 pub_key = gcry_sexp_find_token (key, "public-key", 0);
273 if (! pub_key)
281 *pkey = pub_key;
289 gcry_sexp_t key_spec, key, pub_key, sec_key; local
304 pub_key = gcry_sexp_find_token (key, "public-key", 0);
305 if (!pub_key)
321 gcry_sexp_t key_spec, key, pub_key, sec_key; local
358 gcry_sexp_t key_spec, key, pub_key, sec_key; local
393 gcry_sexp_t key_spec, key, pub_key, sec_key; local
425 gcry_sexp_t key_spec, key, pub_key, sec_key; local
467 gcry_sexp_t key_spec, key, pub_key, sec_key; local
510 gcry_sexp_t key_spec, key, pub_key, sec_key; local
810 gcry_sexp_t key_spec, key, pub_key, sec_key; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/include/openssl/
H A Ddh.h102 int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh);
124 BIGNUM *pub_key; /* g^x */ member in struct:dh_st
194 int DH_check_pub_key(const DH *dh,const BIGNUM *pub_key, int *codes);
196 int DH_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh);
H A Decdh.h94 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/test/
H A Ddhtest.c156 BN_print(out,a->pub_key);
163 BN_print(out,b->pub_key);
168 aout=DH_compute_key(abuf,b->pub_key,a);
180 bout=DH_compute_key(bbuf,a->pub_key,b);

Completed in 227 milliseconds

123456