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
F84386200: D11757.diff
Thu, May 23, 3:58 AM
Unknown Object (File)
Fri, May 3, 6:20 PM
Unknown Object (File)
Dec 20 2023, 3:15 AM
Unknown Object (File)
Nov 6 2023, 5:58 PM
Unknown Object (File)
Nov 4 2023, 4:03 AM
Unknown Object (File)
Oct 31 2023, 3:41 PM
Unknown Object (File)
Oct 19 2023, 11:52 PM
Unknown Object (File)
Oct 5 2023, 4:56 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