Home
last modified time | relevance | path

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

/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 Drxgk_common.h60 unsigned int enctype,
H A Drxperf.c586 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 Dkey.c160 * 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 Dar-internal.h593 u32 enctype; /* Kerberos 5 encoding type */ member
/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_rx.c871 int ath12k_dp_rx_crypto_mic_len(struct ath12k_dp *dp, enum hal_encrypt_type enctype) in ath12k_dp_rx_crypto_mic_len() argument
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_mic_len()
898 enum hal_encrypt_type enctype) in ath12k_dp_rx_crypto_param_len() argument
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_param_len()
926 enum hal_encrypt_type enctype) in ath12k_dp_rx_crypto_icv_len() argument
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_crypto_icv_len()
952 enum hal_encrypt_type enctype, in ath12k_dp_rx_h_undecap_nwifi() argument
[all …]
H A Dhal.h730 u32 enctype; member
1378 enum hal_encrypt_type enctype);
H A Dmac.c9218 enum hal_encrypt_type enctype; in ath12k_mac_mgmt_tx_wmi() local
9241 enctype = ath12k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath12k_mac_mgmt_tx_wmi()
9242 mic_len = ath12k_dp_rx_crypto_mic_len(ab->dp, enctype); in ath12k_mac_mgmt_tx_wmi()
/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/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.c832 &call->enctype); in afs_deliver_cm_op_id()
H A Dinternal.h182 u32 enctype; /* Security encoding type */ member
/linux/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.c1872 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
[all …]
/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Ddp_rx.c332 enum hal_encrypt_type enctype; in ath12k_wifi7_dp_rx_h_mpdu() local
369 enctype = peer->sec_type_grp; in ath12k_wifi7_dp_rx_h_mpdu()
371 enctype = peer->sec_type; in ath12k_wifi7_dp_rx_h_mpdu()
373 enctype = HAL_ENCRYPT_TYPE_OPEN; in ath12k_wifi7_dp_rx_h_mpdu()
376 if (enctype != HAL_ENCRYPT_TYPE_OPEN && !err_bitmap) in ath12k_wifi7_dp_rx_h_mpdu()
403 ath12k_dp_rx_h_undecap(dp_pdev, msdu, enctype, is_decrypted, rx_info, in ath12k_wifi7_dp_rx_h_mpdu()
993 enum hal_encrypt_type enctype, in ath12k_wifi7_dp_rx_h_verify_tkip_mic() argument
1010 if (enctype != HAL_ENCRYPT_TYPE_TKIP_MIC) in ath12k_wifi7_dp_rx_h_verify_tkip_mic()
1065 enum hal_encrypt_type enctype, in ath12k_wifi7_dp_rx_h_defrag() argument
1084 if (enctype != HAL_ENCRYPT_TYPE_OPEN) in ath12k_wifi7_dp_rx_h_defrag()
[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);