aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/util/crypto.d.tl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-23 13:36:52 +0100
committerKim Alvefur <zash@zash.se>2023-03-23 13:36:52 +0100
commitf68336b96e0d843511bb1bd3fdac8bba2fe4573a (patch)
treea54111914e081293e50b846e7f0d9654e885c2ed /teal-src/util/crypto.d.tl
parent738df041ac3965496e9247acc95d80f84d30b2b5 (diff)
downloadprosody-f68336b96e0d843511bb1bd3fdac8bba2fe4573a.tar.gz
prosody-f68336b96e0d843511bb1bd3fdac8bba2fe4573a.zip
teal: Move into prosody namespace
Diffstat (limited to 'teal-src/util/crypto.d.tl')
-rw-r--r--teal-src/util/crypto.d.tl29
1 files changed, 0 insertions, 29 deletions
diff --git a/teal-src/util/crypto.d.tl b/teal-src/util/crypto.d.tl
deleted file mode 100644
index cf0b0d1b..00000000
--- a/teal-src/util/crypto.d.tl
+++ /dev/null
@@ -1,29 +0,0 @@
-local record lib
- record key
- private_pem : function (key) : string
- public_pem : function (key) : string
- get_type : function (key) : string
- end
-
- generate_ed25519_keypair : function () : key
- ed25519_sign : function (key, string) : string
- ed25519_verify : function (key, string, string) : boolean
-
- ecdsa_sha256_sign : function (key, string) : string
- ecdsa_sha256_verify : function (key, string, string) : boolean
- parse_ecdsa_signature : function (string) : string, string
- build_ecdsa_signature : function (string, string) : string
-
- import_private_pem : function (string) : key
- import_public_pem : function (string) : key
-
- aes_128_gcm_encrypt : function (key, string, string) : string
- aes_128_gcm_decrypt : function (key, string, string) : string
- aes_256_gcm_encrypt : function (key, string, string) : string
- aes_256_gcm_decrypt : function (key, string, string) : string
-
-
- version : string
- _LIBCRYPTO_VERSION : string
-end
-return lib