Imported Upstream version 2.7
[ossec-hids.git] / src / os_crypto / blowfish / bf_op.h
1 /*      $OSSEC, os_crypto/bf_op.h, v0.1, 2004/08/09, Daniel B. Cid$      */
2
3 /* Copyright (C) 2009 Trend Micro Inc.
4  * All right reserved.
5  *
6  * This program is a free software; you can redistribute it
7  * and/or modify it under the terms of the GNU General Public
8  * License (version 2) as published by the FSF - Free Software
9  * Foundation
10  */
11
12 /* OS_crypto/blowfish Library.
13  * APIs for many crypto operations.
14  */
15
16 #ifndef __BF_OP_H
17
18 #define __BF_OP_H
19
20 #define OS_ENCRYPT      1
21 #define OS_DECRYPT      0
22
23
24 int OS_BF_Str(char * input, char *output, char *charkey,
25                             long size, short int action);
26
27 #endif
28
29 /* EOF */