crypto: Fix failure to process F8, F9 request

This patch clears up the supports for 32KB+ packet
and makes it more generic (not cipher/hash specific)

This is done by relocating where the following are being
processed for 32KB+ packets
- ce_in_dst_desc: from chain_sg_buffer_in() to ce_in_final()
- ce_out_src_desc: from chain_sg_buffer_out() to ce_out_final()

Furthermore, the descriptor length for the last (single or
multiple descriptors) entry of the above mentioned descriptor
lists is not set correctly.

With the above fixes, f8, f9 and AEAD operations (on supported
targets) is functioning properly.

Signed-off-by: Mona Hossain <mhossain@codeaurora.org>
1 file changed