/external/openssl/crypto/x509/ |
H A D | x509_req.c | 70 X509_REQ *X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) argument 99 if (pkey != NULL) 101 if (!X509_REQ_sign(ret,pkey,md))
|
/external/openssl/ssl/ |
H A D | s2_clnt.c | 795 EVP_PKEY *pkey=NULL; local 806 i=s->ctx->client_cert_cb(s,&(x509),&(pkey)); 816 if ((i == 1) && (pkey != NULL) && (x509 != NULL)) 820 !SSL_use_PrivateKey(s,pkey)) 825 EVP_PKEY_free(pkey); 830 if (pkey != NULL) EVP_PKEY_free(pkey); 1028 EVP_PKEY *pkey=NULL; local 1070 pkey=X509_get_pubkey(x509); 1072 if (pkey 1096 EVP_PKEY *pkey=NULL; local [all...] |
H A D | s2_srvr.c | 1059 EVP_PKEY *pkey=NULL; local 1079 pkey=X509_get_pubkey(x509); 1080 if (pkey == NULL) goto end; 1081 i=EVP_VerifyFinal(&ctx,cp,s->s2->tmp.rlen,pkey); 1082 EVP_PKEY_free(pkey); 1128 rsa=c->pkeys[SSL_PKEY_RSA_ENC].privatekey->pkey.rsa;
|
H A D | s3_both.c | 566 int ssl_cert_type(X509 *x, EVP_PKEY *pkey) argument 571 if (pkey == NULL) 574 pk=pkey; 601 if(!pkey) EVP_PKEY_free(pk);
|
H A D | ssl_rsa.c | 68 static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey); 154 EVP_PKEY *pkey; local 167 if ((pkey=EVP_PKEY_new()) == NULL) 174 EVP_PKEY_assign_RSA(pkey,rsa); 176 ret=ssl_set_pkey(ssl->cert,pkey); 177 EVP_PKEY_free(pkey); 182 static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey) argument 186 i=ssl_cert_type(NULL,pkey); 197 EVP_PKEY_copy_parameters(pktmp,pkey); 204 if ((pkey 295 SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) argument 318 EVP_PKEY *pkey=NULL; local 365 EVP_PKEY *pkey; local 396 EVP_PKEY *pkey; local 524 EVP_PKEY *pkey; local 617 SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) argument 637 EVP_PKEY *pkey=NULL; local 685 EVP_PKEY *pkey; local [all...] |
/external/quake/quake/src/QW/qwfwd/ |
H A D | misc.c | 254 char pkey[512];
local 262 o = pkey;
281 if (!strcmp (key, pkey) )
293 char pkey[512];
local 308 o = pkey;
327 if (!strcmp (key, pkey) )
342 char pkey[512];
local 352 o = pkey;
371 if (pkey[0] == prefix) 373 Info_RemoveKey (start, pkey); [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
H A D | crypto_gnutls.c | 41 u8 pkey[8], next, tmp; local 48 pkey[i] = (tmp >> i) | next | 1; 51 pkey[i] = next | 1; 54 gcry_err_code(gcry_cipher_setkey(hd, pkey, 8));
|
H A D | des.c | 409 u8 pkey[8], next, tmp; local 417 pkey[i] = (tmp >> i) | next | 1; 420 pkey[i] = next | 1; 422 deskey(pkey, 0, ek); 430 os_memset(pkey, 0, sizeof(pkey));
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | crypto_gnutls.c | 36 u8 pkey[8], next, tmp; local 43 pkey[i] = (tmp >> i) | next | 1; 46 pkey[i] = next | 1; 49 gcry_err_code(gcry_cipher_setkey(hd, pkey, 8));
|
H A D | crypto_nss.c | 54 u8 pkey[8], next, tmp; local 61 pkey[i] = (tmp >> i) | next | 1; 64 pkey[i] = next | 1; 73 item.data = pkey;
|
H A D | des-internal.c | 401 u8 pkey[8], next, tmp; local 409 pkey[i] = (tmp >> i) | next | 1; 412 pkey[i] = next | 1; 414 deskey(pkey, 0, ek); 422 os_memset(pkey, 0, sizeof(pkey));
|
/external/wpa_supplicant_8/hostapd/src/tls/ |
H A D | tlsv1_cred.c | 229 struct crypto_private_key *pkey; local 257 pkey = crypto_private_key_import(der, der_len, NULL); 259 return pkey; 270 struct crypto_private_key *pkey; local 285 pkey = crypto_private_key_import(der, der_len, passwd); 287 return pkey;
|
/external/wpa_supplicant_8/src/crypto/ |
H A D | crypto_gnutls.c | 36 u8 pkey[8], next, tmp; local 43 pkey[i] = (tmp >> i) | next | 1; 46 pkey[i] = next | 1; 49 gcry_err_code(gcry_cipher_setkey(hd, pkey, 8));
|
H A D | crypto_nss.c | 54 u8 pkey[8], next, tmp; local 61 pkey[i] = (tmp >> i) | next | 1; 64 pkey[i] = next | 1; 73 item.data = pkey;
|
H A D | des-internal.c | 401 u8 pkey[8], next, tmp; local 409 pkey[i] = (tmp >> i) | next | 1; 412 pkey[i] = next | 1; 414 deskey(pkey, 0, ek); 422 os_memset(pkey, 0, sizeof(pkey));
|
/external/wpa_supplicant_8/src/tls/ |
H A D | tlsv1_cred.c | 229 struct crypto_private_key *pkey; local 257 pkey = crypto_private_key_import(der, der_len, NULL); 259 return pkey; 270 struct crypto_private_key *pkey; local 285 pkey = crypto_private_key_import(der, der_len, passwd); 287 return pkey;
|
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | crypto_gnutls.c | 36 u8 pkey[8], next, tmp; local 43 pkey[i] = (tmp >> i) | next | 1; 46 pkey[i] = next | 1; 49 gcry_err_code(gcry_cipher_setkey(hd, pkey, 8));
|
H A D | crypto_nss.c | 54 u8 pkey[8], next, tmp; local 61 pkey[i] = (tmp >> i) | next | 1; 64 pkey[i] = next | 1; 73 item.data = pkey;
|
H A D | des-internal.c | 401 u8 pkey[8], next, tmp; local 409 pkey[i] = (tmp >> i) | next | 1; 412 pkey[i] = next | 1; 414 deskey(pkey, 0, ek); 422 os_memset(pkey, 0, sizeof(pkey));
|
/external/wpa_supplicant_8/wpa_supplicant/src/tls/ |
H A D | tlsv1_cred.c | 229 struct crypto_private_key *pkey; local 257 pkey = crypto_private_key_import(der, der_len, NULL); 259 return pkey; 270 struct crypto_private_key *pkey; local 285 pkey = crypto_private_key_import(der, der_len, passwd); 287 return pkey;
|
/external/chromium/net/socket/ |
H A D | ssl_client_socket_openssl.cc | 348 static int ClientCertCallback(SSL* ssl, X509** x509, EVP_PKEY** pkey) { argument 351 return socket->ClientCertRequestCallback(ssl, x509, pkey); 536 EVP_PKEY** pkey) { 540 DCHECK(*pkey == NULL); 558 *pkey = privkey;
|
/external/openssl/crypto/dsa/ |
H A D | dsa_ameth.c | 69 static int dsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) argument 126 EVP_PKEY_assign_DSA(pkey, dsa); 138 static int dsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) argument 146 dsa=pkey->pkey.dsa; 147 if (pkey->save_parameters && dsa->p && dsa->q && dsa->g) 190 static int dsa_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) argument 283 EVP_PKEY_assign_DSA(pkey, dsa); 303 static int dsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) argument 318 params->length = i2d_DSAparams(pkey 355 int_dsa_size(const EVP_PKEY *pkey) argument 360 dsa_bits(const EVP_PKEY *pkey) argument 365 dsa_missing_parameters(const EVP_PKEY *pkey) argument 416 int_dsa_free(EVP_PKEY *pkey) argument 490 dsa_param_decode(EVP_PKEY *pkey, const unsigned char **pder, int derlen) argument 503 dsa_param_encode(const EVP_PKEY *pkey, unsigned char **pder) argument 508 dsa_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, ASN1_PCTX *ctx) argument 514 dsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, ASN1_PCTX *ctx) argument 521 dsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, ASN1_PCTX *ctx) argument 527 old_dsa_priv_decode(EVP_PKEY *pkey, const unsigned char **pder, int derlen) argument 540 old_dsa_priv_encode(const EVP_PKEY *pkey, unsigned char **pder) argument 591 dsa_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2) argument [all...] |
/external/openssl/crypto/ec/ |
H A D | ec_ameth.c | 103 static int eckey_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) argument 105 EC_KEY *ec_key = pkey->pkey.ec; 190 static int eckey_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) argument 217 EVP_PKEY_assign_EC_KEY(pkey, eckey); 229 const EC_GROUP *group = EC_KEY_get0_group(b->pkey.ec); 230 const EC_POINT *pa = EC_KEY_get0_public_key(a->pkey.ec), 231 *pb = EC_KEY_get0_public_key(b->pkey.ec); 240 static int eckey_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) argument 301 EVP_PKEY_assign_EC_KEY(pkey, ecke 312 eckey_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) argument 366 int_ec_size(const EVP_PKEY *pkey) argument 371 ec_bits(const EVP_PKEY *pkey) argument 394 ec_missing_parameters(const EVP_PKEY *pkey) argument 422 int_ec_free(EVP_PKEY *pkey) argument 522 eckey_param_decode(EVP_PKEY *pkey, const unsigned char **pder, int derlen) argument 535 eckey_param_encode(const EVP_PKEY *pkey, unsigned char **pder) argument 540 eckey_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, ASN1_PCTX *ctx) argument 546 eckey_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, ASN1_PCTX *ctx) argument 553 eckey_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, ASN1_PCTX *ctx) argument 559 old_ec_priv_decode(EVP_PKEY *pkey, const unsigned char **pder, int derlen) argument 572 old_ec_priv_encode(const EVP_PKEY *pkey, unsigned char **pder) argument 577 ec_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2) argument [all...] |
/external/openssl/crypto/evp/ |
H A D | evp_locl.h | 273 EVP_PKEY *pkey; member in struct:evp_pkey_ctx_st 301 int (*paramgen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey); 304 int (*keygen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey);
|
H A D | pmeth_lib.c | 127 static EVP_PKEY_CTX *int_ctx_new(EVP_PKEY *pkey, ENGINE *e, int id) argument 133 if (!pkey || !pkey->ameth) 135 id = pkey->ameth->pkey_id; 138 if (pkey && pkey->engine) 139 e = pkey->engine; 181 ret->pkey = pkey; 184 if (pkey) 297 EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e) argument 499 EVP_PKEY_meth_set_paramgen(EVP_PKEY_METHOD *pmeth, int (*paramgen_init)(EVP_PKEY_CTX *ctx), int (*paramgen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)) argument 507 EVP_PKEY_meth_set_keygen(EVP_PKEY_METHOD *pmeth, int (*keygen_init)(EVP_PKEY_CTX *ctx), int (*keygen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)) argument [all...] |