Lines Matching defs:instruction
527 enum ocs_instruction instruction)
554 val = (cipher << 14) | (mode << 8) | (instruction << 6) |
562 enum ocs_instruction instruction)
571 set_ocs_aes_command(aes_dev, cipher, mode, instruction);
605 enum ocs_instruction instruction,
608 /* Ensure cipher, mode and instruction are valid. */
617 if (instruction != OCS_ENCRYPT && instruction != OCS_DECRYPT &&
618 instruction != OCS_EXPAND && instruction != OCS_BYPASS)
622 * When instruction is OCS_BYPASS, OCS simply copies data from source
628 if (instruction == OCS_BYPASS) {
746 if (instruction == OCS_DECRYPT) {
787 * @instruction: The instruction to perform (encrypt or decrypt).
799 enum ocs_instruction instruction,
810 NULL, 0, cipher, mode, instruction,
824 ocs_aes_init(aes_dev, mode, cipher, instruction);
913 * @instruction: The instruction to perform (encrypt or decrypt).
927 enum ocs_instruction instruction,
944 OCS_MODE_GCM, instruction,
949 ocs_aes_init(aes_dev, OCS_MODE_GCM, cipher, instruction);
1292 * @instruction: The instruction to perform (encrypt or decrypt).
1309 enum ocs_instruction instruction,
1326 instruction, dst_dma_list);
1330 ocs_aes_init(aes_dev, OCS_MODE_CCM, cipher, instruction);
1382 if (instruction == OCS_ENCRYPT) {