diff options
author | jsing <> | 2014-05-11 12:20:20 +0000 |
---|---|---|
committer | jsing <> | 2014-05-11 12:20:20 +0000 |
commit | dede2c823d35f580f859348c66c7313aa7093350 (patch) | |
tree | 0d756572fc127d6b812a633c66f2e1b5708cb4a2 /src/lib/libcrypto/evp/e_old.c | |
parent | 8516b9f21028e479132b3f445f93ee33102aa794 (diff) | |
download | openbsd-dede2c823d35f580f859348c66c7313aa7093350.tar.gz openbsd-dede2c823d35f580f859348c66c7313aa7093350.tar.bz2 openbsd-dede2c823d35f580f859348c66c7313aa7093350.zip |
More KNF.
Diffstat (limited to 'src/lib/libcrypto/evp/e_old.c')
-rw-r--r-- | src/lib/libcrypto/evp/e_old.c | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/src/lib/libcrypto/evp/e_old.c b/src/lib/libcrypto/evp/e_old.c index c27b61a4bf..6d63ea4269 100644 --- a/src/lib/libcrypto/evp/e_old.c +++ b/src/lib/libcrypto/evp/e_old.c | |||
@@ -71,7 +71,8 @@ static void *dummy = &dummy; | |||
71 | #ifndef OPENSSL_NO_BF | 71 | #ifndef OPENSSL_NO_BF |
72 | #undef EVP_bf_cfb | 72 | #undef EVP_bf_cfb |
73 | const EVP_CIPHER *EVP_bf_cfb(void); | 73 | const EVP_CIPHER *EVP_bf_cfb(void); |
74 | const EVP_CIPHER *EVP_bf_cfb(void) | 74 | const EVP_CIPHER * |
75 | EVP_bf_cfb(void) | ||
75 | { | 76 | { |
76 | return EVP_bf_cfb64(); | 77 | return EVP_bf_cfb64(); |
77 | } | 78 | } |
@@ -80,19 +81,22 @@ const EVP_CIPHER *EVP_bf_cfb(void) | |||
80 | #ifndef OPENSSL_NO_DES | 81 | #ifndef OPENSSL_NO_DES |
81 | #undef EVP_des_cfb | 82 | #undef EVP_des_cfb |
82 | const EVP_CIPHER *EVP_des_cfb(void); | 83 | const EVP_CIPHER *EVP_des_cfb(void); |
83 | const EVP_CIPHER *EVP_des_cfb(void) | 84 | const EVP_CIPHER * |
85 | EVP_des_cfb(void) | ||
84 | { | 86 | { |
85 | return EVP_des_cfb64(); | 87 | return EVP_des_cfb64(); |
86 | } | 88 | } |
87 | #undef EVP_des_ede3_cfb | 89 | #undef EVP_des_ede3_cfb |
88 | const EVP_CIPHER *EVP_des_ede3_cfb(void); | 90 | const EVP_CIPHER *EVP_des_ede3_cfb(void); |
89 | const EVP_CIPHER *EVP_des_ede3_cfb(void) | 91 | const EVP_CIPHER * |
92 | EVP_des_ede3_cfb(void) | ||
90 | { | 93 | { |
91 | return EVP_des_ede3_cfb64(); | 94 | return EVP_des_ede3_cfb64(); |
92 | } | 95 | } |
93 | #undef EVP_des_ede_cfb | 96 | #undef EVP_des_ede_cfb |
94 | const EVP_CIPHER *EVP_des_ede_cfb(void); | 97 | const EVP_CIPHER *EVP_des_ede_cfb(void); |
95 | const EVP_CIPHER *EVP_des_ede_cfb(void) | 98 | const EVP_CIPHER * |
99 | EVP_des_ede_cfb(void) | ||
96 | { | 100 | { |
97 | return EVP_des_ede_cfb64(); | 101 | return EVP_des_ede_cfb64(); |
98 | } | 102 | } |
@@ -101,7 +105,8 @@ const EVP_CIPHER *EVP_des_ede_cfb(void) | |||
101 | #ifndef OPENSSL_NO_IDEA | 105 | #ifndef OPENSSL_NO_IDEA |
102 | #undef EVP_idea_cfb | 106 | #undef EVP_idea_cfb |
103 | const EVP_CIPHER *EVP_idea_cfb(void); | 107 | const EVP_CIPHER *EVP_idea_cfb(void); |
104 | const EVP_CIPHER *EVP_idea_cfb(void) | 108 | const EVP_CIPHER * |
109 | EVP_idea_cfb(void) | ||
105 | { | 110 | { |
106 | return EVP_idea_cfb64(); | 111 | return EVP_idea_cfb64(); |
107 | } | 112 | } |
@@ -110,7 +115,8 @@ const EVP_CIPHER *EVP_idea_cfb(void) | |||
110 | #ifndef OPENSSL_NO_RC2 | 115 | #ifndef OPENSSL_NO_RC2 |
111 | #undef EVP_rc2_cfb | 116 | #undef EVP_rc2_cfb |
112 | const EVP_CIPHER *EVP_rc2_cfb(void); | 117 | const EVP_CIPHER *EVP_rc2_cfb(void); |
113 | const EVP_CIPHER *EVP_rc2_cfb(void) | 118 | const EVP_CIPHER * |
119 | EVP_rc2_cfb(void) | ||
114 | { | 120 | { |
115 | return EVP_rc2_cfb64(); | 121 | return EVP_rc2_cfb64(); |
116 | } | 122 | } |
@@ -119,7 +125,8 @@ const EVP_CIPHER *EVP_rc2_cfb(void) | |||
119 | #ifndef OPENSSL_NO_CAST | 125 | #ifndef OPENSSL_NO_CAST |
120 | #undef EVP_cast5_cfb | 126 | #undef EVP_cast5_cfb |
121 | const EVP_CIPHER *EVP_cast5_cfb(void); | 127 | const EVP_CIPHER *EVP_cast5_cfb(void); |
122 | const EVP_CIPHER *EVP_cast5_cfb(void) | 128 | const EVP_CIPHER * |
129 | EVP_cast5_cfb(void) | ||
123 | { | 130 | { |
124 | return EVP_cast5_cfb64(); | 131 | return EVP_cast5_cfb64(); |
125 | } | 132 | } |
@@ -128,7 +135,8 @@ const EVP_CIPHER *EVP_cast5_cfb(void) | |||
128 | #ifndef OPENSSL_NO_RC5 | 135 | #ifndef OPENSSL_NO_RC5 |
129 | #undef EVP_rc5_32_12_16_cfb | 136 | #undef EVP_rc5_32_12_16_cfb |
130 | const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void); | 137 | const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void); |
131 | const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void) | 138 | const EVP_CIPHER * |
139 | EVP_rc5_32_12_16_cfb(void) | ||
132 | { | 140 | { |
133 | return EVP_rc5_32_12_16_cfb64(); | 141 | return EVP_rc5_32_12_16_cfb64(); |
134 | } | 142 | } |
@@ -137,19 +145,22 @@ const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void) | |||
137 | #ifndef OPENSSL_NO_AES | 145 | #ifndef OPENSSL_NO_AES |
138 | #undef EVP_aes_128_cfb | 146 | #undef EVP_aes_128_cfb |
139 | const EVP_CIPHER *EVP_aes_128_cfb(void); | 147 | const EVP_CIPHER *EVP_aes_128_cfb(void); |
140 | const EVP_CIPHER *EVP_aes_128_cfb(void) | 148 | const EVP_CIPHER * |
149 | EVP_aes_128_cfb(void) | ||
141 | { | 150 | { |
142 | return EVP_aes_128_cfb128(); | 151 | return EVP_aes_128_cfb128(); |
143 | } | 152 | } |
144 | #undef EVP_aes_192_cfb | 153 | #undef EVP_aes_192_cfb |
145 | const EVP_CIPHER *EVP_aes_192_cfb(void); | 154 | const EVP_CIPHER *EVP_aes_192_cfb(void); |
146 | const EVP_CIPHER *EVP_aes_192_cfb(void) | 155 | const EVP_CIPHER * |
156 | EVP_aes_192_cfb(void) | ||
147 | { | 157 | { |
148 | return EVP_aes_192_cfb128(); | 158 | return EVP_aes_192_cfb128(); |
149 | } | 159 | } |
150 | #undef EVP_aes_256_cfb | 160 | #undef EVP_aes_256_cfb |
151 | const EVP_CIPHER *EVP_aes_256_cfb(void); | 161 | const EVP_CIPHER *EVP_aes_256_cfb(void); |
152 | const EVP_CIPHER *EVP_aes_256_cfb(void) | 162 | const EVP_CIPHER * |
163 | EVP_aes_256_cfb(void) | ||
153 | { | 164 | { |
154 | return EVP_aes_256_cfb128(); | 165 | return EVP_aes_256_cfb128(); |
155 | } | 166 | } |