Home
last modified time | relevance | path

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

/freebsd/tools/regression/ipsec/
H A Dipsec6.t62 akey=${acipher##*:}
67 …(echo "add -6 1::1 2::1 esp $spi -m transport -E $ealgo \"${ekey}\" -A $aalgo \"${akey}…
68 …echo "add -6 2::1 1::1 esp `expr $spi + 1` -m transport -E $ealgo \"${ekey}\" -A $aalgo \"${akey}\…
76 echo "ok $i - setkey ${ealgo} ${ekey} ${aalgo} ${akey}"
78 echo "not ok $i - setkey ${ealgo} ${ekey} ${aalgo} ${akey}"
84 echo "ok $i - test 1 ${ealgo} ${ekey} ${aalgo} ${akey}"
86 echo "not ok $i - test 1 ${ealgo} ${ekey} ${aalgo} ${akey}"
91 echo "ok $i - test 2 ${ealgo} ${ekey} ${aalgo} ${akey}"
93 echo "not ok $i - test 2 ${ealgo} ${ekey} ${aalgo} ${akey}"
H A Dipsec.t62 akey=${acipher##*:}
67 …}.0.1 ${ipbase}.1.1 esp $spi -m transport -E $ealgo \"${ekey}\" -A $aalgo \"${akey}\" ;"
68 …}.1.1 ${ipbase}.0.1 esp `expr $spi + 1` -m transport -E $ealgo \"${ekey}\" -A $aalgo \"${akey}\" ;"
76 echo "ok $i - setkey ${ealgo} ${ekey} ${aalgo} ${akey}"
78 echo "not ok $i - setkey ${ealgo} ${ekey} ${aalgo} ${akey}"
84 echo "ok $i - test 1 ${ealgo} ${ekey} ${aalgo} ${akey}"
86 echo "not ok $i - test 1 ${ealgo} ${ekey} ${aalgo} ${akey}"
91 echo "ok $i - test 2 ${ealgo} ${ekey} ${aalgo} ${akey}"
93 echo "not ok $i - test 2 ${ealgo} ${ekey} ${aalgo} ${akey}"
/freebsd/crypto/openssl/test/
H A Dml_kem_evp_extra_test.c100 EVP_PKEY *akey, *bkey = NULL; in test_ml_kem() local
109 akey = EVP_PKEY_Q_keygen(testctx, NULL, "ML-KEM-768"); in test_ml_kem()
110 if (!TEST_ptr(akey)) in test_ml_kem()
114 publen = EVP_PKEY_get1_encoded_public_key(akey, &rawpub); in test_ml_kem()
123 if (!TEST_int_gt(EVP_PKEY_copy_parameters(bkey, akey), 0)) in test_ml_kem()
127 if (!TEST_false(EVP_PKEY_eq(akey, bkey)) in test_ml_kem()
128 || !TEST_false(EVP_PKEY_eq(bkey, akey))) in test_ml_kem()
135 if (!TEST_true(EVP_PKEY_eq(akey, bkey)) in test_ml_kem()
136 || !TEST_true(EVP_PKEY_eq(bkey, akey))) in test_ml_kem()
168 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, akey, NULL); in test_ml_kem()
[all …]
/freebsd/sbin/setkey/
H A Dscriptdump.pl31 $akey = $2;
32 $akey =~ s/\s//g;
33 $akey =~ s/^/0x/g;
42 print " -A $aalgo $akey" if $aalgo;
44 print " -A $aalgo $akey" if $aalgo;
50 $ealgo = $ekey = $aalgo = $akey = '';
/freebsd/crypto/heimdal/lib/hdb/
H A Dcommon.c223 krb5_data akey; in hdb_remove_aliases() local
225 hdb_principal2key(context, &aliases->aliases.val[i], &akey); in hdb_remove_aliases()
226 code = db->hdb__del(context, db, akey); in hdb_remove_aliases()
227 krb5_data_free(&akey); in hdb_remove_aliases()
284 krb5_data akey, value; in hdb_check_aliases() local
286 hdb_principal2key(context, &aliases->aliases.val[i], &akey); in hdb_check_aliases()
287 code = db->hdb__get(context, db, akey, &value); in hdb_check_aliases()
288 krb5_data_free(&akey); in hdb_check_aliases()
/freebsd/contrib/unbound/services/cache/
H A Ddns.c336 struct ub_packed_rrset_key* akey; in find_add_addrs() local
338 akey = rrset_cache_lookup(env->rrset_cache, ns->name, in find_add_addrs()
340 if(akey) { in find_add_addrs()
341 if(!delegpt_add_rrset_A(dp, region, akey, 0, NULL)) { in find_add_addrs()
342 lock_rw_unlock(&akey->entry.lock); in find_add_addrs()
346 addr_to_additional(akey, region, *msg, now); in find_add_addrs()
347 lock_rw_unlock(&akey->entry.lock); in find_add_addrs()
358 akey = rrset_cache_lookup(env->rrset_cache, ns->name, in find_add_addrs()
360 if(akey) { in find_add_addrs()
361 if(!delegpt_add_rrset_AAAA(dp, region, akey, 0, NULL)) { in find_add_addrs()
[all …]
/freebsd/contrib/unbound/iterator/
H A Diter_utils.c1308 struct ub_packed_rrset_key* akey; in iter_lookup_parent_NS_from_cache() local
1309 akey = rrset_cache_lookup(env->rrset_cache, dp->name, in iter_lookup_parent_NS_from_cache()
1312 if(akey) { in iter_lookup_parent_NS_from_cache()
1313 log_rrset_key(VERB_ALGO, "found parent-side NS in cache", akey); in iter_lookup_parent_NS_from_cache()
1316 if(!delegpt_rrset_add_ns(dp, region, akey, 1, in iter_lookup_parent_NS_from_cache()
1318 lock_rw_unlock(&akey->entry.lock); in iter_lookup_parent_NS_from_cache()
1321 lock_rw_unlock(&akey->entry.lock); in iter_lookup_parent_NS_from_cache()
1329 struct ub_packed_rrset_key* akey; in iter_lookup_parent_glue_from_cache() local
1337 akey = rrset_cache_lookup(env->rrset_cache, ns->name, in iter_lookup_parent_glue_from_cache()
1340 if(akey) { in iter_lookup_parent_glue_from_cache()
[all …]
/freebsd/contrib/unbound/contrib/
H A Daaaa-filter-iterator.patch38 + struct ub_packed_rrset_key* akey;
41 + akey = rrset_cache_lookup(env->rrset_cache, qinfo->qname,
44 + if(akey) { /* we had some. */
46 + akey);
47 + lock_rw_unlock(&akey->entry.lock);
H A Dfastrpz.patch1835 + struct ub_packed_rrset_key* akey;
1837 + akey = rrset_cache_lookup(env->rrset_cache, nsname, nsname_size,
1839 + if(akey) {
1842 + if(!ck_ip_rrset(akey->entry.data, family, LIBRPZ_TRIG_NSIP,
1844 + lock_rw_unlock(&akey->entry.lock);
1847 + lock_rw_unlock(&akey->entry.lock);
/freebsd/sys/dev/safexcel/
H A Dsafexcel.c1383 const uint8_t *ckey, const uint8_t *akey, struct safexcel_session *sess) in safexcel_set_context() argument
1404 memcpy(data, akey, aklen); in safexcel_set_context()
1426 safexcel_setkey_ghash(akey, aklen, (uint32_t *)(data + off)); in safexcel_set_context()
1434 safexcel_setkey_hmac(csp, akey, aklen, in safexcel_set_context()
1881 const uint8_t *akey, *ckey; in safexcel_set_token() local
1890 akey = crp->crp_auth_key; in safexcel_set_token()
1892 if (akey != NULL || ckey != NULL) { in safexcel_set_token()
1897 if (akey == NULL) in safexcel_set_token()
1898 akey = csp->csp_auth_key; in safexcel_set_token()
1902 (void)safexcel_set_context(ctx, crp->crp_op, ckey, akey, in safexcel_set_token()
/freebsd/crypto/openssl/crypto/ec/
H A Decx_meth.c75 const ECX_KEY *akey = a->pkey.ecx; in ecx_pub_cmp() local
78 if (akey == NULL || bkey == NULL) in ecx_pub_cmp()
81 return CRYPTO_memcmp(akey->pubkey, bkey->pubkey, KEYLEN(a)) == 0; in ecx_pub_cmp()
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dradix_ipf.c250 u_32_t *akey; in ipf_rx_lookup() local
266 akey = (u_32_t *)addr; in ipf_rx_lookup()
268 akey[found->offset]) in ipf_rx_lookup()
/freebsd/share/dict/
H A Dweb24530 akey