Home
last modified time | relevance | path

Searched refs:enctype (Results 1 – 25 of 26) sorted by relevance

12

/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_test.c
H A Dgss_krb5_mech.c144 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 Drxgk_app.c50 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 Dsecurity.c163 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 Drxgk_kdf.c223 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 Drxgk.c24 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 Drxperf.c582 static int rxperf_add_yfs_rxgk_key(struct key *keyring, u32 enctype)
584 const struct krb5_enctype *krb5 = crypto_krb5_find_enctype(enctype);
597 sprintf(name, "%u:6:0:%u", RX_PERF_SERVICE, enctype); in rxperf_add_yfs_rxgk_key()
586 rxperf_add_yfs_rxgk_key(struct key * keyring,u32 enctype) rxperf_add_yfs_rxgk_key() argument
H A Drxgk_common.h60 unsigned int enctype,
H A Dkey.c225 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 Dar-internal.h593 u32 enctype; /* Kerberos 5 encoding type */ member
/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_rx.c875 int ath12k_dp_rx_crypto_mic_len(struct ath12k_dp *dp, enum hal_encrypt_type enctype) in ath12k_dp_rx_crypto_mic_len()
877 switch (enctype) { in ath12k_dp_rx_crypto_mic_len()
897 ath12k_warn(dp->ab, "unsupported encryption type %d for mic len\n", enctype); in ath12k_dp_rx_crypto_param_len()
902 enum hal_encrypt_type enctype) in ath12k_dp_rx_crypto_param_len()
904 switch (enctype) { in ath12k_dp_rx_crypto_param_len()
925 ath12k_warn(dp_pdev->dp->ab, "unsupported encryption type %d\n", enctype); in ath12k_dp_rx_crypto_icv_len()
930 enum hal_encrypt_type enctype) in ath12k_dp_rx_crypto_icv_len()
932 switch (enctype) { in ath12k_dp_rx_crypto_icv_len()
950 ath12k_warn(dp_pdev->dp->ab, "unsupported encryption type %d\n", enctype); in ath12k_dp_rx_h_undecap_nwifi()
956 enum hal_encrypt_type enctype, in ath12k_dp_rx_h_undecap_nwifi()
871 ath12k_dp_rx_crypto_mic_len(struct ath12k_dp * dp,enum hal_encrypt_type enctype) ath12k_dp_rx_crypto_mic_len() argument
898 ath12k_dp_rx_crypto_param_len(struct ath12k_pdev_dp * dp_pdev,enum hal_encrypt_type enctype) ath12k_dp_rx_crypto_param_len() argument
926 ath12k_dp_rx_crypto_icv_len(struct ath12k_pdev_dp * dp_pdev,enum hal_encrypt_type enctype) ath12k_dp_rx_crypto_icv_len() argument
952 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
1000 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
1061 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
1102 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,enum ath12k_dp_rx_decap_type decap_type) ath12k_dp_rx_h_undecap_eth() argument
1143 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,struct ath12k_dp_peer * peer) ath12k_dp_rx_h_undecap() argument
1507 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 Dhal.h730 u32 enctype; member
1378 enum hal_encrypt_type enctype);
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_rx.c1425 enum htt_rx_mpdu_encrypt_type enctype, in ath10k_htt_rx_h_undecap_raw() argument
1484 crypto_len = ath10k_htt_rx_crypto_param_len(ar, enctype); in ath10k_htt_rx_h_undecap_raw()
1518 ath10k_htt_rx_crypto_mic_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw()
1521 ath10k_htt_rx_crypto_icv_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw()
1526 ath10k_htt_rx_crypto_mic_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw()
1531 ath10k_htt_rx_crypto_icv_len(ar, enctype)); in ath10k_htt_rx_h_undecap_raw()
1537 enctype == HTT_RX_MPDU_ENCRYPT_TKIP_WPA) in ath10k_htt_rx_h_undecap_raw()
1543 crypto_len = ath10k_htt_rx_crypto_param_len(ar, enctype); in ath10k_htt_rx_h_undecap_raw()
1555 enum htt_rx_mpdu_encrypt_type enctype) in ath10k_htt_rx_h_undecap_nwifi() argument
1597 ath10k_htt_rx_crypto_param_len(ar, enctype)), in ath10k_htt_rx_h_undecap_nwifi()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.c1877 int ath11k_dp_rx_crypto_mic_len(struct ath11k *ar, enum hal_encrypt_type enctype) in ath11k_dp_rx_crypto_mic_len()
1879 switch (enctype) { in ath11k_dp_rx_crypto_mic_len()
1899 ath11k_warn(ar->ab, "unsupported encryption type %d for mic len\n", enctype); in ath11k_dp_rx_crypto_param_len() argument
1904 enum hal_encrypt_type enctype) in ath11k_dp_rx_crypto_param_len()
1906 switch (enctype) { in ath11k_dp_rx_crypto_param_len()
1927 ath11k_warn(ar->ab, "unsupported encryption type %d\n", enctype); in ath11k_dp_rx_crypto_icv_len() argument
1932 enum hal_encrypt_type enctype) in ath11k_dp_rx_crypto_icv_len()
1934 switch (enctype) { in ath11k_dp_rx_crypto_icv_len()
1952 ath11k_warn(ar->ab, "unsupported encryption type %d\n", enctype); in ath11k_dp_rx_h_undecap_nwifi()
1959 enum hal_encrypt_type enctype, in ath11k_dp_rx_h_undecap_nwifi()
1872 ath11k_dp_rx_crypto_mic_len(struct ath11k * ar,enum hal_encrypt_type enctype) ath11k_dp_rx_crypto_mic_len() argument
1954 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
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
3307 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
3346 enum hal_encrypt_type enctype; ath11k_dp_rx_h_defrag() local
[all...]
H A Dmac.c6200 enum hal_encrypt_type enctype; in ath11k_mac_mgmt_tx_wmi()
6230 enctype = ath11k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath11k_mac_mgmt_tx_wmi()
6231 mic_len = ath11k_dp_rx_crypto_mic_len(ar, enctype); in ath11k_mac_mgmt_tx_wmi()
6198 enum hal_encrypt_type enctype; ath11k_mac_mgmt_tx_wmi() local
/linux/fs/afs/
H A Dcm_security.c195 u32 enctype; in afs_create_yfs_cm_token() local
204 enctype = rxgk_kernel_query_challenge(challenge); in afs_create_yfs_cm_token()
206 conn_krb5 = crypto_krb5_find_enctype(enctype); in afs_create_yfs_cm_token()
H A Drxrpc.c828 &call->enctype); in afs_deliver_cm_op_id()
H A Dinternal.h182 u32 enctype; /* Security encoding type */ member
/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Ddp_rx.c341 enum hal_encrypt_type enctype; in ath12k_wifi7_dp_rx_h_mpdu()
378 enctype = peer->sec_type_grp; in ath12k_wifi7_dp_rx_h_mpdu()
380 enctype = peer->sec_type; in ath12k_wifi7_dp_rx_h_mpdu()
382 enctype = HAL_ENCRYPT_TYPE_OPEN; in ath12k_wifi7_dp_rx_h_mpdu()
385 if (enctype != HAL_ENCRYPT_TYPE_OPEN && !err_bitmap) in ath12k_wifi7_dp_rx_h_mpdu()
412 ath12k_dp_rx_h_undecap(dp_pdev, msdu, enctype, is_decrypted, rx_info, in ath12k_wifi7_dp_rx_h_mpdu()
1005 enum hal_encrypt_type enctype, in ath12k_wifi7_dp_rx_h_verify_tkip_mic()
1022 if (enctype != HAL_ENCRYPT_TYPE_TKIP_MIC) in ath12k_wifi7_dp_rx_h_verify_tkip_mic()
1077 enum hal_encrypt_type enctype, in ath12k_wifi7_dp_rx_h_defrag()
1096 if (enctype ! in ath12k_wifi7_dp_rx_h_defrag()
332 enum hal_encrypt_type enctype; ath12k_wifi7_dp_rx_h_mpdu() local
993 ath12k_wifi7_dp_rx_h_verify_tkip_mic(struct ath12k_pdev_dp * dp_pdev,struct ath12k_dp_peer * peer,enum hal_encrypt_type enctype,struct sk_buff * msdu,struct hal_rx_desc_data * rx_info) ath12k_wifi7_dp_rx_h_verify_tkip_mic() argument
1065 ath12k_wifi7_dp_rx_h_defrag(struct ath12k_pdev_dp * dp_pdev,struct ath12k_dp_peer * peer,struct ath12k_dp_rx_tid * rx_tid,struct sk_buff ** defrag_skb,enum hal_encrypt_type enctype,struct hal_rx_desc_data * rx_info) ath12k_wifi7_dp_rx_h_defrag() argument
1169 enum hal_encrypt_type enctype = rx_info->enctype; ath12k_wifi7_dp_rx_frag_h_mpdu() local
[all...]
H A Dhal_qcc2072.c127 enum hal_encrypt_type enctype) in ath12k_hal_rx_desc_get_crypto_hdr_qcc2072() argument
131 switch (enctype) { in ath12k_hal_rx_desc_get_crypto_hdr_qcc2072()
404 rx_desc_data->enctype = ath12k_hal_rx_desc_get_encrypt_type_qcc2072(rx_desc); in ath12k_hal_extract_rx_desc_data_qcc2072()
H A Dhal_wcn7850.c543 enum hal_encrypt_type enctype) in ath12k_hal_rx_desc_get_crypto_hdr_wcn7850() argument
547 switch (enctype) { in ath12k_hal_rx_desc_get_crypto_hdr_wcn7850()
606 rx_desc_data->enctype = ath12k_hal_rx_desc_get_encrypt_type_wcn7850(rx_desc); in ath12k_hal_extract_rx_desc_data_wcn7850()
H A Dhal_qcn9274.c857 enum hal_encrypt_type enctype) in ath12k_hal_rx_desc_get_crypto_hdr_qcn9274() argument
861 switch (enctype) { in ath12k_hal_rx_desc_get_crypto_hdr_qcn9274()
924 rx_desc_data->enctype = ath12k_hal_rx_desc_get_encrypt_type_qcn9274(rx_desc); in ath12k_hal_extract_rx_desc_data_qcn9274()
/linux/include/crypto/
H A Dkrb5.h117 const struct krb5_enctype *crypto_krb5_find_enctype(u32 enctype);
/linux/include/trace/events/
H A Dafs.h673 __field(u32, enctype)
681 __entry->enctype = call->enctype;
691 __entry->enctype)
/linux/Documentation/crypto/
H A Dkrb5.rst104 const struct krb5_enctype *crypto_krb5_find_enctype(u32 enctype);

12