use much faster get_random_{type}_uniform approach

This commit is contained in:
Daniel Micay
2018-08-30 01:16:58 -04:00
parent 1c181557c7
commit 99fcddc223
3 changed files with 231 additions and 41 deletions

View File

@@ -1,5 +1,5 @@
CPPFLAGS := -D_GNU_SOURCE
CFLAGS := -std=c11 -Wall -Wextra -O2 -flto -fPIC -fvisibility=hidden -pedantic -fno-plt
CFLAGS := -std=c11 -Wall -Wextra -O2 -flto -fPIC -fvisibility=hidden -fno-plt
LDFLAGS := -Wl,--as-needed,-z,defs,-z,relro,-z,now
LDLIBS := -lpthread
OBJECTS := chacha.o malloc.o memory.o random.o util.o