[erlang-patches] Remove text length check in aes_cfb_128_encrypt

Sverker Eriksson <>
Thu Aug 23 10:45:53 CEST 2012


Great initiative, Richie.

You got in second place this time, however.
The exact same patch has already been merged into maint branch for 
R15B02 and will soon be pushed to github as 
6faad239766accdcc007540f0b8b38d4709cd435.

/Sverker, Erlang/OTP


Fredrik wrote:
> Hi Richie
>
> I have now included your patch in the 'pu' branch.
> Thanks for your contribution
>
> BR Fredrik Gustafsson
> Erlang OTP Team
> On 08/23/2012 12:18 AM, Richie Jefts wrote:
>   
>> crypto:aes_cfb_128_encrypt/3 currently throws a badarg when the Text
>> parameter is not a multiple of 16. CFB mode does not require this
>> restriction. The following patch removes this check.
>>
>> http://erlang.org/pipermail/erlang-questions/2012-January/063553.html
>>
>> git fetch git://github.com/buerkle/otp.git aes_cfb_128_encrypt_length
>>
>> https://github.com/buerkle/otp/compare/aes_cfb_128_encrypt_length
>> https://github.com/buerkle/otp/compare/aes_cfb_128_encrypt_length.patch
>>
>> thank you
>> richie
>> _______________________________________________
>> erlang-patches mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-patches
>>     
>
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches
>
>   



More information about the erlang-patches mailing list