From cde48c7764ca43bcbf5c7705ec2bb776c1f28839 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 5 Feb 2016 15:49:44 +0000 Subject: Rework keypairs cache --- src/libcryptobox/keypair.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/libcryptobox/keypair.h') diff --git a/src/libcryptobox/keypair.h b/src/libcryptobox/keypair.h index a6b708202..49f4e2be0 100644 --- a/src/libcryptobox/keypair.h +++ b/src/libcryptobox/keypair.h @@ -28,14 +28,6 @@ enum rspamd_cryptobox_keypair_type { RSPAMD_KEYPAIR_SIGN }; -/** - * Algorithm used for keypair - */ -enum rspamd_cryptobox_keypair_algorithm { - RSPAMD_KEYPAIR_NIST = 0, - RSPAMD_KEYPAIR_25519 -}; - /** * Opaque structure for the full (public + private) keypair */ @@ -53,7 +45,7 @@ struct rspamd_cryptobox_keypair_public; */ struct rspamd_cryptobox_keypair* rspamd_keypair_new ( enum rspamd_cryptobox_keypair_type type, - enum rspamd_cryptobox_keypair_algorithm alg); + enum rspamd_cryptobox_mode alg); /** * Increase refcount for the specific keypair -- cgit v1.2.3