diff options
Diffstat (limited to 'src/lib/libcrypto/cast/c_enc.c')
| -rw-r--r-- | src/lib/libcrypto/cast/c_enc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/libcrypto/cast/c_enc.c b/src/lib/libcrypto/cast/c_enc.c index 357c41ebf0..2ae54f5cfb 100644 --- a/src/lib/libcrypto/cast/c_enc.c +++ b/src/lib/libcrypto/cast/c_enc.c | |||
| @@ -59,6 +59,7 @@ | |||
| 59 | #include <openssl/cast.h> | 59 | #include <openssl/cast.h> |
| 60 | #include "cast_lcl.h" | 60 | #include "cast_lcl.h" |
| 61 | 61 | ||
| 62 | #ifndef OPENBSD_CAST_ASM | ||
| 62 | void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key) | 63 | void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key) |
| 63 | { | 64 | { |
| 64 | register CAST_LONG l,r,t; | 65 | register CAST_LONG l,r,t; |
| @@ -124,6 +125,7 @@ void CAST_decrypt(CAST_LONG *data, const CAST_KEY *key) | |||
| 124 | data[1]=l&0xffffffffL; | 125 | data[1]=l&0xffffffffL; |
| 125 | data[0]=r&0xffffffffL; | 126 | data[0]=r&0xffffffffL; |
| 126 | } | 127 | } |
| 128 | #endif | ||
| 127 | 129 | ||
| 128 | void CAST_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, | 130 | void CAST_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, |
| 129 | const CAST_KEY *ks, unsigned char *iv, int enc) | 131 | const CAST_KEY *ks, unsigned char *iv, int enc) |
