Page MenuHomeFreeBSD

Add a new COP_F_CIPHER_FIRST flag for struct crypt_op.
ClosedPublic

Authored by jhb on Jul 27 2017, 9:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Aug 5 2025, 11:25 PM
Unknown Object (File)
Jul 13 2025, 3:15 AM
Unknown Object (File)
Jul 1 2025, 11:56 AM
Unknown Object (File)
Jun 30 2025, 3:44 PM
Unknown Object (File)
Jun 27 2025, 6:43 PM
Unknown Object (File)
Jun 27 2025, 10:33 AM
Unknown Object (File)
Jun 24 2025, 10:55 PM
Unknown Object (File)
Jun 21 2025, 12:52 PM

Details

Summary

Add a new COP_F_CIPHER_FIRST flag for struct crypt_op.

This requests that the cipher be performed before rather than after
the HMAC when both are specified for a single operation.

Test Plan
  • testing IPSec-like encrypt-then-authenticate operations from userland via the cryptocheck tool on ccr0 and cryptosoft
  • encryption operations need this flag for EtA while decryption operations do not

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 10706
Build 11106: arc lint + arc unit