diff options
author | Rich Salz <rsalz@openssl.org> | 2015-01-12 10:40:00 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-01-12 10:40:00 -0500 |
commit | fcf64ba0ace1bb76c6e00ca7d0c7cf7f9bebe628 (patch) | |
tree | f311339b47723c214fbd10684e85f06daa74cc32 /crypto/des | |
parent | 9405a9a2e1594cea9c963c29d9898bb03cb0f24f (diff) | |
download | openssl-fcf64ba0ace1bb76c6e00ca7d0c7cf7f9bebe628.tar.gz |
RT3548: Remove some unsupported platforms.
This commit removes NCR, Tandem, Cray.
Regenerates TABLE.
Removes another missing BEOS fluff.
The last platform remaining on this ticket is WIN16.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/des')
-rw-r--r-- | crypto/des/destest.c | 34 | ||||
-rw-r--r-- | crypto/des/qud_cksm.c | 14 |
2 files changed, 0 insertions, 48 deletions
diff --git a/crypto/des/destest.c b/crypto/des/destest.c index b5bcf8f74b..31e01561b4 100644 --- a/crypto/des/destest.c +++ b/crypto/des/destest.c @@ -341,14 +341,7 @@ int main(int argc, char *argv[]) unsigned char cbc_out[40]; DES_LONG cs; unsigned char cret[8]; -#ifdef _CRAY - struct { - int a:32; - int b:32; - } lqret[2]; -#else DES_LONG lqret[4]; -#endif int num; char *str; @@ -738,32 +731,6 @@ plain[8+4], plain[8+5], plain[8+6], plain[8+7]); (unsigned long)cs); err=1; } -#ifdef _CRAY - if (lqret[0].a != 0x327eba8dL) - { - printf("quad_cksum error, out[0] %08lx is not %08lx\n", - (unsigned long)lqret[0].a,0x327eba8dUL); - err=1; - } - if (lqret[0].b != 0x201a49ccL) - { - printf("quad_cksum error, out[1] %08lx is not %08lx\n", - (unsigned long)lqret[0].b,0x201a49ccUL); - err=1; - } - if (lqret[1].a != 0x70d7a63aL) - { - printf("quad_cksum error, out[2] %08lx is not %08lx\n", - (unsigned long)lqret[1].a,0x70d7a63aUL); - err=1; - } - if (lqret[1].b != 0x501c2c26L) - { - printf("quad_cksum error, out[3] %08lx is not %08lx\n", - (unsigned long)lqret[1].b,0x501c2c26UL); - err=1; - } -#else if (lqret[0] != 0x327eba8dL) { printf("quad_cksum error, out[0] %08lx is not %08lx\n", @@ -789,7 +756,6 @@ plain[8+4], plain[8+5], plain[8+6], plain[8+7]); err=1; } #endif -#endif printf("input word alignment test"); for (i=0; i<4; i++) diff --git a/crypto/des/qud_cksm.c b/crypto/des/qud_cksm.c index dac201227e..c1e11e5fe1 100644 --- a/crypto/des/qud_cksm.c +++ b/crypto/des/qud_cksm.c @@ -80,18 +80,10 @@ DES_LONG DES_quad_cksum(const unsigned char *input, DES_cblock output[], int i; long l; const unsigned char *cp; -#ifdef _CRAY - struct lp_st { int a:32; int b:32; } *lp; -#else DES_LONG *lp; -#endif if (out_count < 1) out_count=1; -#ifdef _CRAY - lp = (struct lp_st *) &(output[0])[0]; -#else lp = (DES_LONG *) &(output[0])[0]; -#endif z0=Q_B0((*seed)[0])|Q_B1((*seed)[1])|Q_B2((*seed)[2])|Q_B3((*seed)[3]); z1=Q_B0((*seed)[4])|Q_B1((*seed)[5])|Q_B2((*seed)[6])|Q_B3((*seed)[7]); @@ -124,14 +116,8 @@ DES_LONG DES_quad_cksum(const unsigned char *input, DES_cblock output[], { /* The MIT library assumes that the checksum is * composed of 2*out_count 32 bit ints */ -#ifdef _CRAY - (*lp).a = z0; - (*lp).b = z1; - lp++; -#else *lp++ = z0; *lp++ = z1; -#endif } } return(z0); |