diff options
author | tb <> | 2021-11-30 18:31:36 +0000 |
---|---|---|
committer | tb <> | 2021-11-30 18:31:36 +0000 |
commit | 0e600fe061e269a13ec50c5a2eae412ffc9339b7 (patch) | |
tree | 9fbd8d066b5df8b5652af0f092a897e90d35f875 | |
parent | 2cd44935139d109307adc803d2ac0a0db4341524 (diff) | |
download | openbsd-0e600fe061e269a13ec50c5a2eae412ffc9339b7.tar.gz openbsd-0e600fe061e269a13ec50c5a2eae412ffc9339b7.tar.bz2 openbsd-0e600fe061e269a13ec50c5a2eae412ffc9339b7.zip |
KNF for BF_KEY
-rw-r--r-- | src/lib/libcrypto/bf/blowfish.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libcrypto/bf/blowfish.h b/src/lib/libcrypto/bf/blowfish.h index 4d2db80552..260545e6bd 100644 --- a/src/lib/libcrypto/bf/blowfish.h +++ b/src/lib/libcrypto/bf/blowfish.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: blowfish.h,v 1.14 2014/07/10 09:01:04 miod Exp $ */ | 1 | /* $OpenBSD: blowfish.h,v 1.15 2021/11/30 18:31:36 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -84,11 +84,10 @@ extern "C" { | |||
84 | #define BF_ROUNDS 16 | 84 | #define BF_ROUNDS 16 |
85 | #define BF_BLOCK 8 | 85 | #define BF_BLOCK 8 |
86 | 86 | ||
87 | typedef struct bf_key_st | 87 | typedef struct bf_key_st { |
88 | { | ||
89 | BF_LONG P[BF_ROUNDS+2]; | 88 | BF_LONG P[BF_ROUNDS+2]; |
90 | BF_LONG S[4*256]; | 89 | BF_LONG S[4*256]; |
91 | } BF_KEY; | 90 | } BF_KEY; |
92 | 91 | ||
93 | void BF_set_key(BF_KEY *key, int len, const unsigned char *data); | 92 | void BF_set_key(BF_KEY *key, int len, const unsigned char *data); |
94 | 93 | ||