Home GnuPG

chacha20: allow setting counter for stream random access
11b8d2d449a7Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

chacha20: allow setting counter for stream random access

* cipher/chacha20.c (CHACHA20_CTR_SIZE): New.
(chacha20_ivsetup): Add setup for full counter.
(chacha20_setiv): Allow ivlen == CHACHA20_CTR_SIZE.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Dec 21 2014, 4:36 PM
Parents
rCc964321c8a13: gcm: do not pass extra key pointer for setupM/fillM
Branches
Unknown
Tags
Unknown

Event Timeline

Jussi Kivilinna <jussi.kivilinna@iki.fi> committed rC11b8d2d449a7: chacha20: allow setting counter for stream random access (authored by Jussi Kivilinna <jussi.kivilinna@iki.fi>).Dec 23 2014, 11:51 AM