summaryrefslogtreecommitdiff
path: root/nettle-internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'nettle-internal.c')
-rw-r--r--nettle-internal.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/nettle-internal.c b/nettle-internal.c
index d1d76752..f271eac0 100644
--- a/nettle-internal.c
+++ b/nettle-internal.c
@@ -97,6 +97,15 @@ nettle_salsa20 = {
(nettle_crypt_func *) salsa20_crypt
};
+const struct nettle_cipher
+nettle_salsa20r12 = {
+ "salsa20r12", sizeof(struct salsa20_ctx),
+ 0, SALSA20_KEY_SIZE,
+ salsa20_set_key_hack, salsa20_set_key_hack,
+ (nettle_crypt_func *) salsa20r12_crypt,
+ (nettle_crypt_func *) salsa20r12_crypt
+};
+
const struct nettle_aead
nettle_gcm_aes128 = _NETTLE_AEAD(gcm, GCM, aes, 128);
const struct nettle_aead