Add Curve25519() API to Redbean

This commit is contained in:
Justine Tunney 2024-01-20 01:06:19 -08:00
parent 1226eb7a5e
commit d50064a779
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
3 changed files with 38 additions and 1 deletions

View file

@ -49,7 +49,6 @@
#include "libc/math.h"
#include "libc/mem/alloca.h"
#include "libc/mem/gc.h"
#include "libc/mem/gc.h"
#include "libc/mem/mem.h"
#include "libc/nexgen32e/crc32.h"
#include "libc/nexgen32e/rdtsc.h"
@ -5161,6 +5160,7 @@ static const luaL_Reg kLuaFuncs[] = {
{"Compress", LuaCompress}, //
{"Crc32", LuaCrc32}, //
{"Crc32c", LuaCrc32c}, //
{"Curve25519", LuaCurve25519}, //
{"Decimate", LuaDecimate}, //
{"DecodeBase32", LuaDecodeBase32}, //
{"DecodeBase64", LuaDecodeBase64}, //