| /linux/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_test.c | |
| H A D | gss_krb5_mech.c | 144 p = simple_get_bytes(p, end, &ctx->enctype, sizeof(ctx->enctype)); 147 ctx->krb5e = crypto_krb5_find_enctype(ctx->enctype); 149 dprintk("gss_kerberos_mech: unsupported krb5 enctype %u\n", 150 ctx->enctype);
|
| /linux/net/rxrpc/ |
| H A D | rxgk_app.c | 50 unsigned int klen, enctype; in rxgk_yfs_decode_ticket() local 63 enctype = ntohl(tmp[0]); in rxgk_yfs_decode_ticket() 112 q[12] = htonl(enctype); /* - lsw */ in rxgk_yfs_decode_ticket() 186 u32 kvno, enctype; in rxgk_extract_token() local 191 __be32 enctype; in rxgk_extract_token() member 206 enctype = ntohl(container->enctype); in rxgk_extract_token() 213 _debug("ENC %u", enctype); in rxgk_extract_token() 216 server_key = rxrpc_look_up_server_security(conn, skb, kvno, enctype); in rxgk_extract_token() 222 ret = rxgk_set_up_token_cipher(server_secret, &token_enc, enctype, &krb5, GFP_NOFS); in rxgk_extract_token()
|
| H A D | security.c | 163 u32 kvno, u32 enctype) in rxrpc_look_up_server_security() argument 174 if (enctype) in rxrpc_look_up_server_security() 176 sp->hdr.serviceId, sp->hdr.securityIndex, kvno, enctype); in rxrpc_look_up_server_security()
|
| H A D | rxgk_kdf.c | 223 gk->krb5 = crypto_krb5_find_enctype(key->enctype); in rxgk_generate_transport_key() 270 unsigned int enctype, in rxgk_set_up_token_cipher() argument 277 krb5 = crypto_krb5_find_enctype(enctype); in rxgk_set_up_token_cipher()
|
| H A D | rxgk.c | 24 unsigned int service, sec_class, kvno, enctype; in rxgk_preparse_server_key() local 30 &service, &sec_class, &kvno, &enctype, &n) != 4) in rxgk_preparse_server_key() 36 krb5 = crypto_krb5_find_enctype(enctype); in rxgk_preparse_server_key() 254 conn->rxgk.enctype = gk->krb5->etype; in rxgk_init_connection_security() 747 return sp->chall.conn->rxgk.enctype; in rxgk_kernel_query_challenge() 763 chall.enctype = conn->rxgk.enctype; in rxgk_challenge_to_recvmsg() 1228 * Note that we have to switch enctype at this point as the enctype of in rxgk_verify_response()
|
| H A D | rxperf.c | 586 static int rxperf_add_yfs_rxgk_key(struct key *keyring, u32 enctype) in rxperf_add_yfs_rxgk_key() argument 588 const struct krb5_enctype *krb5 = crypto_krb5_find_enctype(enctype); in rxperf_add_yfs_rxgk_key() 601 sprintf(name, "%u:6:1:%u", RX_PERF_SERVICE, enctype); in rxperf_add_yfs_rxgk_key()
|
| H A D | rxgk_common.h | 60 unsigned int enctype,
|
| H A D | key.c | 160 * afs_int64 enctype; 225 token->rxgk->enctype = tmp = xdr_dec64(xdr + 5 * 2); in rxrpc_preparse_xdr_yfs_rxgk() 252 _debug("ENC : %u", token->rxgk->enctype); in rxrpc_preparse_xdr_yfs_rxgk() 865 ENCODE64(token->rxgk->enctype); in rxrpc_read()
|
| H A D | ar-internal.h | 593 u32 enctype; /* Kerberos 5 encoding type */ 574 u32 enctype; /* Kerberos 5 encoding type */ global() member
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | dp_rx.c | 871 int ath12k_dp_rx_crypto_mic_len(struct ath12k_dp *dp, enum hal_encrypt_type enctype) in ath12k_dp_rx_crypto_mic_len() 873 switch (enctype) { in ath12k_dp_rx_crypto_mic_len() 893 ath12k_warn(dp->ab, "unsupported encryption type %d for mic len\n", enctype); in ath12k_dp_rx_crypto_param_len() argument 898 enum hal_encrypt_type enctype) in ath12k_dp_rx_crypto_param_len() 900 switch (enctype) { in ath12k_dp_rx_crypto_param_len() 921 ath12k_warn(dp_pdev->dp->ab, "unsupported encryption type %d\n", enctype); in ath12k_dp_rx_crypto_icv_len() argument 926 enum hal_encrypt_type enctype) in ath12k_dp_rx_crypto_icv_len() 928 switch (enctype) { in ath12k_dp_rx_crypto_icv_len() 946 ath12k_warn(dp_pdev->dp->ab, "unsupported encryption type %d\n", enctype); in ath12k_dp_rx_h_undecap_nwifi() 952 enum hal_encrypt_type enctype, in ath12k_dp_rx_h_undecap_nwifi() 866 ath12k_dp_rx_crypto_mic_len(struct ath12k_dp * dp,enum hal_encrypt_type enctype) ath12k_dp_rx_crypto_mic_len() argument 947 ath12k_dp_rx_h_undecap_nwifi(struct ath12k_pdev_dp * dp_pdev,struct sk_buff * msdu,enum hal_encrypt_type enctype,struct hal_rx_desc_data * rx_info) ath12k_dp_rx_h_undecap_nwifi() argument 995 ath12k_dp_rx_h_undecap_raw(struct ath12k_pdev_dp * dp_pdev,struct sk_buff * msdu,enum hal_encrypt_type enctype,struct ieee80211_rx_status * status,bool decrypted) ath12k_dp_rx_h_undecap_raw() argument 1056 ath12k_get_dot11_hdr_from_rx_desc(struct ath12k_pdev_dp * dp_pdev,struct sk_buff * msdu,struct ath12k_skb_rxcb * rxcb,enum hal_encrypt_type enctype,struct hal_rx_desc_data * rx_info) ath12k_get_dot11_hdr_from_rx_desc() argument 1097 ath12k_dp_rx_h_undecap_eth(struct ath12k_pdev_dp * dp_pdev,struct sk_buff * msdu,enum hal_encrypt_type enctype,struct hal_rx_desc_data * rx_info) ath12k_dp_rx_h_undecap_eth() argument 1125 ath12k_dp_rx_h_undecap(struct ath12k_pdev_dp * dp_pdev,struct sk_buff * msdu,enum hal_encrypt_type enctype,bool decrypted,struct hal_rx_desc_data * rx_info) ath12k_dp_rx_h_undecap() argument 1477 ath12k_dp_rx_h_undecap_frag(struct ath12k_pdev_dp * dp_pdev,struct sk_buff * msdu,enum hal_encrypt_type enctype,u32 flags) ath12k_dp_rx_h_undecap_frag() argument [all...] |
| H A D | mac.c | 9155 enum hal_encrypt_type enctype; in ath12k_mac_mgmt_action_frame_fill_elem_data() 9178 enctype = ath12k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath12k_mac_mgmt_action_frame_fill_elem_data() 9179 mic_len = ath12k_dp_rx_crypto_mic_len(ab->dp, enctype); in ath12k_mac_mgmt_action_frame_fill_elem_data() 9061 enum hal_encrypt_type enctype; ath12k_mac_mgmt_tx_wmi() local
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | htt_rx.c | 1423 enum htt_rx_mpdu_encrypt_type enctype, in ath10k_htt_rx_h_undecap_raw() 1482 crypto_len = ath10k_htt_rx_crypto_param_len(ar, enctype); in ath10k_htt_rx_h_undecap_raw() 1516 ath10k_htt_rx_crypto_mic_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw() 1519 ath10k_htt_rx_crypto_icv_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw() 1524 ath10k_htt_rx_crypto_mic_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw() 1529 ath10k_htt_rx_crypto_icv_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw() 1535 enctype == HTT_RX_MPDU_ENCRYPT_TKIP_WPA) in ath10k_htt_rx_h_undecap_raw() 1541 crypto_len = ath10k_htt_rx_crypto_param_len(ar, enctype); in ath10k_htt_rx_h_undecap_raw() 1553 enum htt_rx_mpdu_encrypt_type enctype) in ath10k_htt_rx_h_undecap_nwifi() 1595 ath10k_htt_rx_crypto_param_len(ar, enctype)), in ath10k_htt_rx_h_undecap_nwifi() 1424 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 1554 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 1613 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 1658 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 1722 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 1762 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 1851 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 1883 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 1942 enum htt_rx_mpdu_encrypt_type enctype; ath10k_htt_rx_h_mpdu() local 2235 enum htt_rx_mpdu_encrypt_type enctype; ath10k_htt_rx_validate_amsdu() local [all...] |
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | dp_rx.c | 1872 int ath11k_dp_rx_crypto_mic_len(struct ath11k *ar, enum hal_encrypt_type enctype) in ath11k_dp_rx_crypto_mic_len() argument 1874 switch (enctype) { in ath11k_dp_rx_crypto_mic_len() 1894 ath11k_warn(ar->ab, "unsupported encryption type %d for mic len\n", enctype); in ath11k_dp_rx_crypto_mic_len() 1899 enum hal_encrypt_type enctype) in ath11k_dp_rx_crypto_param_len() argument 1901 switch (enctype) { in ath11k_dp_rx_crypto_param_len() 1922 ath11k_warn(ar->ab, "unsupported encryption type %d\n", enctype); in ath11k_dp_rx_crypto_param_len() 1927 enum hal_encrypt_type enctype) in ath11k_dp_rx_crypto_icv_len() argument 1929 switch (enctype) { in ath11k_dp_rx_crypto_icv_len() 1947 ath11k_warn(ar->ab, "unsupported encryption type %d\n", enctype); in ath11k_dp_rx_crypto_icv_len() 1954 enum hal_encrypt_type enctype, in ath11k_dp_rx_h_undecap_nwifi() argument 2031 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 2091 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 2119 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 2166 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 2238 enum hal_encrypt_type enctype; ath11k_dp_rx_h_mpdu() local 3273 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 3312 enum hal_encrypt_type enctype; ath11k_dp_rx_h_defrag() local [all...] |
| H A D | dp_rx.h | 99 int ath11k_dp_rx_crypto_mic_len(struct ath11k *ar, enum hal_encrypt_type enctype);
|
| /linux/crypto/krb5/ |
| H A D | krb5_api.c | 30 * @enctype: The standard Kerberos encryption type number 35 const struct krb5_enctype *crypto_krb5_find_enctype(u32 enctype) in crypto_krb5_find_enctype() argument 42 if (krb5->etype == enctype) in crypto_krb5_find_enctype()
|
| /linux/include/crypto/ |
| H A D | krb5.h | 117 const struct krb5_enctype *crypto_krb5_find_enctype(u32 enctype);
|
| /linux/include/trace/events/ |
| H A D | afs.h | 673 __field(u32, enctype) 681 __entry->enctype = call->enctype; 691 __entry->enctype)
|
| /linux/Documentation/crypto/ |
| H A D | krb5.rst | 104 const struct krb5_enctype *crypto_krb5_find_enctype(u32 enctype);
|
| /linux/fs/afs/ |
| H A D | rxrpc.c | 825 &call->enctype); in afs_deliver_cm_op_id()
|
| H A D | internal.h | 182 u32 enctype; /* Security encoding type */ member
|