[erlang-patches] crypto: Add IGE mode for AES

Yura Beznos yura.beznos@REDACTED
Tue Aug 13 17:40:03 CEST 2013


Updated:
https://github.com/Zhiz0id/otp/commit/0d77985af825e9e419d28a502e6116339af076e6
1. fixed, no export
2. added docs.

--
Yura


On Tue, Aug 13, 2013 at 4:43 PM, Sverker Eriksson <
sverker.eriksson@REDACTED> wrote:

> Fredrik wrote:
>
>> On 08/01/2013 07:40 AM, Yura Beznos wrote:
>>
>>> Hello,
>>>
>>> I'd like to submit this patch to add two new functions to the crypt
>>> library.
>>>
>>> Repo branch: https://github.com/Zhiz0id/**otp/tree/aes_ige_crypt<https://github.com/Zhiz0id/otp/tree/aes_ige_crypt>
>>> Compare:
>>> https://github.com/Zhiz0id/**otp/compare/erlang:master...**aes_ige_crypt<https://github.com/Zhiz0id/otp/compare/erlang:master...aes_ige_crypt>
>>>
>>> Why this new feature?
>>>
>>> It allows to use OpenSSL aes_ige_encrypt function.
>>>
>>> Risks / uncertain artifacts
>>>
>>> None.
>>>
>>> How did you solve it?
>>>
>>> Added two functions: aes_ige_256_decrypt, aes_ige_256_encrypt .
>>>
>>>
>>> Thanks.
>>>
>>>
>>> --
>>> Yura
>>>
>>>
>>>
>>> ______________________________**_________________
>>> erlang-patches mailing list
>>> erlang-patches@REDACTED
>>> http://erlang.org/mailman/**listinfo/erlang-patches<http://erlang.org/mailman/listinfo/erlang-patches>
>>>
>> Hello Yura,
>> I've assigned this patch to be reviewed by responsible, you will get
>> feedback as soon as this is done.
>> Thanks,
>>
>
> Looks good, Yura. Two objections though:
>
> 1. Do not export the aes_ige_256_encrypt/decrypt functions. Users should
> only use block_encrypt/4 and block_decrypt/4.
>
> 2. Documentation updates is missing (of block_encrypt/4 and
> block_decrypt/4).
>
>
> /Sverker, Erlang/OTP
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20130813/e836b230/attachment.htm>


More information about the erlang-patches mailing list