summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION56
1 files changed, 54 insertions, 2 deletions
diff --git a/REFLECTION b/REFLECTION
index 1d06cf3..c546d38 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,6 +1,10 @@
-Extension [ <persistent> extension #117 libsodium version 1.0.0 ] {
+Extension [ <persistent> extension #117 libsodium version 1.0.1 ] {
- - Constants [41] {
+ - Constants [46] {
+ Constant [ integer Sodium\CRYPTO_AEAD_AES256GCM_KEYBYTES ] { 32 }
+ Constant [ integer Sodium\CRYPTO_AEAD_AES256GCM_NSECBYTES ] { 0 }
+ Constant [ integer Sodium\CRYPTO_AEAD_AES256GCM_NPUBBYTES ] { 12 }
+ Constant [ integer Sodium\CRYPTO_AEAD_AES256GCM_ABYTES ] { 16 }
Constant [ integer Sodium\CRYPTO_AEAD_CHACHA20POLY1305_KEYBYTES ] { 32 }
Constant [ integer Sodium\CRYPTO_AEAD_CHACHA20POLY1305_NSECBYTES ] { 0 }
Constant [ integer Sodium\CRYPTO_AEAD_CHACHA20POLY1305_NPUBBYTES ] { 8 }
@@ -13,6 +17,7 @@ Extension [ <persistent> extension #117 libsodium version 1.0.0 ] {
Constant [ integer Sodium\CRYPTO_BOX_KEYPAIRBYTES ] { 64 }
Constant [ integer Sodium\CRYPTO_BOX_MACBYTES ] { 16 }
Constant [ integer Sodium\CRYPTO_BOX_NONCEBYTES ] { 24 }
+ Constant [ integer Sodium\CRYPTO_BOX_SEEDBYTES ] { 32 }
Constant [ integer Sodium\CRYPTO_KX_BYTES ] { 32 }
Constant [ integer Sodium\CRYPTO_KX_PUBLICKEYBYTES ] { 32 }
Constant [ integer Sodium\CRYPTO_KX_SECRETKEYBYTES ] { 32 }
@@ -45,6 +50,29 @@ Extension [ <persistent> extension #117 libsodium version 1.0.0 ] {
}
- Functions {
+ Function [ <internal:libsodium> function Sodium\crypto_aead_aes256gcm_is_available ] {
+
+ - Parameters [0] {
+ }
+ }
+ Function [ <internal:libsodium> function Sodium\crypto_aead_aes256gcm_decrypt ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $string ]
+ Parameter #1 [ <required> $ad ]
+ Parameter #2 [ <required> $nonce ]
+ Parameter #3 [ <required> $key ]
+ }
+ }
+ Function [ <internal:libsodium> function Sodium\crypto_aead_aes256gcm_encrypt ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $string ]
+ Parameter #1 [ <required> $ad ]
+ Parameter #2 [ <required> $nonce ]
+ Parameter #3 [ <required> $key ]
+ }
+ }
Function [ <internal:libsodium> function Sodium\crypto_aead_chacha20poly1305_decrypt ] {
- Parameters [4] {
@@ -91,6 +119,12 @@ Extension [ <persistent> extension #117 libsodium version 1.0.0 ] {
- Parameters [0] {
}
}
+ Function [ <internal:libsodium> function Sodium\crypto_box_seed_keypair ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
Function [ <internal:libsodium> function Sodium\crypto_box_keypair_from_secretkey_and_publickey ] {
- Parameters [2] {
@@ -245,6 +279,18 @@ Extension [ <persistent> extension #117 libsodium version 1.0.0 ] {
Parameter #1 [ <required> $keypair ]
}
}
+ Function [ <internal:libsodium> function Sodium\crypto_sign_ed25519_pk_to_curve25519 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+ Function [ <internal:libsodium> function Sodium\crypto_sign_ed25519_sk_to_curve25519 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
Function [ <internal:libsodium> function Sodium\crypto_sign_keypair ] {
- Parameters [0] {
@@ -335,6 +381,12 @@ Extension [ <persistent> extension #117 libsodium version 1.0.0 ] {
Parameter #0 [ <required> $string ]
}
}
+ Function [ <internal:libsodium> function Sodium\compare ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $string ]
+ }
+ }
Function [ <internal:libsodium> function Sodium\hex2bin ] {
- Parameters [2] {