X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=crypt_backend.h;h=f9a69d9490057382126e4efe04a15bfda9025419;hp=3ea32c2045432d55ed34ad6ba1b29362b32c4d0c;hb=3ea5399aeec092dcdb9f039288f1e146aadbb2f7;hpb=82d08fb6da4dfc7d93d1ee0cce4706721378fe12 diff --git a/crypt_backend.h b/crypt_backend.h index 3ea32c20..f9a69d94 100644 --- a/crypt_backend.h +++ b/crypt_backend.h @@ -1,16 +1,17 @@ /* - * Copyright (C) 2011 Andre Noll + * Copyright (C) 2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ /** \file crypt_backend.h Non-public crypto interface. */ -/* This should only be incuded from files which provide crypto functions. */ +/* This should only be included from files which provide crypto functions. */ + +/** 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 uudecode(const char *src, unsigned char *target, size_t targsize); int check_ssh_key_header(const unsigned char *blob, int blen); int check_key_file(const char *file, bool private_key); -int base64_decode(char const *src, unsigned char *target, size_t targsize);