You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/libs/polarssl/patches/310-fix_blowfish_key_len.patch

30 lines
698 B
Diff

--- 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,