Searched refs:tmpkey (Results 1 – 8 of 8) sorted by relevance
| /freebsd/crypto/krb5/src/lib/gssapi/krb5/ |
| H A D | util_seed.c | 36 krb5_keyblock *tmpkey, *kb; in kg_make_seed() local 39 code = krb5_k_key_keyblock(context, key, &tmpkey); in kg_make_seed() 45 for (i=0; i<tmpkey->length; i++) in kg_make_seed() 46 tmpkey->contents[i] = kb->contents[kb->length - 1 - i]; in kg_make_seed() 48 code = krb5_k_create_key(context, tmpkey, &rkey); in kg_make_seed() 55 krb5_free_keyblock(context, tmpkey); in kg_make_seed()
|
| /freebsd/sys/net80211/ |
| H A D | ieee80211_ioctl.c | 810 uint8_t tmpkey[IEEE80211_IOCTL_KEYBUF_SIZE]; in ieee80211_ioctl_get80211() local 858 sizeof(tmpkey)) in ieee80211_ioctl_get80211() 862 sizeof(tmpkey)); in ieee80211_ioctl_get80211() 863 bzero(tmpkey, sizeof(tmpkey)); in ieee80211_ioctl_get80211() 867 &vap->iv_nw_keys[kid], tmpkey, in ieee80211_ioctl_get80211() 874 error = copyout(tmpkey, ireq->i_data, len); in ieee80211_ioctl_get80211() 2875 uint8_t tmpkey[IEEE80211_IOCTL_KEYBUF_SIZE]; in ieee80211_ioctl_set80211() local 2924 if (ireq->i_len > sizeof(tmpkey)) in ieee80211_ioctl_set80211() 2926 memset(tmpkey, 0, sizeof(tmpkey)); in ieee80211_ioctl_set80211() 2927 error = copyin(ireq->i_data, tmpkey, ireq->i_len); in ieee80211_ioctl_set80211() [all …]
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | ntp_request.c | 2341 keyid_t tmpkey; in set_keyid_checked() 2353 tmpkey = ntohl(*pkeyid); in set_keyid_checked() 2356 if (tmpkey < 1 || tmpkey > NTP_MAXKEY || !auth_havekey(tmpkey)) { in set_keyid_checked() 2358 what, (long)tmpkey); 2364 *into = tmpkey; in set_request_keyid() 2332 keyid_t tmpkey; set_keyid_checked() local
|
| /freebsd/contrib/wpa/src/crypto/ |
| H A D | tls_openssl.c | 4531 EVP_PKEY *pkey = NULL, *tmpkey = NULL; 4548 &tmpkey, "PEM", NULL, NULL, 4562 if (!tmpkey) { 4568 if (EVP_PKEY_is_a(tmpkey, "DSA")) { 4569 pkey = openssl_dsa_to_dh(tmpkey); 4570 EVP_PKEY_free(tmpkey); 4577 if (EVP_PKEY_is_a(tmpkey, "DH") || 4578 EVP_PKEY_is_a(tmpkey, "DHX")) { 4583 EVP_PKEY_free(tmpkey); 4586 pkey = tmpkey; [all …]
|
| /freebsd/crypto/openssl/ssl/ |
| H A D | t1_lib.c | 2164 EVP_PKEY *tmpkey = EVP_PKEY_new(); in ssl_setup_sigalgs() local 2176 if (cache == NULL || tmpkey == NULL) in ssl_setup_sigalgs() 2205 if (!EVP_PKEY_set_type(tmpkey, lu->sig)) { in ssl_setup_sigalgs() 2209 pctx = EVP_PKEY_CTX_new_from_pkey(ctx->libctx, tmpkey, ctx->propq); in ssl_setup_sigalgs() 2277 EVP_PKEY_free(tmpkey); in ssl_setup_sigalgs() 2287 EVP_PKEY *tmpkey = EVP_PKEY_new(); in SSL_get1_builtin_sigalgs() local 2315 if (!EVP_PKEY_set_type(tmpkey, lu->sig)) { in SSL_get1_builtin_sigalgs() 2320 pctx = EVP_PKEY_CTX_new_from_pkey(libctx, tmpkey, NULL); in SSL_get1_builtin_sigalgs() 2352 EVP_PKEY_free(tmpkey); in SSL_get1_builtin_sigalgs()
|
| /freebsd/crypto/openssl/test/ |
| H A D | evp_test.c | 259 char *tmpkey, *tmpval; in ctrl2params() local 262 if (!TEST_ptr(tmpkey = OPENSSL_strdup(value))) { in ctrl2params() 266 tmpval = strchr(tmpkey, ':'); in ctrl2params() 273 tmpkey, tmpval, in ctrl2params() 275 OPENSSL_free(tmpkey); in ctrl2params() 280 OPENSSL_free(tmpkey); in ctrl2params()
|
| H A D | sslapitest.c | 11287 EVP_PKEY *tmpkey = NULL; in test_dh_auto() local 11375 if (!TEST_int_gt(SSL_get_tmp_key(serverssl, &tmpkey), 0)) in test_dh_auto() 11377 if (!TEST_size_t_eq(EVP_PKEY_get_bits(tmpkey), expdhsize)) in test_dh_auto() 11390 EVP_PKEY_free(tmpkey); in test_dh_auto()
|
| /freebsd/sys/net/ |
| H A D | if_ovpn.c | 1066 struct ovpn_kkey tmpkey; in ovpn_swap_keys() local 1090 tmpkey = peer->keys[0]; in ovpn_swap_keys() 1092 peer->keys[1] = tmpkey; in ovpn_swap_keys()
|