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
Sponsored by: Ampere Computing
Submitted by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D28500

(cherry picked from commit 7509b677b413b9551c15b483ec2ed9ce655d2455)

Details

Provenance
markjAuthored on Feb 8 2021, 2:19 PM
Reviewer
jhb
Differential Revision
D28500: armv8crypto: Extract GCM state into a structure
Parents
rG859d72fa6538: iflib: Free resources in a consistent order during detach
Branches
Unknown
Tags
Unknown