Software /
code /
prosody
Changeset
13861:17607f5ad815
util.crypto: Update teal interface spec
Adds interfaces added in fb970df95374
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 20 Feb 2025 00:02:10 +0100 |
parents | 13860:fa9d8c82dc9e |
children | 13862:d8d1a3ff8ce9 |
files | teal-src/prosody/util/crypto.d.tl |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/teal-src/prosody/util/crypto.d.tl Sat Nov 30 16:20:59 2024 +0100 +++ b/teal-src/prosody/util/crypto.d.tl Thu Feb 20 00:02:10 2025 +0100 @@ -2,7 +2,9 @@ record key private_pem : function (key) : string public_pem : function (key) : string + public_raw : function (key) : string get_type : function (key) : string + derive : function (key, key) : string end type base_evp_sign = function (key, message : string) : string @@ -44,9 +46,11 @@ aes_256_ctr_decrypt : Levp_decrypt generate_ed25519_keypair : function () : key + generate_p256_keypair : function () : key import_private_pem : function (string) : key import_public_pem : function (string) : key + import_public_ec_raw : function (string, string) : key parse_ecdsa_signature : function (string, integer) : string, string build_ecdsa_signature : function (r : string, s : string) : string