/freebsd/sys/netipsec/ |
H A D | key.c | 1024 struct secashead *sah; in key_allocsa_tcpmd5() local 1033 LIST_FOREACH(sah, SAHADDRHASH_HASH(saidx), addrhash) { in key_allocsa_tcpmd5() 1036 kdebug_secash(sah, " ")); in key_allocsa_tcpmd5() 1037 if (sah->saidx.proto != IPPROTO_TCP) in key_allocsa_tcpmd5() 1039 if (!key_sockaddrcmp(&saidx->dst.sa, &sah->saidx.dst.sa, 0) && in key_allocsa_tcpmd5() 1040 !key_sockaddrcmp(&saidx->src.sa, &sah->saidx.src.sa, 0)) in key_allocsa_tcpmd5() 1043 if (sah != NULL) { in key_allocsa_tcpmd5() 1045 sav = TAILQ_LAST(&sah->savtree_alive, secasvar_queue); in key_allocsa_tcpmd5() 1047 sav = TAILQ_FIRST(&sah->savtree_alive); in key_allocsa_tcpmd5() 1077 struct secashead *sah; in key_allocsa_policy() local [all …]
|
H A D | xform_ipcomp.c | 303 saidx = &sav->sah->saidx; in ipcomp_input_cb() 357 ipsec_address(&sav->sah->saidx.dst, buf, sizeof(buf)), in ipcomp_input_cb() 430 switch (sav->sah->saidx.dst.sa.sa_family) { in ipcomp_output() 445 sav->sah->saidx.dst.sa.sa_family, in ipcomp_output() 446 ipsec_address(&sav->sah->saidx.dst, buf, sizeof(buf)), in ipcomp_output() 455 ipsec_address(&sav->sah->saidx.dst, buf, sizeof(buf)), in ipcomp_output() 469 __func__, ipsec_address(&sav->sah->saidx.dst, buf, in ipcomp_output() 588 __func__, ipsec_address(&sav->sah->saidx.dst, buf, in ipcomp_output_cb() 597 switch (sav->sah->saidx.dst.sa.sa_family) { in ipcomp_output_cb() 618 switch (sav->sah->saidx.dst.sa.sa_family) { in ipcomp_output_cb() [all …]
|
H A D | xform_ah.c | 160 if (sav->sah->saidx.dst.sa.sa_family == AF_INET6) { in ah_hdrsiz() 590 ipsec_address(&sav->sah->saidx.dst, buf, sizeof(buf)), in ah_input() 600 ipsec_address(&sav->sah->saidx.dst, buf, sizeof(buf)), in ah_input() 646 error = ah_massage_headers(&m, sav->sah->saidx.dst.sa.sa_family, in ah_input() 714 saidx = &sav->sah->saidx; in ah_input_cb() 871 switch (sav->sah->saidx.dst.sa.sa_family) { in ah_output() 885 sav->sah->saidx.dst.sa.sa_family, in ah_output() 886 ipsec_address(&sav->sah->saidx.dst, buf, sizeof(buf)), in ah_output() 895 ipsec_address(&sav->sah->saidx.dst, buf, sizeof(buf)), in ah_output() 909 ipsec_address(&sav->sah->saidx.dst, buf, sizeof(buf)), in ah_output() [all …]
|
H A D | key_debug.c | 793 kdebug_secash(struct secashead *sah, const char *indent) in kdebug_secash() 796 IPSEC_ASSERT(sah != NULL, ("null sah")); in kdebug_secash() 799 printf("SAH { refcnt=%u state=%s\n", sah->refcnt, in kdebug_secash() 800 kdebug_secasv_state(sah->state)); in kdebug_secash() 803 kdebug_secasindex(&sah->saidx, indent); 862 kdebug_secash(sav->sah, " "); in kdebug_secasv() 982 ipsec_address(&sav->sah->saidx.src, sbuf, sizeof(sbuf)), 983 ipsec_address(&sav->sah->saidx.dst, dbuf, sizeof(dbuf))); 788 kdebug_secash(struct secashead * sah,const char * indent) kdebug_secash() argument
|
H A D | udpencap.c | 251 switch (sav->sah->saidx.dst.sa.sa_family) { in udp_ipsec_output() 282 switch (sav->sah->saidx.dst.sa.sa_family) { in udp_ipsec_output() 346 switch (sav->sah->saidx.dst.sa.sa_family) { in udp_ipsec_adjust_cksum() 368 switch (sav->sah->saidx.dst.sa.sa_family) { in udp_ipsec_adjust_cksum()
|
H A D | ipsec_input.c | 354 IPSEC_ASSERT(sav->sah != NULL, ("null SAH")); in ipsec4_common_input_cb() 355 saidx = &sav->sah->saidx; in ipsec4_common_input_cb() 369 __func__, ipsec_address(&sav->sah->saidx.dst, in ipsec4_common_input_cb() 608 IPSEC_ASSERT(sav->sah != NULL, ("null SAH")); in ipsec6_common_input_cb() 609 saidx = &sav->sah->saidx; in ipsec6_common_input_cb() 623 __func__, ipsec_address(&sav->sah->saidx.dst, buf, in ipsec6_common_input_cb()
|
H A D | ipsec_output.c | 254 dst = &sav->sah->saidx.dst; in ipsec4_perform_request() 265 error = ipsec_encap(&m, &sav->sah->saidx); in ipsec4_perform_request() 304 IPSEC_OSTAT_INC(sav->sah->saidx.proto, nopf); in ipsec4_check_pmtu() 650 dst = &sav->sah->saidx.dst; in ipsec6_perform_request() 663 error = ipsec_encap(&m, &sav->sah->saidx); in ipsec6_perform_request() 697 IPSEC_OSTAT_INC(sav->sah->saidx.proto, nopf); in ipsec6_check_pmtu() 883 saidx = &sav->sah->saidx; in ipsec_process_done() 1061 dst = &sav->sah->saidx.dst; in ipsec_get_pmtu()
|
H A D | xform_esp.c | 330 ipsec_address(&sav->sah->saidx.dst, buf, sizeof(buf)), in esp_input() 520 saidx = &sav->sah->saidx; in esp_input_cb() 612 ipsec_address(&sav->sah->saidx.dst, buf, sizeof(buf)), in esp_input_cb() 626 ipsec_address(&sav->sah->saidx.dst, buf, sizeof(buf)), in esp_input_cb() 638 &sav->sah->saidx.dst, buf, sizeof(buf)), in esp_input_cb() 744 saidx = &sav->sah->saidx; in esp_output()
|
H A D | keydb.h | 158 struct secashead *sah; /* back pointer to the secashead */ 155 struct secashead *sah; /* back pointer to the secashead */ global() member
|
H A D | ipsec.c | 1326 if (sav->sah->saidx.proto == IPPROTO_ESP) in ipsec_chkreplay() 1328 else if (sav->sah->saidx.proto == IPPROTO_AH) in ipsec_chkreplay() 1371 if (sav->sah->saidx.proto == IPPROTO_ESP) in ipsec_chkreplay() 1373 else if (sav->sah->saidx.proto == IPPROTO_AH) in ipsec_chkreplay()
|
H A D | xform_tcp.c | 192 switch (sav->sah->saidx.dst.sa.sa_family) { in tcp_signature_compute()
|
/freebsd/sys/net/ |
H A D | if_ipsec.c | 464 if (sav->sah->saidx.mode != IPSEC_MODE_TUNNEL || in ipsec_if_input() 465 sav->sah->saidx.proto != IPPROTO_ESP) in ipsec_if_input() 469 CK_LIST_FOREACH(sc, ipsec_idhash(sav->sah->saidx.reqid), idhash) { in ipsec_if_input() 473 sav->sah->saidx.src.sa.sa_family); in ipsec_if_input() 476 sav->sah->saidx.reqid != saidx->reqid) in ipsec_if_input() 479 if (key_sockaddrcmp(&sav->sah->saidx.dst.sa, in ipsec_if_input() 482 if (key_sockaddrcmp(&sav->sah->saidx.src.sa, in ipsec_if_input()
|
/freebsd/sys/contrib/device-tree/Bindings/crypto/ |
H A D | fsl-imx-sahara.txt | 11 sah: crypto@10025000 {
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | ib_verbs.c | 1787 struct bnxt_re_ah *sah; in bnxt_re_update_shadow_ah() local 1795 sah = rdev->gsi_ctx.gsi_sah; in bnxt_re_update_shadow_ah() 1798 if (sah) { in bnxt_re_update_shadow_ah() 1800 if (!compare_ether_header(sah->qplib_ah.dmac, rdev->dev_addr)) { in bnxt_re_update_shadow_ah() 1810 &sah->qplib_ah, false); in bnxt_re_update_shadow_ah() 1817 kfree(sah); in bnxt_re_update_shadow_ah() 1820 sah = bnxt_re_create_shadow_qp_ah(pd, &rdev->qplib_res, in bnxt_re_update_shadow_ah() 1822 if (!sah) { in bnxt_re_update_shadow_ah() 1827 rdev->gsi_ctx.gsi_sah = sah; in bnxt_re_update_shadow_ah() 2179 struct bnxt_re_ah *sah; in bnxt_re_create_shadow_gsi() local [all …]
|
/freebsd/sys/dev/mlx5/mlx5_accel/ |
H A D | mlx5_ipsec.c | 160 struct secasindex *saidx = &savp->sah->saidx; in mlx5e_ipsec_build_accel_xfrm_attrs() 252 struct secasindex *saidx = &savp->sah->saidx; in mlx5e_xfrm_validate_state()
|
/freebsd/share/misc/ |
H A D | iso639 | 406 sah sah Yakut
|
H A D | committers-src.dot | 82 sah [label="Sam Hopkins\nsah@FreeBSD.org\n2004/12/15\n2008/11/10"] 929 scottl -> sah
|
/freebsd/sys/dev/qat_c2xxx/ |
H A D | qat.c | 1209 const struct auth_hash *sah = hash_def->qshd_alg->qshai_sah; in qat_crypto_hmac_precompute() local 1214 hmac_init_ipad(sah, key, klen, &ctx); in qat_crypto_hmac_precompute() 1217 hmac_init_opad(sah, key, klen, &ctx); in qat_crypto_hmac_precompute()
|
/freebsd/sys/dev/ixl/ |
H A D | i40e_adminq_cmd.h | 547 __le16 sah; member
|
/freebsd/share/dict/ |
H A D | web2 | 172628 sah
|