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
@@ -112,5 +112,5 @@ _init_kmac :: proc(ctx: ^Context, key, s: []byte, sec_strength: int) {
_sha3.bytepad(ctx_, [][]byte{key}, _sha3.rate_cshake(sec_strength))
}
@(private)
@(private, rodata)
N_KMAC := []byte{'K', 'M', 'A', 'C'}