Lines Matching defs:xform_cipher
3717 struct rte_crypto_sym_xform *xform_cipher;
3726 xform_cipher = calloc(1, sizeof(*xform_cipher));
3727 if (xform_cipher == NULL)
3730 xform_cipher->type = RTE_CRYPTO_SYM_XFORM_CIPHER;
3731 xform_cipher->cipher.op = encrypt ? RTE_CRYPTO_CIPHER_OP_ENCRYPT :
3736 &xform_cipher->cipher.algo, tokens[2]);
3751 xform_cipher->cipher.key.data = key;
3752 xform_cipher->cipher.key.length = (uint16_t)len;
3767 xform_cipher->cipher.iv.length = (uint16_t)len;
3768 xform_cipher->cipher.iv.offset = RTE_TABLE_ACTION_SYM_CRYPTO_IV_OFFSET;
3772 return xform_cipher;
3780 free(xform_cipher);
3790 struct rte_crypto_sym_xform *xform_cipher;
3840 xform_cipher = parse_table_action_cipher(p, key, max_key_len, tokens,
3842 if (xform_cipher == NULL)
3848 xform_cipher->next = xform_auth;
3849 return xform_cipher;
3851 xform_auth->next = xform_cipher;