File kernel618.patch of Package rtl8852au

diff -Naur rtl8852au/core/crypto/sha256.c rtl8852aun/core/crypto/sha256.c
--- rtl8852au/core/crypto/sha256.c	2025-02-11 10:25:00.937067939 +0100
+++ rtl8852aun/core/crypto/sha256.c	2025-10-16 13:51:53.853772954 +0200
@@ -97,7 +97,7 @@
  * @mac: Buffer for the hash (32 bytes)
  * Returns: 0 on success, -1 on failure
  */
-int hmac_sha256(const u8 *key, size_t key_len, const u8 *data,
+int rtw_hmac_sha256(const u8 *key, size_t key_len, const u8 *data,
 		size_t data_len, u8 *mac)
 {
 	return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac);
diff -Naur rtl8852au/core/crypto/sha256.h rtl8852aun/core/crypto/sha256.h
--- rtl8852au/core/crypto/sha256.h	2025-02-11 10:25:00.937067939 +0100
+++ rtl8852aun/core/crypto/sha256.h	2025-10-16 13:52:17.881790384 +0200
@@ -13,7 +13,7 @@
 
 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem,
 		       const u8 *addr[], const size_t *len, u8 *mac);
-int hmac_sha256(const u8 *key, size_t key_len, const u8 *data,
+int rtw_hmac_sha256(const u8 *key, size_t key_len, const u8 *data,
 		size_t data_len, u8 *mac);
 int sha256_prf(const u8 *key, size_t key_len, const char *label,
 	       const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
openSUSE Build Service is sponsored by