Hello,

I'd like to clarify the crypto API vs the case of per-packet IV
specification. Is it expected to have meaningful iv.length be specified
at session creation time (with NULL == iv.data)?

Current linux-generic crypto code expects that if (NULL == iv.data) then
also (0 == iv.length).

Two possible proposals:

 - Add override_iv_length to odp_crypto_op_param_t structure

OR

 - Enforce that an aplication always provide correct iv.length at
session creation time.

Any thoughts?

-- 
With best wishes
Dmitry

Reply via email to