Page MenuHomeFreeBSD

opencrypto: Integrate Chacha20 algorithm into OCF
AbandonedPublic

Authored by cem on Mar 17 2018, 5:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 12, 4:10 AM
Unknown Object (File)
Dec 11 2024, 4:37 PM
Unknown Object (File)
Sep 17 2024, 7:32 AM
Unknown Object (File)
Sep 9 2024, 12:16 AM
Unknown Object (File)
Sep 8 2024, 3:18 PM
Unknown Object (File)
Sep 8 2024, 2:41 AM
Unknown Object (File)
Sep 7 2024, 7:39 PM
Unknown Object (File)
Sep 3 2024, 12:14 AM
Subscribers
None

Details

Reviewers
jhb
markj
des
Summary

Mostly this is a thin shim around existing code to integrate with
enc_xform and cryptosoft (+ cryptodev).

Note that for correctness, the enc_xform specifies an API blocksize of 1
byte. This is correct, but inefficient because our cryptosoft device
passes a single block at a time to algorithms. I intend to extend the
xform API a little bit here to enable saner chunking in future work.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15614
Build 15650: arc lint + arc unit

Event Timeline

Fix logic error in key size validation and improve CRYPTDEBUG() while here.

Fix IV size and passthrough to underlying implementation. With this change,
cryptocheck (with added chacha20 mode, linked aginst openssl-devel 1.1 from
ports) passes.