X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=crypt_backend.h;h=175a6881c3d6567137513043055f548700c6ab65;hp=ff956ce315428d55e0e358622840f751f80f8dcf;hb=5f20d9afde364f9ce51aa7841ebe513028a65e81;hpb=93ad956d88ffd117a6f81c5e38d9aaed3ae8b6e9 diff --git a/crypt_backend.h b/crypt_backend.h index ff956ce3..175a6881 100644 --- a/crypt_backend.h +++ b/crypt_backend.h @@ -7,6 +7,6 @@ /** AES block size in bytes. */ #define AES_CRT128_BLOCK_SIZE 16 -size_t is_ssh_rsa_key(char *data, size_t size); -int check_ssh_key_header(const unsigned char *blob, int blen); +int decode_ssh_key(const char *filename, unsigned char **blob, + size_t *decoded_size); int check_private_key_file(const char *file);