Skip to content
Snippets Groups Projects
Commit 44090d25 authored by Niels Möller's avatar Niels Möller
Browse files

Simplify ifdefs in gcm-internal.h

parent ca370920
No related branches found
No related tags found
No related merge requests found
......@@ -33,30 +33,20 @@
#define NETTLE_GCM_INTERNAL_H_INCLUDED
/* Functions available only in some configurations */
#if HAVE_NATIVE_gcm_init_key
void
_nettle_gcm_init_key (union nettle_block16 *table);
#endif
#if HAVE_NATIVE_gcm_hash
void
_nettle_gcm_hash(const struct gcm_key *key, union nettle_block16 *x,
size_t length, const uint8_t *data);
#endif
#if HAVE_NATIVE_fat_gcm_init_key
void
_nettle_gcm_init_key (union nettle_block16 *table);
void
_nettle_gcm_init_key_c (union nettle_block16 *table);
#endif
#if HAVE_NATIVE_fat_gcm_hash
void
_nettle_gcm_hash(const struct gcm_key *key, union nettle_block16 *x,
size_t length, const uint8_t *data);
void
_nettle_gcm_hash_c (const struct gcm_key *key, union nettle_block16 *x,
size_t length, const uint8_t *data);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment