diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-05 15:49:44 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-05 15:49:44 +0000 |
commit | cde48c7764ca43bcbf5c7705ec2bb776c1f28839 (patch) | |
tree | ec5c4740a7d2ee031ae23aa71d6a52e3f15b8f8a /src/libcryptobox/keypair.h | |
parent | 1e0332c701c7ecc79c8ec2f94b2a2700a47b9133 (diff) | |
download | rspamd-cde48c7764ca43bcbf5c7705ec2bb776c1f28839.tar.gz rspamd-cde48c7764ca43bcbf5c7705ec2bb776c1f28839.zip |
Rework keypairs cache
Diffstat (limited to 'src/libcryptobox/keypair.h')
-rw-r--r-- | src/libcryptobox/keypair.h | 10 |
1 files changed, 1 insertions, 9 deletions
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 @@ -29,14 +29,6 @@ enum rspamd_cryptobox_keypair_type { }; /** - * Algorithm used for keypair - */ -enum rspamd_cryptobox_keypair_algorithm { - RSPAMD_KEYPAIR_NIST = 0, - RSPAMD_KEYPAIR_25519 -}; - -/** * Opaque structure for the full (public + private) keypair */ struct rspamd_cryptobox_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 |