File tree 2 files changed +4
-17
lines changed
2 files changed +4
-17
lines changed Original file line number Diff line number Diff line change 1
- /* $OpenBSD: blf.h,v 1.7 2007/03/14 17:59:41 grunk Exp $ */
1
+ /* $OpenBSD: blf.h,v 1.8 2021/11/29 01:04:45 djm Exp $ */
2
2
/*
3
3
* Blowfish - a fast block cipher designed by Bruce Schneier
4
4
*
13
13
* 2. Redistributions in binary form must reproduce the above copyright
14
14
* notice, this list of conditions and the following disclaimer in the
15
15
* documentation and/or other materials provided with the distribution.
16
- * 3. All advertising materials mentioning features or use of this software
17
- * must display the following acknowledgement:
18
- * This product includes software developed by Niels Provos.
19
- * 4. The name of the author may not be used to endorse or promote products
16
+ * 3. The name of the author may not be used to endorse or promote products
20
17
* derived from this software without specific prior written permission.
21
18
*
22
19
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
Original file line number Diff line number Diff line change 1
- /* $OpenBSD: blowfish.c,v 1.19 2015/09/11 09:18:27 guenther Exp $ */
1
+ /* $OpenBSD: blowfish.c,v 1.21 2022/08/28 11:11:25 jsg Exp $ */
2
2
/*
3
3
* Blowfish block cipher for OpenBSD
4
4
* Copyright 1997 Niels Provos <[email protected] >
14
14
* 2. Redistributions in binary form must reproduce the above copyright
15
15
* notice, this list of conditions and the following disclaimer in the
16
16
* documentation and/or other materials provided with the distribution.
17
- * 3. All advertising materials mentioning features or use of this software
18
- * must display the following acknowledgement:
19
- * This product includes software developed by Niels Provos.
20
- * 4. The name of the author may not be used to endorse or promote products
17
+ * 3. The name of the author may not be used to endorse or promote products
21
18
* derived from this software without specific prior written permission.
22
19
*
23
20
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
46
43
47
44
#include "blf.h"
48
45
49
- #undef inline
50
- #ifdef __GNUC__
51
- #define inline __inline
52
- #else /* !__GNUC__ */
53
- #define inline
54
- #endif /* !__GNUC__ */
55
-
56
46
/* Function for Feistel Networks */
57
47
58
48
#define F (s , x ) ((((s)[ (((x)>>24)&0xFF)] \
You can’t perform that action at this time.
0 commit comments