core/crypto: Add rodata annotations (NFC)

This commit is contained in:
Yawning Angel committed 2025-03-23 19:14:33 +09:00
1 parent 50d40c2a26
commit bb395aeb41
14 files changed
+29 -23

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ SCALAR_SIZE :: 32
// POINT_SIZE is the size of a X25519 point (public key/shared secret) in bytes.
POINT_SIZE :: 32
@(private)
@(private, rodata)
_BASE_POINT: [32]byte = {9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
@(private)