X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=crypt_backend.h;h=175a6881c3d6567137513043055f548700c6ab65;hp=ff956ce315428d55e0e358622840f751f80f8dcf;hb=3d33c9e922243e6f9f716c5a220d10e34bd694b7;hpb=2031b9cab9304b02c0372f73eef54d9501277031 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);