X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=crypt_backend.h;h=ff956ce315428d55e0e358622840f751f80f8dcf;hp=f9a69d9490057382126e4efe04a15bfda9025419;hb=a35c113e0bb9fa9ac02b77eb01dd32f49cd5c8d0;hpb=121015ff5cdbe6af7b84f6245ebe62fe2a52a859 diff --git a/crypt_backend.h b/crypt_backend.h index f9a69d94..ff956ce3 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. */ @@ -12,6 +8,5 @@ #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 check_key_file(const char *file, bool private_key); +int check_private_key_file(const char *file);