| 1 | /* algorithms.h [generated] */ |
| 2 | |
| 3 | #include <catacomb/des.h> |
| 4 | #include <catacomb/des-ecb.h> |
| 5 | #include <catacomb/des-cbc.h> |
| 6 | #include <catacomb/des-cfb.h> |
| 7 | #include <catacomb/des-ofb.h> |
| 8 | #include <catacomb/des-counter.h> |
| 9 | #include <catacomb/desx.h> |
| 10 | #include <catacomb/desx-ecb.h> |
| 11 | #include <catacomb/desx-cbc.h> |
| 12 | #include <catacomb/desx-cfb.h> |
| 13 | #include <catacomb/desx-ofb.h> |
| 14 | #include <catacomb/desx-counter.h> |
| 15 | #include <catacomb/des3.h> |
| 16 | #include <catacomb/des3-ecb.h> |
| 17 | #include <catacomb/des3-cbc.h> |
| 18 | #include <catacomb/des3-cfb.h> |
| 19 | #include <catacomb/des3-ofb.h> |
| 20 | #include <catacomb/des3-counter.h> |
| 21 | #include <catacomb/mars.h> |
| 22 | #include <catacomb/mars-ecb.h> |
| 23 | #include <catacomb/mars-cbc.h> |
| 24 | #include <catacomb/mars-cfb.h> |
| 25 | #include <catacomb/mars-ofb.h> |
| 26 | #include <catacomb/mars-counter.h> |
| 27 | #include <catacomb/idea.h> |
| 28 | #include <catacomb/idea-ecb.h> |
| 29 | #include <catacomb/idea-cbc.h> |
| 30 | #include <catacomb/idea-cfb.h> |
| 31 | #include <catacomb/idea-ofb.h> |
| 32 | #include <catacomb/idea-counter.h> |
| 33 | #include <catacomb/safer.h> |
| 34 | #include <catacomb/safer-ecb.h> |
| 35 | #include <catacomb/safer-cbc.h> |
| 36 | #include <catacomb/safer-cfb.h> |
| 37 | #include <catacomb/safer-ofb.h> |
| 38 | #include <catacomb/safer-counter.h> |
| 39 | #include <catacomb/safersk.h> |
| 40 | #include <catacomb/safersk-ecb.h> |
| 41 | #include <catacomb/safersk-cbc.h> |
| 42 | #include <catacomb/safersk-cfb.h> |
| 43 | #include <catacomb/safersk-ofb.h> |
| 44 | #include <catacomb/safersk-counter.h> |
| 45 | #include <catacomb/blowfish.h> |
| 46 | #include <catacomb/blowfish-ecb.h> |
| 47 | #include <catacomb/blowfish-cbc.h> |
| 48 | #include <catacomb/blowfish-cfb.h> |
| 49 | #include <catacomb/blowfish-ofb.h> |
| 50 | #include <catacomb/blowfish-counter.h> |
| 51 | #include <catacomb/twofish.h> |
| 52 | #include <catacomb/twofish-ecb.h> |
| 53 | #include <catacomb/twofish-cbc.h> |
| 54 | #include <catacomb/twofish-cfb.h> |
| 55 | #include <catacomb/twofish-ofb.h> |
| 56 | #include <catacomb/twofish-counter.h> |
| 57 | #include <catacomb/tea.h> |
| 58 | #include <catacomb/tea-ecb.h> |
| 59 | #include <catacomb/tea-cbc.h> |
| 60 | #include <catacomb/tea-cfb.h> |
| 61 | #include <catacomb/tea-ofb.h> |
| 62 | #include <catacomb/tea-counter.h> |
| 63 | #include <catacomb/xtea.h> |
| 64 | #include <catacomb/xtea-ecb.h> |
| 65 | #include <catacomb/xtea-cbc.h> |
| 66 | #include <catacomb/xtea-cfb.h> |
| 67 | #include <catacomb/xtea-ofb.h> |
| 68 | #include <catacomb/xtea-counter.h> |
| 69 | #include <catacomb/rc2.h> |
| 70 | #include <catacomb/rc2-ecb.h> |
| 71 | #include <catacomb/rc2-cbc.h> |
| 72 | #include <catacomb/rc2-cfb.h> |
| 73 | #include <catacomb/rc2-ofb.h> |
| 74 | #include <catacomb/rc2-counter.h> |
| 75 | #include <catacomb/rc5.h> |
| 76 | #include <catacomb/rc5-ecb.h> |
| 77 | #include <catacomb/rc5-cbc.h> |
| 78 | #include <catacomb/rc5-cfb.h> |
| 79 | #include <catacomb/rc5-ofb.h> |
| 80 | #include <catacomb/rc5-counter.h> |
| 81 | #include <catacomb/skipjack.h> |
| 82 | #include <catacomb/skipjack-ecb.h> |
| 83 | #include <catacomb/skipjack-cbc.h> |
| 84 | #include <catacomb/skipjack-cfb.h> |
| 85 | #include <catacomb/skipjack-ofb.h> |
| 86 | #include <catacomb/skipjack-counter.h> |
| 87 | #include <catacomb/cast128.h> |
| 88 | #include <catacomb/cast128-ecb.h> |
| 89 | #include <catacomb/cast128-cbc.h> |
| 90 | #include <catacomb/cast128-cfb.h> |
| 91 | #include <catacomb/cast128-ofb.h> |
| 92 | #include <catacomb/cast128-counter.h> |
| 93 | #include <catacomb/cast256.h> |
| 94 | #include <catacomb/cast256-ecb.h> |
| 95 | #include <catacomb/cast256-cbc.h> |
| 96 | #include <catacomb/cast256-cfb.h> |
| 97 | #include <catacomb/cast256-ofb.h> |
| 98 | #include <catacomb/cast256-counter.h> |
| 99 | #include <catacomb/square.h> |
| 100 | #include <catacomb/square-ecb.h> |
| 101 | #include <catacomb/square-cbc.h> |
| 102 | #include <catacomb/square-cfb.h> |
| 103 | #include <catacomb/square-ofb.h> |
| 104 | #include <catacomb/square-counter.h> |
| 105 | #include <catacomb/rijndael.h> |
| 106 | #include <catacomb/rijndael-ecb.h> |
| 107 | #include <catacomb/rijndael-cbc.h> |
| 108 | #include <catacomb/rijndael-cfb.h> |
| 109 | #include <catacomb/rijndael-ofb.h> |
| 110 | #include <catacomb/rijndael-counter.h> |
| 111 | #include <catacomb/rijndael192.h> |
| 112 | #include <catacomb/rijndael192-ecb.h> |
| 113 | #include <catacomb/rijndael192-cbc.h> |
| 114 | #include <catacomb/rijndael192-cfb.h> |
| 115 | #include <catacomb/rijndael192-ofb.h> |
| 116 | #include <catacomb/rijndael192-counter.h> |
| 117 | #include <catacomb/rijndael256.h> |
| 118 | #include <catacomb/rijndael256-ecb.h> |
| 119 | #include <catacomb/rijndael256-cbc.h> |
| 120 | #include <catacomb/rijndael256-cfb.h> |
| 121 | #include <catacomb/rijndael256-ofb.h> |
| 122 | #include <catacomb/rijndael256-counter.h> |
| 123 | #include <catacomb/serpent.h> |
| 124 | #include <catacomb/serpent-ecb.h> |
| 125 | #include <catacomb/serpent-cbc.h> |
| 126 | #include <catacomb/serpent-cfb.h> |
| 127 | #include <catacomb/serpent-ofb.h> |
| 128 | #include <catacomb/serpent-counter.h> |
| 129 | #include <catacomb/noekeon.h> |
| 130 | #include <catacomb/noekeon-ecb.h> |
| 131 | #include <catacomb/noekeon-cbc.h> |
| 132 | #include <catacomb/noekeon-cfb.h> |
| 133 | #include <catacomb/noekeon-ofb.h> |
| 134 | #include <catacomb/noekeon-counter.h> |
| 135 | #include <catacomb/rc4.h> |
| 136 | #include <catacomb/seal.h> |
| 137 | |
| 138 | #include <catacomb/md2.h> |
| 139 | #include <catacomb/md2-mgf.h> |
| 140 | #include <catacomb/md2-hmac.h> |
| 141 | #include <catacomb/md4.h> |
| 142 | #include <catacomb/md4-mgf.h> |
| 143 | #include <catacomb/md4-hmac.h> |
| 144 | #include <catacomb/md5.h> |
| 145 | #include <catacomb/md5-mgf.h> |
| 146 | #include <catacomb/md5-hmac.h> |
| 147 | #include <catacomb/tiger.h> |
| 148 | #include <catacomb/tiger-mgf.h> |
| 149 | #include <catacomb/tiger-hmac.h> |
| 150 | #include <catacomb/has160.h> |
| 151 | #include <catacomb/has160-mgf.h> |
| 152 | #include <catacomb/has160-hmac.h> |
| 153 | #include <catacomb/sha.h> |
| 154 | #include <catacomb/sha-mgf.h> |
| 155 | #include <catacomb/sha-hmac.h> |
| 156 | #include <catacomb/sha224.h> |
| 157 | #include <catacomb/sha224-mgf.h> |
| 158 | #include <catacomb/sha224-hmac.h> |
| 159 | #include <catacomb/sha256.h> |
| 160 | #include <catacomb/sha256-mgf.h> |
| 161 | #include <catacomb/sha256-hmac.h> |
| 162 | #include <catacomb/sha384.h> |
| 163 | #include <catacomb/sha384-mgf.h> |
| 164 | #include <catacomb/sha384-hmac.h> |
| 165 | #include <catacomb/sha512.h> |
| 166 | #include <catacomb/sha512-mgf.h> |
| 167 | #include <catacomb/sha512-hmac.h> |
| 168 | #include <catacomb/rmd128.h> |
| 169 | #include <catacomb/rmd128-mgf.h> |
| 170 | #include <catacomb/rmd128-hmac.h> |
| 171 | #include <catacomb/rmd160.h> |
| 172 | #include <catacomb/rmd160-mgf.h> |
| 173 | #include <catacomb/rmd160-hmac.h> |
| 174 | #include <catacomb/rmd256.h> |
| 175 | #include <catacomb/rmd256-mgf.h> |
| 176 | #include <catacomb/rmd256-hmac.h> |
| 177 | #include <catacomb/rmd320.h> |
| 178 | #include <catacomb/rmd320-mgf.h> |
| 179 | #include <catacomb/rmd320-hmac.h> |
| 180 | #include <catacomb/whirlpool.h> |
| 181 | #include <catacomb/whirlpool-mgf.h> |
| 182 | #include <catacomb/whirlpool-hmac.h> |
| 183 | #include <catacomb/whirlpool256.h> |
| 184 | #include <catacomb/whirlpool256-mgf.h> |
| 185 | #include <catacomb/whirlpool256-hmac.h> |
| 186 | |
| 187 | #define PRPS(DO) \ |
| 188 | DO(DES, des) \ |
| 189 | DO(DESX, desx) \ |
| 190 | DO(DES3, des3) \ |
| 191 | DO(MARS, mars) \ |
| 192 | DO(IDEA, idea) \ |
| 193 | DO(SAFER, safer) \ |
| 194 | DO(SAFERSK, safersk) \ |
| 195 | DO(BLOWFISH, blowfish) \ |
| 196 | DO(TWOFISH, twofish) \ |
| 197 | DO(TEA, tea) \ |
| 198 | DO(XTEA, xtea) \ |
| 199 | DO(RC2, rc2) \ |
| 200 | DO(RC5, rc5) \ |
| 201 | DO(SKIPJACK, skipjack) \ |
| 202 | DO(CAST128, cast128) \ |
| 203 | DO(CAST256, cast256) \ |
| 204 | DO(SQUARE, square) \ |
| 205 | DO(RIJNDAEL, rijndael) \ |
| 206 | DO(RIJNDAEL192, rijndael192) \ |
| 207 | DO(RIJNDAEL256, rijndael256) \ |
| 208 | DO(SERPENT, serpent) \ |
| 209 | DO(NOEKEON, noekeon) \ |
| 210 | /* end */ |
| 211 | |
| 212 | #define RNGS(DO) \ |
| 213 | DO("des-ofb", des_ofbrand) \ |
| 214 | DO("des-counter", des_counterrand) \ |
| 215 | DO("desx-ofb", desx_ofbrand) \ |
| 216 | DO("desx-counter", desx_counterrand) \ |
| 217 | DO("des3-ofb", des3_ofbrand) \ |
| 218 | DO("des3-counter", des3_counterrand) \ |
| 219 | DO("mars-ofb", mars_ofbrand) \ |
| 220 | DO("mars-counter", mars_counterrand) \ |
| 221 | DO("idea-ofb", idea_ofbrand) \ |
| 222 | DO("idea-counter", idea_counterrand) \ |
| 223 | DO("safer-ofb", safer_ofbrand) \ |
| 224 | DO("safer-counter", safer_counterrand) \ |
| 225 | DO("safersk-ofb", safersk_ofbrand) \ |
| 226 | DO("safersk-counter", safersk_counterrand) \ |
| 227 | DO("blowfish-ofb", blowfish_ofbrand) \ |
| 228 | DO("blowfish-counter", blowfish_counterrand) \ |
| 229 | DO("twofish-ofb", twofish_ofbrand) \ |
| 230 | DO("twofish-counter", twofish_counterrand) \ |
| 231 | DO("tea-ofb", tea_ofbrand) \ |
| 232 | DO("tea-counter", tea_counterrand) \ |
| 233 | DO("xtea-ofb", xtea_ofbrand) \ |
| 234 | DO("xtea-counter", xtea_counterrand) \ |
| 235 | DO("rc2-ofb", rc2_ofbrand) \ |
| 236 | DO("rc2-counter", rc2_counterrand) \ |
| 237 | DO("rc5-ofb", rc5_ofbrand) \ |
| 238 | DO("rc5-counter", rc5_counterrand) \ |
| 239 | DO("skipjack-ofb", skipjack_ofbrand) \ |
| 240 | DO("skipjack-counter", skipjack_counterrand) \ |
| 241 | DO("cast128-ofb", cast128_ofbrand) \ |
| 242 | DO("cast128-counter", cast128_counterrand) \ |
| 243 | DO("cast256-ofb", cast256_ofbrand) \ |
| 244 | DO("cast256-counter", cast256_counterrand) \ |
| 245 | DO("square-ofb", square_ofbrand) \ |
| 246 | DO("square-counter", square_counterrand) \ |
| 247 | DO("rijndael-ofb", rijndael_ofbrand) \ |
| 248 | DO("rijndael-counter", rijndael_counterrand) \ |
| 249 | DO("rijndael192-ofb", rijndael192_ofbrand) \ |
| 250 | DO("rijndael192-counter", rijndael192_counterrand) \ |
| 251 | DO("rijndael256-ofb", rijndael256_ofbrand) \ |
| 252 | DO("rijndael256-counter", rijndael256_counterrand) \ |
| 253 | DO("serpent-ofb", serpent_ofbrand) \ |
| 254 | DO("serpent-counter", serpent_counterrand) \ |
| 255 | DO("noekeon-ofb", noekeon_ofbrand) \ |
| 256 | DO("noekeon-counter", noekeon_counterrand) \ |
| 257 | DO("md2-mgf", md2_mgfrand) \ |
| 258 | DO("md4-mgf", md4_mgfrand) \ |
| 259 | DO("md5-mgf", md5_mgfrand) \ |
| 260 | DO("tiger-mgf", tiger_mgfrand) \ |
| 261 | DO("has160-mgf", has160_mgfrand) \ |
| 262 | DO("sha-mgf", sha_mgfrand) \ |
| 263 | DO("sha224-mgf", sha224_mgfrand) \ |
| 264 | DO("sha256-mgf", sha256_mgfrand) \ |
| 265 | DO("sha384-mgf", sha384_mgfrand) \ |
| 266 | DO("sha512-mgf", sha512_mgfrand) \ |
| 267 | DO("rmd128-mgf", rmd128_mgfrand) \ |
| 268 | DO("rmd160-mgf", rmd160_mgfrand) \ |
| 269 | DO("rmd256-mgf", rmd256_mgfrand) \ |
| 270 | DO("rmd320-mgf", rmd320_mgfrand) \ |
| 271 | DO("whirlpool-mgf", whirlpool_mgfrand) \ |
| 272 | DO("whirlpool256-mgf", whirlpool256_mgfrand) \ |
| 273 | DO("rc4", rc4_rand) \ |
| 274 | DO("seal", seal_randkludge) \ |
| 275 | /* end */ |
| 276 | |