From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] aes: Allow non-zero initialization vector
Date: Mon, 29 Jan 2018 15:20:46 -0500 [thread overview]
Message-ID: <20180129202046.GD20149@bill-the-cat> (raw)
In-Reply-To: <741261514983436@web53g.yandex.ru>
On Wed, Jan 03, 2018 at 03:43:56PM +0300, Андрей Мозжухин wrote:
> AES encryption in CBC mode, in most cases, must be used with random
> initialization vector. Using the same key and initialization vector several
> times is weak and must be avoided.
>
> Added iv parameter to the aes_cbc_encrypt_blocks and aes_cbc_decrypt_blocks
> functions for passing initialization vector.
>
> Command 'aes' now also require the initialization vector parameter.
>
> Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180129/eba38214/attachment.sig>
prev parent reply other threads:[~2018-01-29 20:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-03 12:43 [U-Boot] [PATCH] aes: Allow non-zero initialization vector Андрей Мозжухин
2018-01-29 20:20 ` Tom Rini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180129202046.GD20149@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox