crypto_common.h 374 Bytes
Newer Older
Niels Möller's avatar
Niels Möller committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* crypto_common.h
 *
 */

#ifndef LSH_CRYPTO_COMMON_H_INCLUDED
#define LSH_CRYPTO_COMMON_H_INCLUDED

/* FIXME: Perhaps cryptographic algoritms should be encapsulated into
 * objects, to avoid passing a lot of extra state parameters? */

typedef void (*transform_function)(void *state,
				   UINT32 size, UINT8 *src, UINT8 *dst);

#endif /* LSH_CRYPTO_COMMON_H_INCLUDED */