Home
last modified time | relevance | path

Searched refs:akey (Results 1 – 7 of 7) sorted by relevance

/freebsd-9-stable/tools/regression/ipsec/
Dipsec6.t63 akey=${acipher##*:}
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}"
Dipsec.t63 akey=${acipher##*:}
68 …}.0.1 ${ipbase}.1.1 esp $spi -m transport -E $ealgo \"${ekey}\" -A $aalgo \"${akey}\" ;"
69 …}.1.1 ${ipbase}.0.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}"
/freebsd-9-stable/contrib/wpa/src/crypto/
Dcrypto_cryptoapi.c244 struct aes_context *akey; in aes_encrypt_init() local
262 akey = os_zalloc(sizeof(*akey)); in aes_encrypt_init()
263 if (akey == NULL) in aes_encrypt_init()
266 if (!CryptAcquireContext(&akey->prov, NULL, in aes_encrypt_init()
271 os_free(akey); in aes_encrypt_init()
275 if (!CryptImportKey(akey->prov, (BYTE *) &key_blob, sizeof(key_blob), in aes_encrypt_init()
276 0, 0, &akey->ckey)) { in aes_encrypt_init()
279 CryptReleaseContext(akey->prov, 0); in aes_encrypt_init()
280 os_free(akey); in aes_encrypt_init()
284 if (!CryptSetKeyParam(akey->ckey, KP_MODE, (BYTE *) &mode, 0)) { in aes_encrypt_init()
[all …]
/freebsd-9-stable/sbin/setkey/
Dscriptdump.pl32 $akey = $2;
33 $akey =~ s/\s//g;
34 $akey =~ s/^/0x/g;
43 print " -A $aalgo $akey" if $aalgo;
45 print " -A $aalgo $akey" if $aalgo;
51 $ealgo = $ekey = $aalgo = $akey = '';
/freebsd-9-stable/crypto/openssl/fips/des/
Dfips_desmovs.c161 int akeysz, int numkeys, unsigned char *akey, in do_mct() argument
187 OutputValue("KEY", akey, 8, rfp, 0); in do_mct()
191 OutputValue("", akey + n * 8, 8, rfp, 0); in do_mct()
210 DESTest(&ctx, amode, akeysz, akey, ivec, dir, text, text, in do_mct()
238 akey[n] ^= nk[16 + n]; in do_mct()
240 akey[8 + n] ^= nk[8 + n]; in do_mct()
242 akey[16 + n] ^= nk[n]; in do_mct()
244 memcpy(&akey[2 * 8], akey, 8); in do_mct()
246 memcpy(&akey[8], akey, 8); in do_mct()
247 DES_set_odd_parity((DES_cblock *)akey); in do_mct()
[all …]
/freebsd-9-stable/crypto/heimdal/lib/hdb/
Dcommon.c176 krb5_data akey; in hdb_remove_aliases() local
178 hdb_principal2key(context, &aliases->aliases.val[i], &akey); in hdb_remove_aliases()
179 code = db->hdb__del(context, db, akey); in hdb_remove_aliases()
180 krb5_data_free(&akey); in hdb_remove_aliases()
/freebsd-9-stable/share/dict/
Dweb24529 akey