/kernel/linux/linux-6.6/net/sunrpc/auth_gss/ |
H A D | gss_krb5_test.c | 24 u32 enctype; member 51 gk5e = gss_krb5_lookup_enctype(param->enctype); in kdf_case() 85 gk5e = gss_krb5_lookup_enctype(param->enctype); in checksum_case() 470 .enctype = ENCTYPE_AES128_CTS_HMAC_SHA1_96, 478 .enctype = ENCTYPE_AES128_CTS_HMAC_SHA1_96, 486 .enctype = ENCTYPE_AES128_CTS_HMAC_SHA1_96, 494 .enctype = ENCTYPE_AES128_CTS_HMAC_SHA1_96, 502 .enctype = ENCTYPE_AES128_CTS_HMAC_SHA1_96, 510 .enctype = ENCTYPE_AES128_CTS_HMAC_SHA1_96, 537 gk5e = gss_krb5_lookup_enctype(param->enctype); in rfc3962_encrypt_case() [all...] |
H A D | gss_krb5_mech.c | 248 * gss_krb5_lookup_enctype - Retrieve profile information for a given enctype 425 p = simple_get_bytes(p, end, &ctx->enctype, sizeof(ctx->enctype)); in gss_import_v2_context() 428 ctx->gk5e = gss_krb5_lookup_enctype(ctx->enctype); in gss_import_v2_context() 430 dprintk("gss_kerberos_mech: unsupported krb5 enctype %u\n", in gss_import_v2_context() 431 ctx->enctype); in gss_import_v2_context()
|
H A D | gss_krb5_internal.h | 62 u32 enctype; member 64 const struct gss_krb5_enctype *gk5e; /* enctype-specific info */
|
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/ |
H A D | gss_krb5_mech.c | 222 /* Old format supports only DES! Any other enctype uses new format */ in gss_import_v1_context() 223 ctx->enctype = ENCTYPE_DES_CBC_RAW; in gss_import_v1_context() 225 ctx->gk5e = get_gss_krb5_enctype(ctx->enctype); in gss_import_v1_context() 454 switch (ctx->enctype) { in gss_krb5_import_ctx_v2() 512 p = simple_get_bytes(p, end, &ctx->enctype, sizeof(ctx->enctype)); in gss_import_v2_context() 516 if (ctx->enctype == ENCTYPE_DES3_CBC_SHA1) in gss_import_v2_context() 517 ctx->enctype = ENCTYPE_DES3_CBC_RAW; in gss_import_v2_context() 518 ctx->gk5e = get_gss_krb5_enctype(ctx->enctype); in gss_import_v2_context() 520 dprintk("gss_kerberos_mech: unsupported krb5 enctype in gss_import_v2_context() [all...] |
H A D | gss_krb5_unseal.c | 216 switch (ctx->enctype) { in gss_verify_mic_kerberos()
|
H A D | gss_krb5_seal.c | 212 switch (ctx->enctype) { in gss_get_mic_kerberos()
|
H A D | gss_krb5_wrap.c | 566 switch (kctx->enctype) { in gss_wrap_kerberos() 584 switch (kctx->enctype) { in gss_unwrap_kerberos()
|
/kernel/linux/linux-6.6/net/rxrpc/ |
H A D | security.c | 160 u32 kvno, u32 enctype) in rxrpc_look_up_server_security() 171 if (enctype) in rxrpc_look_up_server_security() 173 sp->hdr.serviceId, sp->hdr.securityIndex, kvno, enctype); in rxrpc_look_up_server_security() 158 rxrpc_look_up_server_security(struct rxrpc_connection *conn, struct sk_buff *skb, u32 kvno, u32 enctype) rxrpc_look_up_server_security() argument
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/ |
H A D | dp_rx.c | 225 enum hal_encrypt_type enctype) in ath12k_dp_rx_desc_get_crypto_header() 227 ab->hw_params->hal_ops->rx_desc_get_crypto_header(desc, crypto_hdr, enctype); in ath12k_dp_rx_desc_get_crypto_header() 1891 enum hal_encrypt_type enctype) in ath12k_dp_rx_crypto_mic_len() 1893 switch (enctype) { in ath12k_dp_rx_crypto_mic_len() 1913 ath12k_warn(ar->ab, "unsupported encryption type %d for mic len\n", enctype); in ath12k_dp_rx_crypto_mic_len() 1918 enum hal_encrypt_type enctype) in ath12k_dp_rx_crypto_param_len() 1920 switch (enctype) { in ath12k_dp_rx_crypto_param_len() 1941 ath12k_warn(ar->ab, "unsupported encryption type %d\n", enctype); in ath12k_dp_rx_crypto_param_len() 1946 enum hal_encrypt_type enctype) in ath12k_dp_rx_crypto_icv_len() 1948 switch (enctype) { in ath12k_dp_rx_crypto_icv_len() 222 ath12k_dp_rx_desc_get_crypto_header(struct ath12k_base *ab, struct hal_rx_desc *desc, u8 *crypto_hdr, enum hal_encrypt_type enctype) ath12k_dp_rx_desc_get_crypto_header() argument 1890 ath12k_dp_rx_crypto_mic_len(struct ath12k *ar, enum hal_encrypt_type enctype) ath12k_dp_rx_crypto_mic_len() argument 1917 ath12k_dp_rx_crypto_param_len(struct ath12k *ar, enum hal_encrypt_type enctype) ath12k_dp_rx_crypto_param_len() argument 1945 ath12k_dp_rx_crypto_icv_len(struct ath12k *ar, enum hal_encrypt_type enctype) ath12k_dp_rx_crypto_icv_len() argument 1970 ath12k_dp_rx_h_undecap_nwifi(struct ath12k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status) ath12k_dp_rx_h_undecap_nwifi() argument 2018 ath12k_dp_rx_h_undecap_raw(struct ath12k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status, bool decrypted) ath12k_dp_rx_h_undecap_raw() argument 2076 ath12k_get_dot11_hdr_from_rx_desc(struct ath12k *ar, struct sk_buff *msdu, struct ath12k_skb_rxcb *rxcb, struct ieee80211_rx_status *status, enum hal_encrypt_type enctype) ath12k_get_dot11_hdr_from_rx_desc() argument 2120 ath12k_dp_rx_h_undecap_eth(struct ath12k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status) ath12k_dp_rx_h_undecap_eth() argument 2149 ath12k_dp_rx_h_undecap(struct ath12k *ar, struct sk_buff *msdu, struct hal_rx_desc *rx_desc, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status, bool decrypted) ath12k_dp_rx_h_undecap() argument 2223 enum hal_encrypt_type enctype; ath12k_dp_rx_h_mpdu() local 2873 ath12k_dp_rx_h_undecap_frag(struct ath12k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, u32 flags) ath12k_dp_rx_h_undecap_frag() argument 2913 enum hal_encrypt_type enctype; ath12k_dp_rx_h_defrag() local [all...] |
H A D | hal.c | 473 enum hal_encrypt_type enctype) in ath12k_hw_qcn9274_rx_desc_get_crypto_hdr() 477 switch (enctype) { in ath12k_hw_qcn9274_rx_desc_get_crypto_hdr() 913 enum hal_encrypt_type enctype) in ath12k_hw_wcn7850_rx_desc_get_crypto_hdr() 917 switch (enctype) { in ath12k_hw_wcn7850_rx_desc_get_crypto_hdr() 471 ath12k_hw_qcn9274_rx_desc_get_crypto_hdr(struct hal_rx_desc *desc, u8 *crypto_hdr, enum hal_encrypt_type enctype) ath12k_hw_qcn9274_rx_desc_get_crypto_hdr() argument 911 ath12k_hw_wcn7850_rx_desc_get_crypto_hdr(struct hal_rx_desc *desc, u8 *crypto_hdr, enum hal_encrypt_type enctype) ath12k_hw_wcn7850_rx_desc_get_crypto_hdr() argument
|
H A D | hal.h | 1072 enum hal_encrypt_type enctype);
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | dp_rx.c | 1834 enum hal_encrypt_type enctype) in ath11k_dp_rx_crypto_mic_len() 1836 switch (enctype) { in ath11k_dp_rx_crypto_mic_len() 1856 ath11k_warn(ar->ab, "unsupported encryption type %d for mic len\n", enctype); in ath11k_dp_rx_crypto_mic_len() 1861 enum hal_encrypt_type enctype) in ath11k_dp_rx_crypto_param_len() 1863 switch (enctype) { in ath11k_dp_rx_crypto_param_len() 1884 ath11k_warn(ar->ab, "unsupported encryption type %d\n", enctype); in ath11k_dp_rx_crypto_param_len() 1889 enum hal_encrypt_type enctype) in ath11k_dp_rx_crypto_icv_len() 1891 switch (enctype) { in ath11k_dp_rx_crypto_icv_len() 1909 ath11k_warn(ar->ab, "unsupported encryption type %d\n", enctype); in ath11k_dp_rx_crypto_icv_len() 1916 enum hal_encrypt_type enctype, in ath11k_dp_rx_h_undecap_nwifi() 1833 ath11k_dp_rx_crypto_mic_len(struct ath11k *ar, enum hal_encrypt_type enctype) ath11k_dp_rx_crypto_mic_len() argument 1860 ath11k_dp_rx_crypto_param_len(struct ath11k *ar, enum hal_encrypt_type enctype) ath11k_dp_rx_crypto_param_len() argument 1888 ath11k_dp_rx_crypto_icv_len(struct ath11k *ar, enum hal_encrypt_type enctype) ath11k_dp_rx_crypto_icv_len() argument 1913 ath11k_dp_rx_h_undecap_nwifi(struct ath11k *ar, struct sk_buff *msdu, u8 *first_hdr, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status) ath11k_dp_rx_h_undecap_nwifi() argument 1992 ath11k_dp_rx_h_undecap_raw(struct ath11k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status, bool decrypted) ath11k_dp_rx_h_undecap_raw() argument 2051 ath11k_dp_rx_h_find_rfc1042(struct ath11k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype) ath11k_dp_rx_h_find_rfc1042() argument 2078 ath11k_dp_rx_h_undecap_eth(struct ath11k *ar, struct sk_buff *msdu, u8 *first_hdr, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status) ath11k_dp_rx_h_undecap_eth() argument 2126 ath11k_dp_rx_h_undecap(struct ath11k *ar, struct sk_buff *msdu, struct hal_rx_desc *rx_desc, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status, bool decrypted) ath11k_dp_rx_h_undecap() argument 2164 enum hal_encrypt_type enctype; ath11k_dp_rx_h_mpdu() local 3146 ath11k_dp_rx_h_undecap_frag(struct ath11k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, u32 flags) ath11k_dp_rx_h_undecap_frag() argument 3184 enum hal_encrypt_type enctype; ath11k_dp_rx_h_defrag() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A D | htt_rx.c | 1355 enum htt_rx_mpdu_encrypt_type enctype, in ath10k_htt_rx_h_undecap_raw() 1409 crypto_len = ath10k_htt_rx_crypto_param_len(ar, enctype); in ath10k_htt_rx_h_undecap_raw() 1443 ath10k_htt_rx_crypto_mic_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw() 1446 ath10k_htt_rx_crypto_icv_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw() 1451 ath10k_htt_rx_crypto_mic_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw() 1456 ath10k_htt_rx_crypto_icv_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw() 1462 enctype == HTT_RX_MPDU_ENCRYPT_TKIP_WPA) in ath10k_htt_rx_h_undecap_raw() 1468 crypto_len = ath10k_htt_rx_crypto_param_len(ar, enctype); in ath10k_htt_rx_h_undecap_raw() 1480 enum htt_rx_mpdu_encrypt_type enctype) in ath10k_htt_rx_h_undecap_nwifi() 1520 ath10k_htt_rx_crypto_param_len(ar, enctype)), in ath10k_htt_rx_h_undecap_nwifi() 1352 ath10k_htt_rx_h_undecap_raw(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, enum htt_rx_mpdu_encrypt_type enctype, bool is_decrypted, const u8 first_hdr[64]) ath10k_htt_rx_h_undecap_raw() argument 1476 ath10k_htt_rx_h_undecap_nwifi(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, const u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_undecap_nwifi() argument 1535 ath10k_htt_rx_h_find_rfc1042(struct ath10k *ar, struct sk_buff *msdu, enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_find_rfc1042() argument 1571 ath10k_htt_rx_h_undecap_eth(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, const u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_undecap_eth() argument 1632 ath10k_htt_rx_h_undecap_snap(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, const u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_undecap_snap() argument 1669 ath10k_htt_rx_h_undecap(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype, bool is_decrypted) ath10k_htt_rx_h_undecap() argument 1749 ath10k_htt_rx_h_get_pn(struct ath10k *ar, struct sk_buff *skb, u16 offset, enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_get_pn() argument 1781 ath10k_htt_rx_h_frag_pn_check(struct ath10k *ar, struct sk_buff *skb, u16 peer_id, u16 offset, enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_frag_pn_check() argument 1842 enum htt_rx_mpdu_encrypt_type enctype; ath10k_htt_rx_h_mpdu() local 2120 enum htt_rx_mpdu_encrypt_type enctype; ath10k_htt_rx_validate_amsdu() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
H A D | htt_rx.c | 1420 enum htt_rx_mpdu_encrypt_type enctype, in ath10k_htt_rx_h_undecap_raw() 1479 crypto_len = ath10k_htt_rx_crypto_param_len(ar, enctype); in ath10k_htt_rx_h_undecap_raw() 1513 ath10k_htt_rx_crypto_mic_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw() 1516 ath10k_htt_rx_crypto_icv_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw() 1521 ath10k_htt_rx_crypto_mic_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw() 1526 ath10k_htt_rx_crypto_icv_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw() 1532 enctype == HTT_RX_MPDU_ENCRYPT_TKIP_WPA) in ath10k_htt_rx_h_undecap_raw() 1538 crypto_len = ath10k_htt_rx_crypto_param_len(ar, enctype); in ath10k_htt_rx_h_undecap_raw() 1550 enum htt_rx_mpdu_encrypt_type enctype) in ath10k_htt_rx_h_undecap_nwifi() 1592 ath10k_htt_rx_crypto_param_len(ar, enctype)), in ath10k_htt_rx_h_undecap_nwifi() 1417 ath10k_htt_rx_h_undecap_raw(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, enum htt_rx_mpdu_encrypt_type enctype, bool is_decrypted, const u8 first_hdr[64]) ath10k_htt_rx_h_undecap_raw() argument 1546 ath10k_htt_rx_h_undecap_nwifi(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, const u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_undecap_nwifi() argument 1607 ath10k_htt_rx_h_find_rfc1042(struct ath10k *ar, struct sk_buff *msdu, enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_find_rfc1042() argument 1650 ath10k_htt_rx_h_undecap_eth(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, const u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_undecap_eth() argument 1714 ath10k_htt_rx_h_undecap_snap(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, const u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_undecap_snap() argument 1754 ath10k_htt_rx_h_undecap(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype, bool is_decrypted) ath10k_htt_rx_h_undecap() argument 1846 ath10k_htt_rx_h_get_pn(struct ath10k *ar, struct sk_buff *skb, enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_get_pn() argument 1876 ath10k_htt_rx_h_frag_pn_check(struct ath10k *ar, struct sk_buff *skb, u16 peer_id, enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_frag_pn_check() argument 1938 enum htt_rx_mpdu_encrypt_type enctype; ath10k_htt_rx_h_mpdu() local 2231 enum htt_rx_mpdu_encrypt_type enctype; ath10k_htt_rx_validate_amsdu() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/ |
H A D | dp_rx.c | 1883 enum hal_encrypt_type enctype) in ath11k_dp_rx_crypto_mic_len() 1885 switch (enctype) { in ath11k_dp_rx_crypto_mic_len() 1905 ath11k_warn(ar->ab, "unsupported encryption type %d for mic len\n", enctype); in ath11k_dp_rx_crypto_mic_len() 1910 enum hal_encrypt_type enctype) in ath11k_dp_rx_crypto_param_len() 1912 switch (enctype) { in ath11k_dp_rx_crypto_param_len() 1933 ath11k_warn(ar->ab, "unsupported encryption type %d\n", enctype); in ath11k_dp_rx_crypto_param_len() 1938 enum hal_encrypt_type enctype) in ath11k_dp_rx_crypto_icv_len() 1940 switch (enctype) { in ath11k_dp_rx_crypto_icv_len() 1958 ath11k_warn(ar->ab, "unsupported encryption type %d\n", enctype); in ath11k_dp_rx_crypto_icv_len() 1965 enum hal_encrypt_type enctype, in ath11k_dp_rx_h_undecap_nwifi() 1882 ath11k_dp_rx_crypto_mic_len(struct ath11k *ar, enum hal_encrypt_type enctype) ath11k_dp_rx_crypto_mic_len() argument 1909 ath11k_dp_rx_crypto_param_len(struct ath11k *ar, enum hal_encrypt_type enctype) ath11k_dp_rx_crypto_param_len() argument 1937 ath11k_dp_rx_crypto_icv_len(struct ath11k *ar, enum hal_encrypt_type enctype) ath11k_dp_rx_crypto_icv_len() argument 1962 ath11k_dp_rx_h_undecap_nwifi(struct ath11k *ar, struct sk_buff *msdu, u8 *first_hdr, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status) ath11k_dp_rx_h_undecap_nwifi() argument 2041 ath11k_dp_rx_h_undecap_raw(struct ath11k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status, bool decrypted) ath11k_dp_rx_h_undecap_raw() argument 2100 ath11k_dp_rx_h_find_rfc1042(struct ath11k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype) ath11k_dp_rx_h_find_rfc1042() argument 2127 ath11k_dp_rx_h_undecap_eth(struct ath11k *ar, struct sk_buff *msdu, u8 *first_hdr, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status) ath11k_dp_rx_h_undecap_eth() argument 2175 ath11k_dp_rx_h_undecap(struct ath11k *ar, struct sk_buff *msdu, struct hal_rx_desc *rx_desc, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status, bool decrypted) ath11k_dp_rx_h_undecap() argument 2250 enum hal_encrypt_type enctype; ath11k_dp_rx_h_mpdu() local 3267 ath11k_dp_rx_h_undecap_frag(struct ath11k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, u32 flags) ath11k_dp_rx_h_undecap_frag() argument 3307 enum hal_encrypt_type enctype; ath11k_dp_rx_h_defrag() local [all...] |
/kernel/linux/linux-5.10/include/linux/sunrpc/ |
H A D | gss_krb5.h | 99 u32 enctype; member 101 const struct gss_krb5_enctype *gk5e; /* enctype-specific info */
|