This commit is contained in:
bluepython508 committed 2026-10-22 12:27:19 +01:00
1 parent 3530afb854
commit 6903fcff27
2146 files changed
+112256 -190703

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
//go:build !arm && !(amd64 && gc && !purego)
/* SPDX-License-Identifier: MIT
*
* Copyright (C) 2017-2023 WireGuard LLC. All Rights Reserved.
*/
package device
import (
"crypto/cipher"
"golang.org/x/crypto/chacha20poly1305"
)
func chacha20poly1305New(key []byte) (cipher.AEAD, error) {
return chacha20poly1305.New(key)
}