From 8a4ec44c7c4a7fa0c13c214c4c7a2765b7d115b4 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Fri, 12 Apr 2013 13:18:53 +0200
Subject: [PATCH] Blowfish has default of 128-bit keysize in cipher layer
(cherry picked from commit bfe671f2d5b69c60baf3742bb4e0a31172bd8792)
---
library/cipher_wrap.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/library/cipher_wrap.c b/library/cipher_wrap.c
index 6b85903f0..ad829b731 100644
--- a/library/cipher_wrap.c
+++ b/library/cipher_wrap.c
@@ -642,7 +642,7 @@ const cipher_base_t blowfish_info = {
const cipher_info_t blowfish_cbc_info = {
POLARSSL_CIPHER_BLOWFISH_CBC,
POLARSSL_MODE_CBC,
- 32,
+ 128,
"BLOWFISH-CBC",
8,
8,
@@ -653,7 +653,7 @@ const cipher_info_t blowfish_cbc_info = {
const cipher_info_t blowfish_cfb64_info = {
POLARSSL_CIPHER_BLOWFISH_CFB64,
POLARSSL_MODE_CFB,
- 32,
+ 128,
"BLOWFISH-CFB64",
8,
8,
@@ -665,7 +665,7 @@ const cipher_info_t blowfish_cfb64_info = {
const cipher_info_t blowfish_ctr_info = {
POLARSSL_CIPHER_BLOWFISH_CTR,
POLARSSL_MODE_CTR,
- 32,
+ 128,
"BLOWFISH-CTR",
8,
8,