]> git.meshlink.io Git - meshlink/blobdiff - src/gcrypt/cipher.h
Move RSA key generation into the wrappers.
[meshlink] / src / gcrypt / cipher.h
index 08a7dc545f810b6cecb67343195dd23500305196..4d1e0962463699b0cfffbffa1a8382ad7d9ed656 100644 (file)
 
 #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;