intel / intel-ipsec-mb

Intel(R) Multi-Buffer Crypto for IPSec
BSD 3-Clause "New" or "Revised" License
289 stars 87 forks source link

added addon-(cipher,hash) algorithm #15

Closed deadcafe closed 7 years ago

deadcafe commented 7 years ago

Supports addition of optional CIPHER and HASH algorithms in NOCHECK mode. As a result, 3DES, CHACHA 20-POLY 1305, etc. can also be used with MB API.

The addon function should return zero on success and return otherwise.

The test code is rough, is it OK?

tkanteck commented 7 years ago

Thanks! I think the test code is sufficient for the functionality. Let me test the patch on Windows and introduce any corrections if required before merging. I'll probably also enable this feature for checked job_submit().

tkanteck commented 7 years ago

Resolved Windows compilation problems and added support for CHECK API. After some discussion renamed from 'addon' to 'custom'. Thanks for your contribution! The patch is merged into 330f130a4d165a430692d0da278ea190c8cbd799