Lines Matching refs:key
18 * @key: key byte array
22 u32 key[], u32 salt)
29 (__force u32)cpu_to_be32(key[3 - i]));
68 * @key: key byte array
74 u32 key[], u32 salt, u32 mode, u32 ip_idx)
86 /* store the key, salt, and mode */
89 (__force u32)cpu_to_be32(key[3 - i]));
327 r->key, r->salt,
335 ixgbe_ipsec_set_tx_sa(hw, i, t->key, t->salt);
419 * ixgbe_ipsec_parse_proto_keys - find the key and salt based on the protocol
421 * @mykey: pointer to key array to populate
456 /* The key bytes come down in a bigendian array of bytes, so
458 * 160 accounts for 16 byte key and 4 byte salt
617 /* get the key and salt */
618 ret = ixgbe_ipsec_parse_proto_keys(xs, rsa.key, &rsa.salt);
620 NL_SET_ERR_MSG_MOD(extack, "Failed to get key data for Rx SA table");
696 ixgbe_ipsec_set_rx_sa(hw, sa_idx, rsa.xs->id.spi, rsa.key,
727 ret = ixgbe_ipsec_parse_proto_keys(xs, tsa.key, &tsa.salt);
729 NL_SET_ERR_MSG_MOD(extack, "Failed to get key data for Tx SA table");
737 ixgbe_ipsec_set_tx_sa(hw, sa_idx, tsa.key, tsa.salt);
950 memcpy(xs->aead->alg_key, sam->key, sizeof(sam->key));