aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_crypto_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.crypto: Add more ECC methodsStephen Paul Weber2024-10-291-0/+21
| | | | | | | pkey_meth_derive: to derive a shared symmetric key from two ECC keys pkey_meth_public_raw: to get the raw form of the public key import_public_ec_raw: to import the raw form of the public key generate_p256_keypair: key generation for the P-256 curve
* util.crypto: Add support for AES-256-CTRMatthew Wild2023-01-131-0/+17
| | | | This is required by PASETO v3.local
* util.crypto: Fix testsKim Alvefur2022-09-301-3/+3
| | | | | | Found this number in a hat. Sleepy time. Good night.
* util.crypto: tests: fix some tests that didn't do much (thanks luacheck!)Matthew Wild2022-07-021-3/+2
|
* spec: Move test crypto keys to a shared file for clarity and easy maintenanceMatthew Wild2022-07-021-29/+1
|
* util.crypto: New wrapper for some operations in OpenSSL's libcryptoMatthew Wild2022-06-241-0/+196
Specifically, ED25519 key generation/import/export, sign/verify operations, and AES encrypt/decrypt.