@@ -327,6 +327,9 @@ typedef struct odp_crypto_session_param_t {
*/
odp_crypto_key_t auth_key;
+ /** Authentication Initialization Vector (IV) */
+ odp_crypto_iv_t auth_iv;
+
/** Authentication digest length in bytes
*
* Use odp_crypto_auth_capability() for supported digest lengths.
@@ -397,6 +400,9 @@ typedef struct odp_crypto_op_param_t {
/** Override session IV pointer */
uint8_t *override_iv_ptr;
+ /** Override session authentication IV pointer */
+ uint8_t *override_auth_iv_ptr;
+
/** Offset from start of packet for hash result
*
* Specifies the offset where the hash result is to be stored. In case
@@ -437,6 +443,9 @@ typedef struct odp_crypto_packet_op_param_t {
/** Override session IV pointer */
uint8_t *override_iv_ptr;
+ /** Override session authentication IV pointer */
+ uint8_t *override_auth_iv_ptr;
+
/** Offset from start of packet for hash result
*
* Specifies the offset where the hash result is to be stored. In case
@@ -606,6 +615,9 @@ typedef struct odp_crypto_auth_capability_t {
/** Key length in bytes */
uint32_t key_len;
+ /** IV length in bytes */
+ uint32_t iv_len;
+
/** Additional Authenticated Data (AAD) lengths */
struct {
/** Minimum AAD length in bytes */