Searched defs:pkey (Results 1 - 25 of 181) sorted by last modified time

12345678

/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dcrypto_gnutls.c36 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 Dcrypto_libtomcrypt.c40 u8 pkey[8], next, tmp; local
48 pkey[i] = (tmp >> i) | next | 1;
51 pkey[i] = next | 1;
53 des_setup(pkey, 8, 0, &skey);
H A Dcrypto_nss.c54 u8 pkey[8], next, tmp; local
61 pkey[i] = (tmp >> i) | next | 1;
64 pkey[i] = next | 1;
73 item.data = pkey;
H A Dcrypto_openssl.c120 u8 pkey[8], next, tmp; local
128 pkey[i] = (tmp >> i) | next | 1;
131 pkey[i] = next | 1;
133 DES_set_key((DES_cblock *) &pkey, &ks);
H A Ddes-internal.c401 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));
H A Dtls_openssl.c450 pub_rsa = cert->cert_info->key->pkey->pkey.rsa;
1944 EVP_PKEY *pkey; local
1950 pkey = NULL;
1953 if (!PKCS12_parse(p12, passwd, &pkey, &cert, &certs)) {
1976 if (pkey) {
1979 if (SSL_use_PrivateKey(ssl, pkey) != 1)
1982 if (SSL_CTX_use_PrivateKey(ssl_ctx, pkey) != 1)
1985 EVP_PKEY_free(pkey);
/external/wpa_supplicant_8/hostapd/src/pae/
H A Dieee802_1x_kay.c427 psa->pkey = key;
450 psa->pkey = NULL;
1117 if (is_ki_equal(&rxsa->pkey->key_identifier, ki)) {
1358 if (sa_key != NULL && txsa->pkey == sa_key) {
1473 struct data_key *pkey; local
1478 pkey = os_zalloc(sizeof(*pkey));
1479 if (pkey == NULL) {
1484 pkey->key = os_zalloc(conf->key_len);
1485 if (pkey
1921 ieee802_1x_kay_deinit_data_key(struct data_key *pkey) argument
[all...]
H A Dieee802_1x_kay_i.h114 struct data_key *pkey; member in struct:transmit_sa
143 struct data_key *pkey; member in struct:receive_sa
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dtlsv1_cred.c229 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/hs20/client/
H A Dest.c333 EVP_PKEY *pkey = NULL; local
356 if (EVP_PKEY_keygen(pctx, &pkey) <= 0)
361 rsa = EVP_PKEY_get1_RSA(pkey);
417 if (!X509_REQ_set_pubkey(req, pkey))
449 if (!X509_REQ_sign(req, pkey, EVP_sha256()))
533 if (pkey)
534 EVP_PKEY_free(pkey);
/external/wpa_supplicant_8/src/crypto/
H A Dcrypto_gnutls.c36 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 Dcrypto_libtomcrypt.c40 u8 pkey[8], next, tmp; local
48 pkey[i] = (tmp >> i) | next | 1;
51 pkey[i] = next | 1;
53 des_setup(pkey, 8, 0, &skey);
H A Dcrypto_nss.c54 u8 pkey[8], next, tmp; local
61 pkey[i] = (tmp >> i) | next | 1;
64 pkey[i] = next | 1;
73 item.data = pkey;
H A Dcrypto_openssl.c120 u8 pkey[8], next, tmp; local
128 pkey[i] = (tmp >> i) | next | 1;
131 pkey[i] = next | 1;
133 DES_set_key((DES_cblock *) &pkey, &ks);
H A Ddes-internal.c401 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));
H A Dtls_openssl.c450 pub_rsa = cert->cert_info->key->pkey->pkey.rsa;
1944 EVP_PKEY *pkey; local
1950 pkey = NULL;
1953 if (!PKCS12_parse(p12, passwd, &pkey, &cert, &certs)) {
1976 if (pkey) {
1979 if (SSL_use_PrivateKey(ssl, pkey) != 1)
1982 if (SSL_CTX_use_PrivateKey(ssl_ctx, pkey) != 1)
1985 EVP_PKEY_free(pkey);
/external/wpa_supplicant_8/src/pae/
H A Dieee802_1x_kay.c427 psa->pkey = key;
450 psa->pkey = NULL;
1117 if (is_ki_equal(&rxsa->pkey->key_identifier, ki)) {
1358 if (sa_key != NULL && txsa->pkey == sa_key) {
1473 struct data_key *pkey; local
1478 pkey = os_zalloc(sizeof(*pkey));
1479 if (pkey == NULL) {
1484 pkey->key = os_zalloc(conf->key_len);
1485 if (pkey
1921 ieee802_1x_kay_deinit_data_key(struct data_key *pkey) argument
[all...]
H A Dieee802_1x_kay_i.h114 struct data_key *pkey; member in struct:transmit_sa
143 struct data_key *pkey; member in struct:receive_sa
/external/wpa_supplicant_8/src/tls/
H A Dtlsv1_cred.c229 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 Dcrypto_gnutls.c36 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 Dcrypto_libtomcrypt.c40 u8 pkey[8], next, tmp; local
48 pkey[i] = (tmp >> i) | next | 1;
51 pkey[i] = next | 1;
53 des_setup(pkey, 8, 0, &skey);
H A Dcrypto_nss.c54 u8 pkey[8], next, tmp; local
61 pkey[i] = (tmp >> i) | next | 1;
64 pkey[i] = next | 1;
73 item.data = pkey;
H A Dcrypto_openssl.c120 u8 pkey[8], next, tmp; local
128 pkey[i] = (tmp >> i) | next | 1;
131 pkey[i] = next | 1;
133 DES_set_key((DES_cblock *) &pkey, &ks);
H A Ddes-internal.c401 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));
H A Dtls_openssl.c450 pub_rsa = cert->cert_info->key->pkey->pkey.rsa;
1944 EVP_PKEY *pkey; local
1950 pkey = NULL;
1953 if (!PKCS12_parse(p12, passwd, &pkey, &cert, &certs)) {
1976 if (pkey) {
1979 if (SSL_use_PrivateKey(ssl, pkey) != 1)
1982 if (SSL_CTX_use_PrivateKey(ssl_ctx, pkey) != 1)
1985 EVP_PKEY_free(pkey);

Completed in 2403 milliseconds

12345678