Lines Matching refs:instruction
61 * @instruction: Instruction to be executed (encrypt / decrypt).
83 enum ocs_instruction instruction;
310 enum ocs_instruction instruction,
328 if (instruction == OCS_ENCRYPT)
358 rctx->instruction = instruction;
413 if (rctx->mode == OCS_MODE_CBC && rctx->instruction == OCS_DECRYPT)
418 if (rctx->cts_swap && rctx->instruction == OCS_DECRYPT)
489 if (!(rctx->cts_swap && rctx->instruction == OCS_DECRYPT))
549 rc = ocs_aes_op(aes_dev, rctx->mode, tctx->cipher, rctx->instruction,
559 if (rctx->cts_swap && rctx->instruction == OCS_ENCRYPT) {
569 if (rctx->instruction == OCS_ENCRYPT) {
595 enum ocs_instruction instruction,
603 if (instruction == OCS_DECRYPT && req->cryptlen < tag_size)
637 enum ocs_instruction instruction,
659 return (instruction == OCS_ENCRYPT) ?
664 rc = kmb_ocs_aead_validate_input(req, instruction, mode);
676 rctx->instruction = instruction;
735 if (rctx->instruction == OCS_DECRYPT) {
817 rctx->instruction == OCS_ENCRYPT)) {
902 rctx->instruction, rctx->dst_dll.dma_addr,
911 rctx->instruction,
921 if (rctx->instruction == OCS_DECRYPT) {