Home
last modified time | relevance | path

Searched refs:sm4_ccm_info (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/net/tls/
Dtls_main.c508 struct tls12_crypto_info_sm4_ccm *sm4_ccm_info = in do_tls_getsockopt_conf() local
512 if (len != sizeof(*sm4_ccm_info)) { in do_tls_getsockopt_conf()
517 memcpy(sm4_ccm_info->iv, in do_tls_getsockopt_conf()
520 memcpy(sm4_ccm_info->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()
523 if (copy_to_user(optval, sm4_ccm_info, sizeof(*sm4_ccm_info))) in do_tls_getsockopt_conf()
Dtls_sw.c2618 struct tls12_crypto_info_sm4_ccm *sm4_ccm_info; in tls_set_sw_offload() local
2620 sm4_ccm_info = (void *)crypto_info; in tls_set_sw_offload()
2624 iv = sm4_ccm_info->iv; in tls_set_sw_offload()
2626 rec_seq = sm4_ccm_info->rec_seq; in tls_set_sw_offload()
2628 key = sm4_ccm_info->key; in tls_set_sw_offload()
2629 salt = sm4_ccm_info->salt; in tls_set_sw_offload()