Home
last modified time | relevance | path

Searched refs:ekey (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/tools/regression/ipsec/
H A Dipsec6.t52 ekey=${ecipher##*:}
68 …(echo "add -6 1::1 2::1 esp $spi -m transport -E $ealgo \"${ekey}\" -A $aalgo \"${akey}…
69 …echo "add -6 2::1 1::1 esp `expr $spi + 1` -m transport -E $ealgo \"${ekey}\" -A $aalgo \"${akey}\…
77 echo "ok $i - setkey ${ealgo} ${ekey} ${aalgo} ${akey}"
79 echo "not ok $i - setkey ${ealgo} ${ekey} ${aalgo} ${akey}"
85 echo "ok $i - test 1 ${ealgo} ${ekey} ${aalgo} ${akey}"
87 echo "not ok $i - test 1 ${ealgo} ${ekey} ${aalgo} ${akey}"
92 echo "ok $i - test 2 ${ealgo} ${ekey} ${aalgo} ${akey}"
94 echo "not ok $i - test 2 ${ealgo} ${ekey} ${aalgo} ${akey}"
H A Dipsec.t52 ekey=${ecipher##*:}
68 …(echo "add ${ipbase}.0.1 ${ipbase}.1.1 esp $spi -m transport -E $ealgo \"${ekey}\" -A $…
69 …echo "add ${ipbase}.1.1 ${ipbase}.0.1 esp `expr $spi + 1` -m transport -E $ealgo \"${ekey}\" -A $a…
77 echo "ok $i - setkey ${ealgo} ${ekey} ${aalgo} ${akey}"
79 echo "not ok $i - setkey ${ealgo} ${ekey} ${aalgo} ${akey}"
85 echo "ok $i - test 1 ${ealgo} ${ekey} ${aalgo} ${akey}"
87 echo "not ok $i - test 1 ${ealgo} ${ekey} ${aalgo} ${akey}"
92 echo "ok $i - test 2 ${ealgo} ${ekey} ${aalgo} ${akey}"
94 echo "not ok $i - test 2 ${ealgo} ${ekey} ${aalgo} ${akey}"
/freebsd-13.1/sbin/setkey/
H A Dscriptdump.pl27 $ekey = $2;
28 $ekey =~ s/\s//g;
29 $ekey =~ s/^/0x/g;
42 print " -E $ealgo $ekey" if $ealgo;
51 $ealgo = $ekey = $aalgo = $akey = '';
/freebsd-13.1/sys/geom/eli/
H A Dg_eli_key_cache.c79 const uint8_t *ekey; in g_eli_key_fill() local
86 ekey = sc->sc_mkey; in g_eli_key_fill()
88 ekey = sc->sc_ekey; in g_eli_key_fill()
92 g_eli_crypto_hmac(ekey, G_ELI_MAXKEYLEN, (uint8_t *)&hmacdata, in g_eli_key_fill()
106 struct g_eli_key *key, *ekey, keysearch; in g_eli_key_allocate() local
119 ekey = RB_FIND(g_eli_key_tree, &sc->sc_ekeys_tree, &keysearch); in g_eli_key_allocate()
120 if (ekey != NULL) { in g_eli_key_allocate()
122 key = ekey; in g_eli_key_allocate()
/freebsd-13.1/crypto/openssl/crypto/cms/
H A Dcms_kari.c261 EVP_PKEY *ekey = NULL; in cms_kari_create_ephemeral_key() local
268 if (EVP_PKEY_keygen(pctx, &ekey) <= 0) in cms_kari_create_ephemeral_key()
271 pctx = EVP_PKEY_CTX_new(ekey, NULL); in cms_kari_create_ephemeral_key()
281 EVP_PKEY_free(ekey); in cms_kari_create_ephemeral_key()
/freebsd-13.1/crypto/heimdal/kdc/
H A Dkrb5tgs.c1493 const EncryptionKey *ekey; in tgs_build_reply() local
1685 ekey = &adtkt.key; in tgs_build_reply()
1712 ekey = &skey->key; in tgs_build_reply()
1833 ekey, &tkey_sign->key, in tgs_build_reply()
1974 ekey, &tkey_sign->key, in tgs_build_reply()
2115 ekey, &tkey_sign->key, in tgs_build_reply()
2234 ekey, in tgs_build_reply()
/freebsd-13.1/sys/kgssapi/krb5/
H A Dkrb5_mech.c316 struct krb5_key_state *ekey; in get_keys() local
320 ekey = krb5_create_key(ec); in get_keys()
321 ekp = ekey->ks_key; in get_keys()
325 krb5_set_key(ekey, ekp); in get_keys()
326 kc->kc_encryptkey = ekey; in get_keys()
/freebsd-13.1/contrib/wpa/src/ap/
H A Dieee802_1x.c149 u8 *buf, *ekey; in ieee802_1x_tx_key_one() local
209 ekey = os_malloc(ekey_len); in ieee802_1x_tx_key_one()
210 if (!ekey) { in ieee802_1x_tx_key_one()
215 os_memcpy(ekey, key->key_iv, sizeof(key->key_iv)); in ieee802_1x_tx_key_one()
216 os_memcpy(ekey + sizeof(key->key_iv), sm->eap_if->eapKeyData, 32); in ieee802_1x_tx_key_one()
217 rc4_skip(ekey, ekey_len, 0, (u8 *) (key + 1), key_len); in ieee802_1x_tx_key_one()
218 os_free(ekey); in ieee802_1x_tx_key_one()
/freebsd-13.1/contrib/wpa/src/eapol_supp/
H A Deapol_supp_sm.c702 u8 ekey[IEEE8021X_KEY_IV_LEN + IEEE8021X_ENCR_KEY_LEN]; in eapol_sm_processKey() local
804 os_memcpy(ekey, key->key_iv, IEEE8021X_KEY_IV_LEN); in eapol_sm_processKey()
805 os_memcpy(ekey + IEEE8021X_KEY_IV_LEN, keydata.encr_key, in eapol_sm_processKey()
808 rc4_skip(ekey, IEEE8021X_KEY_IV_LEN + encr_key_len, 0, in eapol_sm_processKey()