Lines Matching refs:instruction
527 enum ocs_instruction instruction) in set_ocs_aes_command() argument
554 val = (cipher << 14) | (mode << 8) | (instruction << 6) | in set_ocs_aes_command()
562 enum ocs_instruction instruction) in ocs_aes_init() argument
571 set_ocs_aes_command(aes_dev, cipher, mode, instruction); in ocs_aes_init()
605 enum ocs_instruction instruction, in ocs_aes_validate_inputs() argument
617 if (instruction != OCS_ENCRYPT && instruction != OCS_DECRYPT && in ocs_aes_validate_inputs()
618 instruction != OCS_EXPAND && instruction != OCS_BYPASS) in ocs_aes_validate_inputs()
628 if (instruction == OCS_BYPASS) { in ocs_aes_validate_inputs()
746 if (instruction == OCS_DECRYPT) { in ocs_aes_validate_inputs()
799 enum ocs_instruction instruction, in ocs_aes_op() argument
810 NULL, 0, cipher, mode, instruction, in ocs_aes_op()
824 ocs_aes_init(aes_dev, mode, cipher, instruction); in ocs_aes_op()
927 enum ocs_instruction instruction, in ocs_aes_gcm_op() argument
944 OCS_MODE_GCM, instruction, in ocs_aes_gcm_op()
949 ocs_aes_init(aes_dev, OCS_MODE_GCM, cipher, instruction); in ocs_aes_gcm_op()
1309 enum ocs_instruction instruction, in ocs_aes_ccm_op() argument
1326 instruction, dst_dma_list); in ocs_aes_ccm_op()
1330 ocs_aes_init(aes_dev, OCS_MODE_CCM, cipher, instruction); in ocs_aes_ccm_op()
1382 if (instruction == OCS_ENCRYPT) { in ocs_aes_ccm_op()