Lines Matching refs:ctrl_word
107 } ctrl_word; member
181 cfg->ctrl_word.cipher = aes_gmac ? NFP_IPSEC_CIPHER_AES128_NULL : in set_aes_keylen()
185 cfg->ctrl_word.cipher = aes_gmac ? NFP_IPSEC_CIPHER_AES192_NULL : in set_aes_keylen()
189 cfg->ctrl_word.cipher = aes_gmac ? NFP_IPSEC_CIPHER_AES256_NULL : in set_aes_keylen()
203 cfg->ctrl_word.hash = NFP_IPSEC_HASH_MD5_96; in set_md5hmac()
206 cfg->ctrl_word.hash = NFP_IPSEC_HASH_MD5_128; in set_md5hmac()
217 cfg->ctrl_word.hash = NFP_IPSEC_HASH_SHA1_96; in set_sha1hmac()
220 cfg->ctrl_word.hash = NFP_IPSEC_HASH_SHA1_80; in set_sha1hmac()
231 cfg->ctrl_word.hash = NFP_IPSEC_HASH_SHA256_96; in set_sha2_256hmac()
234 cfg->ctrl_word.hash = NFP_IPSEC_HASH_SHA256_128; in set_sha2_256hmac()
245 cfg->ctrl_word.hash = NFP_IPSEC_HASH_SHA384_96; in set_sha2_384hmac()
248 cfg->ctrl_word.hash = NFP_IPSEC_HASH_SHA384_192; in set_sha2_384hmac()
259 cfg->ctrl_word.hash = NFP_IPSEC_HASH_SHA512_96; in set_sha2_512hmac()
262 cfg->ctrl_word.hash = NFP_IPSEC_HASH_SHA512_256; in set_sha2_512hmac()
285 cfg->ctrl_word.mode = NFP_IPSEC_PROTMODE_TUNNEL; in nfp_net_xfrm_add_state()
288 cfg->ctrl_word.mode = NFP_IPSEC_PROTMODE_TRANSPORT; in nfp_net_xfrm_add_state()
297 cfg->ctrl_word.proto = NFP_IPSEC_PROTOCOL_ESP; in nfp_net_xfrm_add_state()
300 cfg->ctrl_word.proto = NFP_IPSEC_PROTOCOL_AH; in nfp_net_xfrm_add_state()
335 cfg->ctrl_word.hash = NFP_IPSEC_HASH_NONE; in nfp_net_xfrm_add_state()
382 cfg->ctrl_word.cimode = NFP_IPSEC_CIMODE_CBC; in nfp_net_xfrm_add_state()
383 cfg->ctrl_word.cipher = NFP_IPSEC_CIPHER_NULL; in nfp_net_xfrm_add_state()
390 cfg->ctrl_word.cimode = NFP_IPSEC_CIMODE_CBC; in nfp_net_xfrm_add_state()
391 cfg->ctrl_word.cipher = NFP_IPSEC_CIPHER_3DES; in nfp_net_xfrm_add_state()
404 cfg->ctrl_word.cimode = NFP_IPSEC_CIMODE_CTR; in nfp_net_xfrm_add_state()
405 cfg->ctrl_word.hash = NFP_IPSEC_HASH_GF128_128; in nfp_net_xfrm_add_state()
414 cfg->ctrl_word.cimode = NFP_IPSEC_CIMODE_CBC; in nfp_net_xfrm_add_state()
481 cfg->ctrl_word.encap_dsbl = 1; in nfp_net_xfrm_add_state()
484 cfg->ctrl_word.dir = x->xso.dir; in nfp_net_xfrm_add_state()