Searched refs:xform_aead (Results 1 – 2 of 2) sorted by relevance
4668 struct rte_crypto_sym_xform *xform_aead; in parse_table_action_aead() local4679 xform_aead = calloc(1, sizeof(*xform_aead)); in parse_table_action_aead()4680 if (xform_aead == NULL) in parse_table_action_aead()4683 xform_aead->type = RTE_CRYPTO_SYM_XFORM_AEAD; in parse_table_action_aead()4684 xform_aead->aead.op = encrypt ? RTE_CRYPTO_AEAD_OP_ENCRYPT : in parse_table_action_aead()4704 xform_aead->aead.key.data = key; in parse_table_action_aead()4705 xform_aead->aead.key.length = (uint16_t)len; in parse_table_action_aead()4718 xform_aead->aead.iv.length = (uint16_t)len; in parse_table_action_aead()4732 xform_aead->aead.aad_length = (uint16_t)len; in parse_table_action_aead()4743 return xform_aead; in parse_table_action_aead()[all …]
3961 struct rte_crypto_sym_xform *xform_aead; in parse_table_action_aead() local3972 xform_aead = calloc(1, sizeof(*xform_aead)); in parse_table_action_aead()3973 if (xform_aead == NULL) in parse_table_action_aead()3976 xform_aead->type = RTE_CRYPTO_SYM_XFORM_AEAD; in parse_table_action_aead()3977 xform_aead->aead.op = encrypt ? RTE_CRYPTO_AEAD_OP_ENCRYPT : in parse_table_action_aead()3997 xform_aead->aead.key.data = key; in parse_table_action_aead()3998 xform_aead->aead.key.length = (uint16_t)len; in parse_table_action_aead()4011 xform_aead->aead.iv.length = (uint16_t)len; in parse_table_action_aead()4025 xform_aead->aead.aad_length = (uint16_t)len; in parse_table_action_aead()4036 return xform_aead; in parse_table_action_aead()[all …]