We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39f5630 commit 2519c0bCopy full SHA for 2519c0b
core/crypto/sha256.h
@@ -15,8 +15,10 @@
15
int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem,
16
const u8 *addr[], const size_t *len, u8 *mac);
17
#endif
18
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(6, 18, 0))
19
int hmac_sha256(const u8 *key, size_t key_len, const u8 *data,
20
size_t data_len, u8 *mac);
21
+#endif
22
int sha256_prf(const u8 *key, size_t key_len, const char *label,
23
const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
24
int sha256_prf_bits(const u8 *key, size_t key_len, const char *label,
0 commit comments