From 399901082925ad76fc2bd5cd8d351a590f3f2989 Mon Sep 17 00:00:00 2001 From: beck <> Date: Tue, 15 Apr 2014 17:46:17 +0000 Subject: Send the rotIBM stream cipher (ebcdic) to Valhalla to party for eternity with the bearded ones... some API's that nobody should be using will dissapear with this commit. --- src/lib/libcrypto/bf/bftest.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/lib/libcrypto/bf') diff --git a/src/lib/libcrypto/bf/bftest.c b/src/lib/libcrypto/bf/bftest.c index 97e6634d37..20caf0f3f8 100644 --- a/src/lib/libcrypto/bf/bftest.c +++ b/src/lib/libcrypto/bf/bftest.c @@ -75,10 +75,6 @@ int main(int argc, char *argv[]) #else #include -#ifdef CHARSET_EBCDIC -#include -#endif - static char *bf_key[2]={ "abcdefghijklmnopqrstuvwxyz", "Who is John Galt?" @@ -361,16 +357,9 @@ static int test(void) unsigned char out[8]; BF_LONG len; -#ifdef CHARSET_EBCDIC - ebcdic2ascii(cbc_data, cbc_data, strlen(cbc_data)); -#endif - printf("testing blowfish in raw ecb mode\n"); for (n=0; n<2; n++) { -#ifdef CHARSET_EBCDIC - ebcdic2ascii(bf_key[n], bf_key[n], strlen(bf_key[n])); -#endif BF_set_key(&key,strlen(bf_key[n]),(unsigned char *)bf_key[n]); data[0]=bf_plain[n][0]; -- cgit v1.2.3-55-g6feb