[erlang-patches] Remove text length check in aes_cfb_128_encrypt

Richie Jefts rjefts@REDACTED
Thu Aug 23 00:18:48 CEST 2012


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



More information about the erlang-patches mailing list