[openssl-users] big endian vs little endian

Jeffrey Walton noloader at gmail.com
Mon Dec 19 02:09:52 UTC 2016


On Sun, Dec 18, 2016 at 5:09 PM, Viktor Dukhovni
<openssl-users at dukhovni.org> wrote:
>
>> On Dec 18, 2016, at 2:55 PM, Walter H. via openssl-users <openssl-users at openssl.org> wrote:
>>
>> encrypt
>> openssl enc -e -in file -out encryptfile -aes-256-gcm
>
> GCM is not supported with "openssl enc(1)".  Use a CBC cipher
> instead.

+1. This was late to be documented, but its available at
(https://www.openssl.org/docs/man1.0.2/apps/enc.html):

    "The enc program does not support authenticated
    encryption modes like CCM and GCM. The utility
    does not store or retrieve the authentication tag."

Maybe the encrypt program should throw an error rather than producing
incorrect results without a warning.


More information about the openssl-users mailing list