summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/e_old.c
diff options
context:
space:
mode:
authorjsing <>2014-05-11 12:20:20 +0000
committerjsing <>2014-05-11 12:20:20 +0000
commitdede2c823d35f580f859348c66c7313aa7093350 (patch)
tree0d756572fc127d6b812a633c66f2e1b5708cb4a2 /src/lib/libcrypto/evp/e_old.c
parent8516b9f21028e479132b3f445f93ee33102aa794 (diff)
downloadopenbsd-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.c33
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
73const EVP_CIPHER *EVP_bf_cfb(void); 73const EVP_CIPHER *EVP_bf_cfb(void);
74const EVP_CIPHER *EVP_bf_cfb(void) 74const EVP_CIPHER *
75EVP_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
82const EVP_CIPHER *EVP_des_cfb(void); 83const EVP_CIPHER *EVP_des_cfb(void);
83const EVP_CIPHER *EVP_des_cfb(void) 84const EVP_CIPHER *
85EVP_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
88const EVP_CIPHER *EVP_des_ede3_cfb(void); 90const EVP_CIPHER *EVP_des_ede3_cfb(void);
89const EVP_CIPHER *EVP_des_ede3_cfb(void) 91const EVP_CIPHER *
92EVP_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
94const EVP_CIPHER *EVP_des_ede_cfb(void); 97const EVP_CIPHER *EVP_des_ede_cfb(void);
95const EVP_CIPHER *EVP_des_ede_cfb(void) 98const EVP_CIPHER *
99EVP_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
103const EVP_CIPHER *EVP_idea_cfb(void); 107const EVP_CIPHER *EVP_idea_cfb(void);
104const EVP_CIPHER *EVP_idea_cfb(void) 108const EVP_CIPHER *
109EVP_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
112const EVP_CIPHER *EVP_rc2_cfb(void); 117const EVP_CIPHER *EVP_rc2_cfb(void);
113const EVP_CIPHER *EVP_rc2_cfb(void) 118const EVP_CIPHER *
119EVP_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
121const EVP_CIPHER *EVP_cast5_cfb(void); 127const EVP_CIPHER *EVP_cast5_cfb(void);
122const EVP_CIPHER *EVP_cast5_cfb(void) 128const EVP_CIPHER *
129EVP_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
130const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void); 137const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void);
131const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void) 138const EVP_CIPHER *
139EVP_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
139const EVP_CIPHER *EVP_aes_128_cfb(void); 147const EVP_CIPHER *EVP_aes_128_cfb(void);
140const EVP_CIPHER *EVP_aes_128_cfb(void) 148const EVP_CIPHER *
149EVP_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
145const EVP_CIPHER *EVP_aes_192_cfb(void); 154const EVP_CIPHER *EVP_aes_192_cfb(void);
146const EVP_CIPHER *EVP_aes_192_cfb(void) 155const EVP_CIPHER *
156EVP_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
151const EVP_CIPHER *EVP_aes_256_cfb(void); 161const EVP_CIPHER *EVP_aes_256_cfb(void);
152const EVP_CIPHER *EVP_aes_256_cfb(void) 162const EVP_CIPHER *
163EVP_aes_256_cfb(void)
153{ 164{
154 return EVP_aes_256_cfb128(); 165 return EVP_aes_256_cfb128();
155} 166}