HomeFreeBSD

opencrypto: Add a routine to copy a crypto buffer cursor

Description

opencrypto: Add a routine to copy a crypto buffer cursor

This was useful in converting armv8crypto to use buffer cursors. There
are some cases where one wants to make two passes over data, and this
provides a way to "reset" a cursor.

Reviewed by: jhb
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D28949

Details

Provenance
markjAuthored on Feb 16 2022, 2:45 AM
Reviewer
jhb
Differential Revision
D28949: opencrypto: Add a routine to copy a crypto buffer cursor
Parents
rG6baea3312d92: LinuxKPI: skbuff updates
Branches
Unknown
Tags
Unknown