From b9c8603931203f5d94091f7a05a5967304b62fbd Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 20 Apr 2014 04:36:34 +0200 Subject: Make conf global --- src/crypto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/crypto.h') diff --git a/src/crypto.h b/src/crypto.h index 25efb10..de2bddf 100644 --- a/src/crypto.h +++ b/src/crypto.h @@ -64,14 +64,14 @@ void fastd_cipher_config_free(const fastd_cipher_t **cipher_conf); bool fastd_cipher_config(const fastd_cipher_t **cipher_conf, const char *name, const char *impl); const fastd_cipher_info_t* fastd_cipher_info_get_by_name(const char *name); -const fastd_cipher_t* fastd_cipher_get(fastd_context_t *ctx, const fastd_cipher_info_t *info); +const fastd_cipher_t* fastd_cipher_get(const fastd_cipher_info_t *info); const fastd_mac_t** fastd_mac_config_alloc(void); void fastd_mac_config_free(const fastd_mac_t **mac_conf); bool fastd_mac_config(const fastd_mac_t **mac_conf, const char *name, const char *impl); const fastd_mac_info_t* fastd_mac_info_get_by_name(const char *name); -const fastd_mac_t* fastd_mac_get(fastd_context_t *ctx, const fastd_mac_info_t *info); +const fastd_mac_t* fastd_mac_get(const fastd_mac_info_t *info); static inline void secure_memzero(void *s, size_t n) { -- cgit v1.2.3