]> git.ipfire.org Git - thirdparty/hostap.git/commit
wlantest: Allow GHASH update calls to avoid extra allocation
authorJouni Malinen <j@w1.fi>
Sat, 8 Sep 2012 20:40:06 +0000 (23:40 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 8 Sep 2012 20:40:06 +0000 (23:40 +0300)
commitbe87d3c34531a062335afa21bfec72876d5585cf
tree960baa9347c94419dbeab22b7c07a1425d47666b
parentb4a5fcb28676e0df8bce63de9f73c61932b282ca
wlantest: Allow GHASH update calls to avoid extra allocation

There is no need to allocate a temporary buffer and build GHASH input
data into it. Instead, ghash() is trivial to split into update part that
can be called separately for each segment.

Signed-hostap: Jouni Malinen <j@w1.fi>
wlantest/gcmp.c