HomeFreeBSD

armv8crypto: Extract GCM state into a structure

Description

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

Details

Provenance
markjAuthored on Feb 8 2021, 2:19 PM
Reviewer
jhb
Differential Revision
D28500: armv8crypto: Extract GCM state into a structure
Parents
R10:0dc7076037a8: armv8crypto: Fix some edge cases in the AES-GCM implementation
Branches
Unknown
Tags
Unknown