summaryrefslogtreecommitdiffstats
path: root/package/libs/polarssl/patches/310-fix_blowfish_key_len.patch
blob: 0b4878e192969ea567b1bd32104353ea9541aaae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- 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,
     "BF-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,
     "BF-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,
     "BF-CTR",
     8,
     8,