[PR #70] [CLOSED] move hmac realization inside of noise.c as it was deleted from kernel #183

Closed
opened 2026-10-13 21:07:25 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/pull/70
Author: @ybogo
Created: 2/3/2025
Status: ❌ Closed

Base: master ← Head: move-hmac-inside


📝 Commits (1)

  • 8153b7f move hmac realization inside of noise.c as it was deleted from kernel crypto lib

📊 Changes

1 file changed (+75 additions, -0 deletions)

View changed files

➕ src/patches/008-move-hmac-inside.patch (+75 -0)

📄 Description

Due to blake2s_hmac function was deleted from linux kernel crypto lib and was moved inside of wireguard realization amneziawg could not be build with linux kernel version higher than 5.15.43.

In this PR fixes same operations was applied as for wireguard in this commit github.com/torvalds/linux@d8d83d8ab0 (diff-5da3b3ae7f)

Closes: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/12


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/pull/70 **Author:** [@ybogo](https://github.com/ybogo) **Created:** 2/3/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `move-hmac-inside` --- ### 📝 Commits (1) - [`8153b7f`](https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/commit/8153b7f42dc8289806ec7d271a9a1a6e1e525558) move hmac realization inside of noise.c as it was deleted from kernel crypto lib ### 📊 Changes **1 file changed** (+75 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `src/patches/008-move-hmac-inside.patch` (+75 -0) </details> ### 📄 Description Due to `blake2s_hmac` function was deleted from linux kernel crypto lib and was moved inside of wireguard realization amneziawg could not be build with linux kernel version higher than 5.15.43. In this PR fixes same operations was applied as for wireguard in this commit https://github.com/torvalds/linux/commit/d8d83d8ab0a453e17e68b3a3bed1f940c34b8646#diff-5da3b3ae7f16fc65df44e74e09f4aee5c369888625a32bdb98434a2971bf8999 Closes: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/12 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-13 21:07:25 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-linux-kernel-module#183
No description provided.