core/crypto: Use panic_contextless instead of intrinsics.trap
This commit is contained in:
1 parent
4c28f6d170
commit
e4e76f27f6
13 files changed
+21
-33
No files matched your search
@@ -13,5 +13,5 @@ stream_blocks :: proc(ctx: ^_chacha20.Context, dst, src: []byte, nr_blocks: int)
|
||||
}
|
||||
|
||||
hchacha20 :: proc "contextless" (dst, key, iv: []byte) {
|
||||
intrinsics.trap()
|
||||
panic_contextless("crypto/chacha20: simd256 implementation unsupported")
|
||||
}
|
||||
Reference in new issue
Block a user