Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/netronome/nfp/crypto/
H A Dipsec.c89 u32 ciph_key[8]; /* Cipher Key */ member
435 if (key_len > sizeof(cfg->ciph_key)) { in nfp_net_xfrm_add_state()
440 for (i = 0; i < key_len / sizeof(cfg->ciph_key[0]) ; i++) in nfp_net_xfrm_add_state()
441 cfg->ciph_key[i] = get_unaligned_be32(x->aead->alg_key + in nfp_net_xfrm_add_state()
442 sizeof(cfg->ciph_key[0]) * i); in nfp_net_xfrm_add_state()
451 if (key_len > sizeof(cfg->ciph_key)) { in nfp_net_xfrm_add_state()
455 for (i = 0; i < key_len / sizeof(cfg->ciph_key[0]) ; i++) in nfp_net_xfrm_add_state()
456 cfg->ciph_key[i] = get_unaligned_be32(x->ealg->alg_key + in nfp_net_xfrm_add_state()
457 sizeof(cfg->ciph_key[0]) * i); in nfp_net_xfrm_add_state()