Lines Matching refs:aead
327 if (x->aead) { in nfp_net_xfrm_add_state()
385 if (x->aead && !strcmp(x->aead->alg_name, "rfc7539esp(chacha20,poly1305)")) { in nfp_net_xfrm_add_state()
391 if (x->aead->alg_icv_len != 128) { in nfp_net_xfrm_add_state()
398 if (x->aead->alg_key_len - 32 != 256) { in nfp_net_xfrm_add_state()
423 if (!x->aead) { in nfp_net_xfrm_add_state()
428 if (x->aead->alg_icv_len != 128) { in nfp_net_xfrm_add_state()
436 if (set_aes_keylen(cfg, x->props.ealgo, x->aead->alg_key_len - 32)) { in nfp_net_xfrm_add_state()
457 if (x->aead) { in nfp_net_xfrm_add_state()
461 key_len = DIV_ROUND_UP(x->aead->alg_key_len, BITS_PER_BYTE); in nfp_net_xfrm_add_state()
473 if (!strcmp(x->aead->alg_name, "rfc7539esp(chacha20,poly1305)")) in nfp_net_xfrm_add_state()
479 cfg->ciph_key[index] = get_unaligned_be32(x->aead->alg_key + in nfp_net_xfrm_add_state()
484 cfg->aesgcm_fields.salt = get_unaligned_be32(x->aead->alg_key + key_len); in nfp_net_xfrm_add_state()