summaryrefslogtreecommitdiffstats
path: root/crypto/modes/ofb128.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2010-05-04 19:23:02 +0000
committerAndy Polyakov <appro@openssl.org>2010-05-04 19:23:02 +0000
commitf472ec8c2f354314d278e11be567b43630acf090 (patch)
tree24e207ad6d35b9e545289f26053527e2449deadf /crypto/modes/ofb128.c
parent8a682556b49c04dc646e321d0e5cbb252fa8f526 (diff)
"Jumbo" update for crypto/modes:
- introduce common modes_lcl.h; - ctr128.c: implement additional CRYPTO_ctr128_encrypt_ctr32 interface; - gcm128.c: add omitted ARM initialization, remove ctx.ctr;
Diffstat (limited to 'crypto/modes/ofb128.c')
-rw-r--r--crypto/modes/ofb128.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/crypto/modes/ofb128.c b/crypto/modes/ofb128.c
index c732e2ec58..4b5b4ec648 100644
--- a/crypto/modes/ofb128.c
+++ b/crypto/modes/ofb128.c
@@ -48,7 +48,7 @@
*
*/
-#include "modes.h"
+#include "modes_lcl.h"
#include <string.h>
#ifndef MODES_DEBUG
@@ -58,14 +58,6 @@
#endif
#include <assert.h>
-#define STRICT_ALIGNMENT
-#if defined(__i386) || defined(__i386__) || \
- defined(__x86_64) || defined(__x86_64__) || \
- defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) || \
- defined(__s390__) || defined(__s390x__)
-# undef STRICT_ALIGNMENT
-#endif
-
/* The input and output encrypted as though 128bit ofb mode is being
* used. The extra state information to record how much of the
* 128bit block we have used is contained in *num;