HomeFreeBSD

Use const with some read-only buffers in opencrypto APIs.

Description

Use const with some read-only buffers in opencrypto APIs.

  • Mark the source buffer for a copyback operation as const in the kernel API.
  • Use const with input-only buffers in crypto ioctl structures used with /dev/crypto.

MFC after: 1 month
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D10517

Details

Provenance
jhbAuthored on
Differential Revision
D10517: Use const with some read-only buffers in opencrypto APIs.
Parents
rS318089: Document r307729, unbound 1.5.10.
Branches
Unknown
Tags
Unknown