]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(nettle_crypt_func): Typedef moved to cbc.h.
authorNiels Möller <nisse@lysator.liu.se>
Thu, 26 Feb 2004 09:30:56 +0000 (10:30 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 26 Feb 2004 09:30:56 +0000 (10:30 +0100)
Include cbc.h instead.

Rev: src/nettle/nettle-meta.h:1.12

nettle-meta.h

index 9a74cb32585ab279791b83562e6c29d3d4afda10..5bcf919945e3467ff74d36a8cf39d6b8a83beccb 100644 (file)
@@ -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