X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=crypt_backend.h;h=8ff6919418335f4db0b965aadea51d1ba6561d1e;hb=3a6b996d8b39fdc067df352d1eee757ef2a8f49b;hp=3ea32c2045432d55ed34ad6ba1b29362b32c4d0c;hpb=82d08fb6da4dfc7d93d1ee0cce4706721378fe12;p=paraslash.git diff --git a/crypt_backend.h b/crypt_backend.h index 3ea32c20..8ff69194 100644 --- a/crypt_backend.h +++ b/crypt_backend.h @@ -1,12 +1,15 @@ /* - * Copyright (C) 2011 Andre Noll + * Copyright (C) 2011-2014 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);