X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=crypt_backend.h;h=175a6881c3d6567137513043055f548700c6ab65;hp=fccdd2efbda6da1f8dac7a3a4731885e4e8f7290;hb=9d232e636d79a2321e280fe3eee6839c8f45c36f;hpb=b59e841036a107b52a0221e48d7e05f86da92979 diff --git a/crypt_backend.h b/crypt_backend.h index fccdd2ef..175a6881 100644 --- a/crypt_backend.h +++ b/crypt_backend.h @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2011 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2011 Andre Noll , see file COPYING. */ /** \file crypt_backend.h Non-public crypto interface. */ @@ -11,7 +7,6 @@ /** AES block size in bytes. */ #define AES_CRT128_BLOCK_SIZE 16 -size_t is_ssh_rsa_key(char *data, size_t size); -uint32_t read_ssh_u32(const void *vp); -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);