From ba18757dc65dfd9e29cc0131020f371c989996b4 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Wed, 25 Sep 2024 16:44:16 +0200 Subject: [PATCH] fix: add libsodium's unsigned 32bit random function --- src/Tokstyle/Linter/Callgraph.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Tokstyle/Linter/Callgraph.hs b/src/Tokstyle/Linter/Callgraph.hs index fc83047..ef117e7 100644 --- a/src/Tokstyle/Linter/Callgraph.hs +++ b/src/Tokstyle/Linter/Callgraph.hs @@ -383,6 +383,7 @@ analyse = reverse . flip State.execState [] . linter . (builtins <>) . callgraph , "crypto_verify_64" , "randombytes" , "randombytes_stir" + , "randombytes_random" , "randombytes_uniform" , "sodium_init" , "sodium_memzero"