From: Niels Möller Date: Thu, 26 Feb 2004 09:30:56 +0000 (+0100) Subject: (nettle_crypt_func): Typedef moved to cbc.h. X-Git-Tag: nettle_1.10_release_20040305~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=633ede6f3940df1194bfb388e875a017e5b54126;p=thirdparty%2Fnettle.git (nettle_crypt_func): Typedef moved to cbc.h. Include cbc.h instead. Rev: src/nettle/nettle-meta.h:1.12 --- diff --git a/nettle-meta.h b/nettle-meta.h index 9a74cb32..5bcf9199 100644 --- a/nettle-meta.h +++ b/nettle-meta.h @@ -28,6 +28,9 @@ #include "nettle-types.h" +/* For nettle_crypt_func */ +#include "cbc.h" + /* Randomness. Used by key generation and dsa signature creation. */ typedef void (*nettle_random_func)(void *ctx, unsigned length, uint8_t *dst); @@ -37,13 +40,9 @@ typedef void (*nettle_progress_func)(void *ctx, int c); /* Ciphers */ -typedef void (*nettle_crypt_func)(void *ctx, - unsigned length, uint8_t *dst, - const uint8_t *src); - typedef void (*nettle_set_key_func)(void *ctx, - unsigned length, - const uint8_t *key); + unsigned length, + const uint8_t *key); struct nettle_cipher