aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/modes/modes.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-04-20 08:13:58 +0000
committerAndy Polyakov <appro@openssl.org>2011-04-20 08:13:58 +0000
commitdaaf5088fd20fe7c00a96a1cbae05e47b5dd2fc5 (patch)
tree2a5a06f64a093f4ee87e29e8470803152441878e /crypto/modes/modes.h
parente382e4e603079bec1c565b08fdaa2b3c5bd70b49 (diff)
downloadopenssl-daaf5088fd20fe7c00a96a1cbae05e47b5dd2fc5.tar.gz
xts128.c: minor optimization and clarified prototype.
Diffstat (limited to 'crypto/modes/modes.h')
-rw-r--r--crypto/modes/modes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/modes/modes.h b/crypto/modes/modes.h
index feacfb77ed..5cf1935db0 100644
--- a/crypto/modes/modes.h
+++ b/crypto/modes/modes.h
@@ -121,5 +121,5 @@ size_t CRYPTO_ccm128_tag(CCM128_CONTEXT *ctx, unsigned char *tag, size_t len);
typedef struct xts128_context XTS128_CONTEXT;
-int CRYPTO_xts128_encrypt(const XTS128_CONTEXT *ctx, const unsigned char *iv,
+int CRYPTO_xts128_encrypt(const XTS128_CONTEXT *ctx, const unsigned char iv[16],
const unsigned char *inp, unsigned char *out, size_t len, int enc);