From 2be71faae4df9f97a700e7e813dad7b544492339 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Tue, 18 Jun 2013 16:33:27 +0200
Subject: [PATCH] Fixed values for 2-key Triple DES in cipher layer
---
ChangeLog | 1 +
library/cipher_wrap.c | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 4567fdaca..291767b9a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,6 +29,7 @@ Bugfix
certificates
* x509parse_crtpath() is now reentrant and uses more portable stat()
* Fixed bignum.c and bn_mul.h to support Thumb2 and LLVM compiler
+ * Fixed values for 2-key Triple DES in cipher layer
= Version 1.2.7 released 2013-04-13
Features
diff --git a/library/cipher_wrap.c b/library/cipher_wrap.c
index ad829b731..943721274 100644
--- a/library/cipher_wrap.c
+++ b/library/cipher_wrap.c
@@ -535,8 +535,8 @@ const cipher_info_t des_ede_cbc_info = {
POLARSSL_MODE_CBC,
POLARSSL_KEY_LENGTH_DES_EDE,
"DES-EDE-CBC",
- 16,
- 16,
+ 8,
+ 8,
&des_ede_info
};