intel / intel-ipsec-mb

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

Change to IMB_GHASH() API #71

Closed tkanteck closed 3 years ago

tkanteck commented 3 years ago

What We plan to change the API so it takes 6th argument pointing to current hash value. This way the API will be able to carry a GHASH update operation. If the pointer is NULL then the new API will behave as today (assume current hash value is zero).

Impact Any application using this API will need to be modified to accommodate the change (at least pass 6th argument with NULL). This requires application recompilation and ABI incompatibility for this API.

Action We are not aware of any applications that would be impacted by this change. If you know of any then let us know by replying here.

tkanteck commented 3 years ago

OK - it doesn't look like change of this API is going to impact anybody. It will be reworked in the next days. We may actually drop the concept of 6th argument and recycle authtag output pointer to be an in/out pointer. Thanks for reading.