core/crypto: Add rodata annotations (NFC)

This commit is contained in:
Yawning Angel
2025-03-23 19:14:33 +09:00
parent 50d40c2a26
commit bb395aeb41
14 changed files with 29 additions and 23 deletions
+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)