Page MenuHomeFreeBSD

cryptosoft: Use multi-block encrypt/decrypt for AES-CCM.
ClosedPublic

Authored by jhb on Jan 5 2022, 10:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 9:32 PM
Unknown Object (File)
Tue, Oct 22, 7:16 AM
Unknown Object (File)
Sep 30 2024, 5:27 PM
Unknown Object (File)
Sep 30 2024, 5:26 PM
Unknown Object (File)
Sep 30 2024, 3:33 PM
Unknown Object (File)
Sep 27 2024, 9:28 PM
Unknown Object (File)
Sep 22 2024, 5:22 PM
Unknown Object (File)
Sep 21 2024, 1:18 PM
Subscribers

Details

Summary

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Jan 5 2022, 10:14 PM

I think most of my comments in D33756 apply here too.

sys/opencrypto/cryptosoft.c
861–871

Is this the main difference with swcr_gcm()? I wonder if it'd be worth trying to share code between them. Maybe not, I guess the main goal here is to provide a convenient way to test the encrypt_multi implementations.

This revision is now accepted and ready to land.Jan 6 2022, 3:16 PM
  • Use for loop instead of while.
  • Handle boundary conditions when segment ends on a block boundary.
This revision now requires review to proceed.Jan 6 2022, 9:55 PM
This revision is now accepted and ready to land.Jan 7 2022, 2:18 PM