diff options
| author | jsg <> | 2014-10-28 07:35:59 +0000 |
|---|---|---|
| committer | jsg <> | 2014-10-28 07:35:59 +0000 |
| commit | 0505bd63c15c82aead21cde52afbf6c41421d140 (patch) | |
| tree | d82fff0ac0ba35d28951ab9d9e5225251c23ecda /src/lib/libcrypto/idea/i_cbc.c | |
| parent | 794dcf073b734d649d7b5d30916d7a3ae919b66e (diff) | |
| download | openbsd-0505bd63c15c82aead21cde52afbf6c41421d140.tar.gz openbsd-0505bd63c15c82aead21cde52afbf6c41421d140.tar.bz2 openbsd-0505bd63c15c82aead21cde52afbf6c41421d140.zip | |
deregister; no binary change
ok jsing@ miod@
Diffstat (limited to 'src/lib/libcrypto/idea/i_cbc.c')
| -rw-r--r-- | src/lib/libcrypto/idea/i_cbc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/idea/i_cbc.c b/src/lib/libcrypto/idea/i_cbc.c index 74f490d0c0..5bb9640c34 100644 --- a/src/lib/libcrypto/idea/i_cbc.c +++ b/src/lib/libcrypto/idea/i_cbc.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: i_cbc.c,v 1.2 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: i_cbc.c,v 1.3 2014/10/28 07:35:58 jsg Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -62,9 +62,9 @@ | |||
| 62 | void idea_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, | 62 | void idea_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, |
| 63 | IDEA_KEY_SCHEDULE *ks, unsigned char *iv, int encrypt) | 63 | IDEA_KEY_SCHEDULE *ks, unsigned char *iv, int encrypt) |
| 64 | { | 64 | { |
| 65 | register unsigned long tin0,tin1; | 65 | unsigned long tin0,tin1; |
| 66 | register unsigned long tout0,tout1,xor0,xor1; | 66 | unsigned long tout0,tout1,xor0,xor1; |
| 67 | register long l=length; | 67 | long l=length; |
| 68 | unsigned long tin[2]; | 68 | unsigned long tin[2]; |
| 69 | 69 | ||
| 70 | if (encrypt) | 70 | if (encrypt) |
| @@ -135,8 +135,8 @@ void idea_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, | |||
| 135 | 135 | ||
| 136 | void idea_encrypt(unsigned long *d, IDEA_KEY_SCHEDULE *key) | 136 | void idea_encrypt(unsigned long *d, IDEA_KEY_SCHEDULE *key) |
| 137 | { | 137 | { |
| 138 | register IDEA_INT *p; | 138 | IDEA_INT *p; |
| 139 | register unsigned long x1,x2,x3,x4,t0,t1,ul; | 139 | unsigned long x1,x2,x3,x4,t0,t1,ul; |
| 140 | 140 | ||
| 141 | x2=d[0]; | 141 | x2=d[0]; |
| 142 | x1=(x2>>16); | 142 | x1=(x2>>16); |
