Per-session IV (in it's current form) are static IVs used (possibly) for
several packets, and so they degradate security of genrated packets.
Instead of modifying semantics of IV wrt processed packets, etc. let's
deprecate (and in future remove) this IV altogether and enforce
applications to always specify correct IV in the per-packet operation
params.
Signed-off-by: Dmitry Eremin-Solenikov [email protected]

----------------github------------------------
/** Email created from pull request 32 (lumag:crypto-no-iv)
 ** https://github.com/Linaro/odp/pull/32
 ** Patch: https://github.com/Linaro/odp/pull/32.patch
 ** Base sha: f4c213cccc49b4b28557506ad19fba49b872d24f
 ** Merge commit sha: 276cbed78b033c6adb79f5ca173e0731a4e97450
 **/
----------------/github------------------------

----------------checkpatch.pl------------------------
CHECK: No space is necessary after a cast
#146: FILE: include/odp/api/spec/crypto.h:289:
+       ODP_DEPRECATE(odp_crypto_iv_t) ODP_DEPRECATE(iv);

total: 0 errors, 0 warnings, 1 checks, 870 lines checked


to_send-p-000.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
----------------/checkpatch.pl------------------------

Reply via email to