aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/modes/ofb128.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2008-12-23 11:18:45 +0000
committerAndy Polyakov <appro@openssl.org>2008-12-23 11:18:45 +0000
commit63fc7f848d4e047c3bd0f4a1c7e843191b2e9f0a (patch)
tree05e99736ef10da0618bced732fe626753da282ed /crypto/modes/ofb128.c
parent830457ce4fc9c7699900eff53bb4cfc0d4203ed4 (diff)
downloadopenssl-63fc7f848d4e047c3bd0f4a1c7e843191b2e9f0a.tar.gz
crypto/modes: make modes.h selfsufficient and rename block_f to block128_t.
Diffstat (limited to 'crypto/modes/ofb128.c')
-rw-r--r--crypto/modes/ofb128.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/modes/ofb128.c b/crypto/modes/ofb128.c
index ae264c832c..09b3430034 100644
--- a/crypto/modes/ofb128.c
+++ b/crypto/modes/ofb128.c
@@ -48,7 +48,7 @@
*
*/
-#include <stddef.h>
+#include "modes.h"
#include <string.h>
#ifndef MODES_DEBUG
@@ -58,8 +58,6 @@
#endif
#include <assert.h>
-#include "modes.h"
-
#define STRICT_ALIGNMENT
#if defined(__i386) || defined(__i386__) || \
defined(__x86_64) || defined(__x86_64__) || \
@@ -75,7 +73,7 @@
void CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out,
size_t len, const void *key,
unsigned char ivec[16], int *num,
- block_f block)
+ block128_f block)
{
unsigned int n;
size_t l=0;