]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
armv8crypto: Extract GCM state into a structure
authorMark Johnston <markj@FreeBSD.org>
Mon, 8 Feb 2021 14:19:10 +0000 (09:19 -0500)
committerMark Johnston <markj@FreeBSD.org>
Mon, 8 Feb 2021 14:19:10 +0000 (09:19 -0500)
commit7509b677b413b9551c15b483ec2ed9ce655d2455
tree948ea829b755f2bee81519c67f4defe6449e1fd4
parent0dc7076037a87100060309f7179ef6a01f32f99e
armv8crypto: Extract GCM state into a structure

This makes it easier to refactor the GCM code to operate on
crypto_buffer_cursors rather than plain contiguous buffers, with the aim
of minimizing the amount of copying and zeroing done today.

No functional change intended.

Reviewed by: jhb
MFC after: 1 week
Sponsored by: Ampere Computing
Submitted by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D28500
sys/crypto/armv8/armv8_crypto_wrap.c