Lines Matching defs:key
49 rc = crypto_aead_setkey(*aead, crypto_info->key,
52 hmdfs_err("crypto set key error");
74 memcpy(tcp->connect->send_crypto_info.key, tcp->connect->send_key,
97 memcpy(tcp->connect->recv_crypto_info.key, tcp->connect->recv_key,
131 memcpy(tcp->connect->send_crypto_info.key, tcp->connect->send_key,
162 memcpy(tcp->connect->recv_crypto_info.key, tcp->connect->recv_key,
204 static int hmac_sha256(u8 *key, u8 key_len, char *info, u8 info_len, u8 *output)
210 if (!key)
219 ret = crypto_shash_setkey(tfm, key, key_len);
243 static const char *const g_key_lable[] = { "ktls key initiator",
244 "ktls key accepter",
245 "ktls key update", "ktls iv&salt" };