HomeSort by relevance Sort by last modified time
    Searched refs:pub_key (Results 1 - 25 of 86) sorted by null

1 2 3 4

  /external/chromium_org/third_party/openssl/openssl/crypto/dsa/
dsa_key.c 96 BIGNUM *pub_key=NULL,*priv_key=NULL; local
111 if (dsa->pub_key == NULL)
113 if ((pub_key=BN_new()) == NULL) goto err;
116 pub_key=dsa->pub_key;
131 if (!BN_mod_exp(pub_key,dsa->g,prk,dsa->p,ctx)) goto err;
135 dsa->pub_key=pub_key;
139 if ((pub_key != NULL) && (dsa->pub_key == NULL)) BN_free(pub_key)
    [all...]
  /external/openssl/crypto/dsa/
dsa_key.c 96 BIGNUM *pub_key=NULL,*priv_key=NULL; local
111 if (dsa->pub_key == NULL)
113 if ((pub_key=BN_new()) == NULL) goto err;
116 pub_key=dsa->pub_key;
131 if (!BN_mod_exp(pub_key,dsa->g,prk,dsa->p,ctx)) goto err;
135 dsa->pub_key=pub_key;
139 if ((pub_key != NULL) && (dsa->pub_key == NULL)) BN_free(pub_key)
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/ecdh/
ech_key.c 72 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
79 return ecdh->meth->compute_key(out, outlen, pub_key, eckey, KDF);
ech_locl.h 68 int (*compute_key)(void *key, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
ech_ossl.c 82 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,
146 if (!EC_POINT_mul(group, tmp, NULL, pub_key, priv_key, ctx))
  /external/openssl/crypto/ecdh/
ech_key.c 72 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
79 return ecdh->meth->compute_key(out, outlen, pub_key, eckey, KDF);
ech_locl.h 68 int (*compute_key)(void *key, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
ech_ossl.c 82 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,
146 if (!EC_POINT_mul(group, tmp, NULL, pub_key, priv_key, ctx))
  /external/chromium_org/net/ssl/
openssl_client_key_store.cc 52 OpenSSLClientKeyStore::KeyPair::KeyPair(EVP_PKEY* pub_key,
54 public_key = CopyEVP_PKEY(pub_key);
87 void OpenSSLClientKeyStore::AddKeyPair(EVP_PKEY* pub_key,
89 int index = FindKeyPairIndex(pub_key);
91 pairs_.push_back(KeyPair(pub_key, private_key));
104 ScopedEVP_PKEY pub_key(GetOpenSSLPublicKey(client_cert));
105 if (!pub_key.get())
108 AddKeyPair(pub_key.get(), private_key);
118 ScopedEVP_PKEY pub_key(GetOpenSSLPublicKey(client_cert));
119 if (!pub_key.get()
    [all...]
openssl_client_key_store.h 74 // |pub_key| and |private_key| can point to the same object.
77 void AddKeyPair(EVP_PKEY* pub_key, EVP_PKEY* private_key);
84 explicit KeyPair(EVP_PKEY* pub_key, EVP_PKEY* priv_key);
  /external/chromium_org/third_party/openssl/openssl/crypto/ec/
ec_key.c 85 ret->pub_key = NULL;
129 if (r->pub_key != NULL)
130 EC_POINT_free(r->pub_key);
164 if (src->pub_key && src->group)
166 if (dest->pub_key)
167 EC_POINT_free(dest->pub_key);
168 dest->pub_key = EC_POINT_new(src->group);
169 if (dest->pub_key == NULL)
171 if (!EC_POINT_copy(dest->pub_key, src->pub_key))
242 EC_POINT *pub_key = NULL; local
    [all...]
ec_ameth.c 269 EC_POINT *pub_key; local
273 pub_key = EC_POINT_new(group);
274 if (pub_key == NULL)
279 if (!EC_POINT_copy(pub_key, EC_GROUP_get0_generator(group)))
281 EC_POINT_free(pub_key);
286 if (!EC_POINT_mul(group, pub_key, priv_key, NULL, NULL, NULL))
288 EC_POINT_free(pub_key);
292 if (EC_KEY_set_public_key(eckey, pub_key) == 0)
294 EC_POINT_free(pub_key);
298 EC_POINT_free(pub_key);
433 BIGNUM *pub_key=NULL, *order=NULL; local
    [all...]
  /external/openssl/crypto/ec/
ec_key.c 85 ret->pub_key = NULL;
130 if (r->pub_key != NULL)
131 EC_POINT_free(r->pub_key);
165 if (src->pub_key && src->group)
167 if (dest->pub_key)
168 EC_POINT_free(dest->pub_key);
169 dest->pub_key = EC_POINT_new(src->group);
170 if (dest->pub_key == NULL)
172 if (!EC_POINT_copy(dest->pub_key, src->pub_key))
244 EC_POINT *pub_key = NULL; local
    [all...]
ec_ameth.c 269 EC_POINT *pub_key; local
273 pub_key = EC_POINT_new(group);
274 if (pub_key == NULL)
279 if (!EC_POINT_copy(pub_key, EC_GROUP_get0_generator(group)))
281 EC_POINT_free(pub_key);
286 if (!EC_POINT_mul(group, pub_key, priv_key, NULL, NULL, NULL))
288 EC_POINT_free(pub_key);
292 if (EC_KEY_set_public_key(eckey, pub_key) == 0)
294 EC_POINT_free(pub_key);
298 EC_POINT_free(pub_key);
434 BIGNUM *pub_key=NULL, *order=NULL; local
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/dh/
dh_key.c 66 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
87 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
97 return dh->meth->compute_key(key, pub_key, dh);
124 BIGNUM *pub_key=NULL,*priv_key=NULL; local
138 if (dh->pub_key == NULL)
140 pub_key=BN_new();
141 if (pub_key == NULL) goto err;
144 pub_key=dh->pub_key;
187 if (!dh->meth->bn_mod_exp(dh, pub_key, dh->g, prk, dh->p, ctx, mont)) goto err
    [all...]
dh_check.c 122 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret)
131 if (BN_cmp(pub_key,q)<=0)
135 if (BN_cmp(pub_key,q)>=0)
dh_ameth.c 110 if (!(dh->pub_key = ASN1_INTEGER_to_BN(public_key, NULL)))
137 ASN1_INTEGER *pub_key = NULL; local
151 pub_key = BN_to_ASN1_INTEGER(dh->pub_key, NULL);
152 if (!pub_key)
155 penclen = i2d_ASN1_INTEGER(pub_key, &penc);
157 ASN1_INTEGER_free(pub_key);
325 BIGNUM *priv_key, *pub_key; local
333 pub_key = x->pub_key;
    [all...]
dh.h 117 int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh);
139 BIGNUM *pub_key; /* g^x */ member in struct:dh_st
210 int DH_check_pub_key(const DH *dh,const BIGNUM *pub_key, int *codes);
212 int DH_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh);
dhtest.c 156 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);
  /external/openssl/crypto/dh/
dh_key.c 66 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
87 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
97 return dh->meth->compute_key(key, pub_key, dh);
124 BIGNUM *pub_key=NULL,*priv_key=NULL; local
138 if (dh->pub_key == NULL)
140 pub_key=BN_new();
141 if (pub_key == NULL) goto err;
144 pub_key=dh->pub_key;
187 if (!dh->meth->bn_mod_exp(dh, pub_key, dh->g, prk, dh->p, ctx, mont)) goto err
    [all...]
dh_check.c 122 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret)
131 if (BN_cmp(pub_key,q)<=0)
135 if (BN_cmp(pub_key,q)>=0)
dh_ameth.c 110 if (!(dh->pub_key = ASN1_INTEGER_to_BN(public_key, NULL)))
137 ASN1_INTEGER *pub_key = NULL; local
151 pub_key = BN_to_ASN1_INTEGER(dh->pub_key, NULL);
152 if (!pub_key)
155 penclen = i2d_ASN1_INTEGER(pub_key, &penc);
157 ASN1_INTEGER_free(pub_key);
325 BIGNUM *priv_key, *pub_key; local
333 pub_key = x->pub_key;
    [all...]
  /external/chromium_org/net/base/
openssl_private_key_store.h 38 // |pub_key| a public key.
43 static bool HasPrivateKey(EVP_PKEY* pub_key);
openssl_private_key_store_memory.cc 69 bool OpenSSLPrivateKeyStore::HasPrivateKey(EVP_PKEY* pub_key) {
70 return MemoryKeyPairStore::GetInstance()->HasPrivateKey(pub_key);
  /external/chromium_org/tools/crx_id/
crx_id.py 75 pub_key = f.read(pub_key_len_bytes)
76 return pub_key
118 pub_key = ''
122 pub_key = GetPublicKeyUnpacked(f, filename)
127 pub_key = GetPublicKeyPacked(f)
129 return pub_key
132 pub_key = GetPublicKey(filename, from_file_path, is_win_path=is_win_path)
133 pub_key_hash = hashlib.sha256(pub_key).digest()
137 pub_key = GetPublicKey(filename, from_file_path, is_win_path=is_win_path)
138 pub_key_hash = hashlib.sha256(pub_key).digest(
    [all...]

Completed in 299 milliseconds

1 2 3 4