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
@@ -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'}