]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/libcrypto/include/private/digest.h
Inital import
[l4.git] / l4 / pkg / libcrypto / include / private / digest.h
1 /*
2  * \brief   Private header for message digest functions.
3  * \date    2006-07-26
4  * \author  Carsten Weinhold <weinhold@os.inf.tu-dresden.de>
5  */
6 /*
7  * Copyright (C) 2006  Carsten Weinhold <weinhold@os.inf.tu-dresden.de>
8  * Technische Universitaet Dresden, Operating Systems Research Group
9  *
10  * This file is part of the libcrypto package, which is distributed under
11  * the  terms  of the  GNU General Public Licence 2.  Please see the
12  * COPYING file for details.
13  */
14
15 #ifndef __CRYPTO_DIGEST_H
16 #define __CRYPTO_DIGEST_H
17
18 /*
19  * **************************************************************** 
20  */
21
22 typedef void (*crypto_digest_setup_fn_t) (void *ctx);
23 typedef void (*crypto_digest_update_fn_t)(void *ctx, const char *data,
24                                           unsigned int len);
25 typedef void (*crypto_digest_final_fn_t) (void *ctx, char *out);
26
27 #endif /* __CRYPTO_DIGEST_H */
28