aboutsummaryrefslogtreecommitdiff
path: root/core/crypto/_blake2/blake2.odin
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2024-08-31 04:22:32 +0900
committerYawning Angel <yawning@schwanenlied.me>2025-03-23 19:14:33 +0900
commitbb395aeb41873632c35846f2077eea01a69ce1c1 (patch)
treecf6f8ac8e86ac257ead8f0a500a93af004da08ed /core/crypto/_blake2/blake2.odin
parent50d40c2a268af654487cb16ca1abbdbd3154d796 (diff)
core/crypto: Add `rodata` annotations (NFC)
Diffstat (limited to 'core/crypto/_blake2/blake2.odin')
-rw-r--r--core/crypto/_blake2/blake2.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/crypto/_blake2/blake2.odin b/core/crypto/_blake2/blake2.odin
index 2ad74843b..a012b7e70 100644
--- a/core/crypto/_blake2/blake2.odin
+++ b/core/crypto/_blake2/blake2.odin
@@ -68,13 +68,13 @@ Blake2_Tree :: struct {
is_last_node: bool,
}
-@(private)
+@(private, rodata)
BLAKE2S_IV := [8]u32 {
0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a,
0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19,
}
-@(private)
+@(private, rodata)
BLAKE2B_IV := [8]u64 {
0x6a09e667f3bcc908, 0xbb67ae8584caa73b,
0x3c6ef372fe94f82b, 0xa54ff53a5f1d36f1,