Searched refs:sm4_gcm_info (Results 1 – 2 of 2) sorted by relevance
488 struct tls12_crypto_info_sm4_gcm *sm4_gcm_info = in do_tls_getsockopt_conf() local492 if (len != sizeof(*sm4_gcm_info)) { in do_tls_getsockopt_conf()497 memcpy(sm4_gcm_info->iv, in do_tls_getsockopt_conf()500 memcpy(sm4_gcm_info->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()503 if (copy_to_user(optval, sm4_gcm_info, sizeof(*sm4_gcm_info))) in do_tls_getsockopt_conf()
2599 struct tls12_crypto_info_sm4_gcm *sm4_gcm_info; in tls_set_sw_offload() local2601 sm4_gcm_info = (void *)crypto_info; in tls_set_sw_offload()2605 iv = sm4_gcm_info->iv; in tls_set_sw_offload()2607 rec_seq = sm4_gcm_info->rec_seq; in tls_set_sw_offload()2609 key = sm4_gcm_info->key; in tls_set_sw_offload()2610 salt = sm4_gcm_info->salt; in tls_set_sw_offload()