| /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 | 781 uint8_t tmpkey[IEEE80211_KEYBUF_SIZE]; in ieee80211_ioctl_get80211() local 825 bcopy(vap->iv_nw_keys[kid].wk_key, tmpkey, len); in ieee80211_ioctl_get80211() 827 bzero(tmpkey, len); in ieee80211_ioctl_get80211() 830 error = copyout(tmpkey, ireq->i_data, len); in ieee80211_ioctl_get80211() 2773 uint8_t tmpkey[IEEE80211_KEYBUF_SIZE]; in ieee80211_ioctl_set80211() local 2822 if (ireq->i_len > sizeof(tmpkey)) in ieee80211_ioctl_set80211() 2824 memset(tmpkey, 0, sizeof(tmpkey)); in ieee80211_ioctl_set80211() 2825 error = copyin(ireq->i_data, tmpkey, ireq->i_len); in ieee80211_ioctl_set80211() 2833 memcpy(k->wk_key, tmpkey, sizeof(tmpkey)); in ieee80211_ioctl_set80211()
|
| /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 | 4168 EVP_PKEY *pkey = NULL, *tmpkey = NULL; in tls_global_dh() 4185 &tmpkey, "PEM", NULL, NULL, in tls_global_dh() 4199 if (!tmpkey) { in tls_global_dh() 4205 if (EVP_PKEY_is_a(tmpkey, "DSA")) { in tls_global_dh() 4206 pkey = openssl_dsa_to_dh(tmpkey); in tls_global_dh() 4207 EVP_PKEY_free(tmpkey); in tls_global_dh() 4214 if (EVP_PKEY_is_a(tmpkey, "DH") || in tls_global_dh() 4215 EVP_PKEY_is_a(tmpkey, "DHX")) { in tls_global_dh() 4220 EVP_PKEY_free(tmpkey); in tls_global_dh() 4223 pkey = tmpkey; in tls_global_dh() [all …]
|
| /freebsd/crypto/openssl/ssl/ |
| H A D | t1_lib.c | 2175 EVP_PKEY *tmpkey = EVP_PKEY_new(); in ssl_setup_sigalgs() local 2187 if (cache == NULL || tmpkey == NULL) in ssl_setup_sigalgs() 2216 if (!EVP_PKEY_set_type(tmpkey, lu->sig)) { in ssl_setup_sigalgs() 2220 pctx = EVP_PKEY_CTX_new_from_pkey(ctx->libctx, tmpkey, ctx->propq); in ssl_setup_sigalgs() 2288 EVP_PKEY_free(tmpkey); in ssl_setup_sigalgs() 2298 EVP_PKEY *tmpkey = EVP_PKEY_new(); in SSL_get1_builtin_sigalgs() local 2326 if (!EVP_PKEY_set_type(tmpkey, lu->sig)) { in SSL_get1_builtin_sigalgs() 2331 pctx = EVP_PKEY_CTX_new_from_pkey(libctx, tmpkey, NULL); in SSL_get1_builtin_sigalgs() 2363 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 | 10848 EVP_PKEY *tmpkey = NULL; in test_dh_auto() local 10936 if (!TEST_int_gt(SSL_get_tmp_key(serverssl, &tmpkey), 0)) in test_dh_auto() 10938 if (!TEST_size_t_eq(EVP_PKEY_get_bits(tmpkey), expdhsize)) in test_dh_auto() 10951 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()
|