Searched refs:hmac_sha256 (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/net/bluetooth/ |
D | amp.c | 127 static int hmac_sha256(u8 *key, u8 ksize, char *plaintext, u8 psize, u8 *output) in hmac_sha256() function 199 err = hmac_sha256(keybuf, HCI_AMP_LINK_KEY_SIZE, "gamp", 4, gamp_key); in phylink_gen_key() 212 return hmac_sha256(gamp_key, HCI_AMP_LINK_KEY_SIZE, "802b", 4, data); in phylink_gen_key()
|
/linux-6.6.21/net/ceph/ |
D | messenger_v2.c | 798 static int hmac_sha256(struct ceph_connection *con, const struct kvec *kvecs, in hmac_sha256() function 1469 ret = hmac_sha256(con, con->v2.in_sign_kvecs, con->v2.in_sign_kvec_cnt, in prepare_auth_signature() 2464 ret = hmac_sha256(con, con->v2.out_sign_kvecs, in process_auth_signature()
|