projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move RSA key generation into the wrappers.
[tinc]
/
src
/
gcrypt
/
cipher.h
diff --git
a/src/gcrypt/cipher.h
b/src/gcrypt/cipher.h
index
08a7dc5
..
4d1e096
100644
(file)
--- a/
src/gcrypt/cipher.h
+++ b/
src/gcrypt/cipher.h
@@
-24,6
+24,10
@@
#include <gcrypt.h>
+#define CIPHER_MAX_BLOCK_SIZE 32
+#define CIPHER_MAX_IV_SIZE 16
+#define CIPHER_MAX_KEY_SIZE 32
+
typedef struct cipher {
gcry_cipher_hd_t handle;
char *key;