| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This is required by PASETO v3.local
|
|
|
|
|
|
| |
This fixes the signature parsing and building to work correctly. Sometimes
a signature was one or two bytes too short, and needed to be padded. OpenSSL
can do this for us.
|
|
|
|
|
|
|
|
| |
In Lua 5.3 LUAL_BUFFERSIZE is a macro computed from sizeof and is thus
not known at pre-processing time, so this does not work.
Since Lua 5.1 is no longer supported, we can use luaL_prepbuffsize()
which is available from Lua 5.2
|
|
|
|
|
|
|
|
|
| |
Removes assumption that LUAL_BUFFERSIZE is known at pre-processing time,
which it is not in Lua 5.3 and 5.4, where it is a computed macro based
on sizeof.
Allocation of stack space is safer and faster, no need to worry about
luaL_prepbuffer failing to allocate memory and skipping free()
|
| |
|
| |
|
|
|
|
| |
These are used by the RS*** and PS*** family of JOSE algorithms (e.g. in JWTs)
|
|
Specifically, ED25519 key generation/import/export, sign/verify operations,
and AES encrypt/decrypt.
|