gcrypt: Add support for RFC4716 private keys.
[paraslash.git] / crypt_backend.h
index 175a6881c3d6567137513043055f548700c6ab65..ae01fc14733a1068b0513afbd8f9e5b9bc791827 100644 (file)
@@ -7,6 +7,7 @@
 /** AES block size in bytes. */
 #define AES_CRT128_BLOCK_SIZE 16
 
-int decode_ssh_key(const char *filename, unsigned char **blob,
+int decode_public_key(const char *filename, unsigned char **blob,
                size_t *decoded_size);
 int check_private_key_file(const char *file);
+int find_openssh_bignum_offset(const unsigned char *data, int len);