X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fos_crypto%2Fblowfish%2Fbf_op.h;h=117e8f9b6da95e6675c741782ead4cd77ea9873a;hb=HEAD;hp=13b95182bcedde5e09e657332823c7c0afed5880;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/os_crypto/blowfish/bf_op.h b/src/os_crypto/blowfish/bf_op.h old mode 100755 new mode 100644 index 13b9518..117e8f9 --- a/src/os_crypto/blowfish/bf_op.h +++ b/src/os_crypto/blowfish/bf_op.h @@ -1,29 +1,24 @@ -/* $OSSEC, os_crypto/bf_op.h, v0.1, 2004/08/09, Daniel B. Cid$ */ - /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * * This program is a free software; you can redistribute it * and/or modify it under the terms of the GNU General Public - * License (version 3) as published by the FSF - Free Software + * License (version 2) as published by the FSF - Free Software * Foundation */ -/* OS_crypto/blowfish Library. - * APIs for many crypto operations. +/* OS_crypto/blowfish Library + * APIs for many crypto operations */ #ifndef __BF_OP_H - #define __BF_OP_H #define OS_ENCRYPT 1 #define OS_DECRYPT 0 - -int OS_BF_Str(char * input, char *output, char *charkey, - long size, short int action); +int OS_BF_Str(const char *input, char *output, const char *charkey, + long size, short int action) __attribute((nonnull)); #endif -/* EOF */