Browse Source

Add missing package qualifier to Context

Antonino Simone Di Stefano 10 months ago
parent
commit
5a6f761535
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/crypto/_chacha20/simd128/chacha20_simd128.odin

+ 1 - 1
core/crypto/_chacha20/simd128/chacha20_simd128.odin

@@ -51,7 +51,7 @@ _ROT_16: simd.u32x4 : {16, 16, 16, 16}
 
 
 when ODIN_ENDIAN == .Big {
 when ODIN_ENDIAN == .Big {
 	@(private = "file")
 	@(private = "file")
-	_increment_counter :: #force_inline proc "contextless" (ctx: ^Context) -> simd.u32x4 {
+	_increment_counter :: #force_inline proc "contextless" (ctx: ^_chacha20.Context) -> simd.u32x4 {
 		// In the Big Endian case, the low and high portions in the vector
 		// In the Big Endian case, the low and high portions in the vector
 		// are flipped, so the 64-bit addition can't be done with a simple
 		// are flipped, so the 64-bit addition can't be done with a simple
 		// vector add.
 		// vector add.