Lines Matching full:ocs

3  * Intel Keem Bay OCS AES Crypto Driver.
20 #include "ocs-aes.h"
136 * During CCM decrypt, the OCS block needs to finish processing the ciphertext
137 * before the tag is written. For 128-bit mode this required delay is 28 OCS
138 * clock cycles. For 256-bit mode it is 36 OCS clock cycles.
143 * During CCM decrypt there must be a delay of at least 42 OCS clock cycles
145 * bit in the same register (as stated in the OCS databook)
175 * struct ocs_dma_linked_list - OCS DMA linked list entry.
407 /* Enable and wait for IRQ (either from OCS AES engine or DMA) */
421 /* Configure DMA to OCS, linked list mode */
430 /* Configure DMA from OCS, linked list mode */
467 * ocs_aes_set_key() - Write key into OCS AES hardware.
468 * @aes_dev: The OCS AES device to write the key to.
484 /* OCS AES supports 128-bit and 256-bit keys only. */ in ocs_aes_set_key()
491 /* OCS SM4 supports 128-bit keys only. */ in ocs_aes_set_key()
622 * When instruction is OCS_BYPASS, OCS simply copies data from source in ocs_aes_validate_inputs()
784 * @aes_dev: The OCS AES device to use.
788 * @dst_dma_list: The OCS DMA list mapping output memory.
789 * @src_dma_list: The OCS DMA list mapping input payload data.
911 * @aes_dev: The OCS AES device to use.
914 * @dst_dma_list: The OCS DMA list mapping output memory.
915 * @src_dma_list: The OCS DMA list mapping input payload data.
918 * @aad_dma_list: The OCS DMA list mapping input AAD data.
951 /* Compute and write J0 to OCS HW. */ in ocs_aes_gcm_op()
1012 /* Wait for OCS AES engine to complete processing. */ in ocs_aes_gcm_op()
1032 * During CCM decrypt, the OCS block needs to finish processing the in ocs_aes_ccm_write_encrypted_tag()
1048 * Write B0 CCM block to OCS AES HW.
1112 /* Now write B0 to OCS AES input buffer. */ in ocs_aes_ccm_write_b0()
1120 * Write adata length to OCS AES HW.
1290 * @aes_dev: The OCS AES device to use.
1293 * @dst_dma_list: The OCS DMA list mapping output memory.
1294 * @src_dma_list: The OCS DMA list mapping input payload data.
1297 * @adata_dma_list: The OCS DMA list mapping input A-data.
1402 * ocs_create_linked_list_from_sg() - Create OCS DMA linked list from SG list.
1403 * @aes_dev: The OCS AES device the list will be created for.
1404 * @sg: The SG list OCS DMA linked list will be created from. When
1409 * @dll_desc: The OCS DMA dma_list to use to store information about the
1412 * OCS DMA linked list.
1450 /* Compute number of DMA-mapped SG entries to add into OCS DMA list. */ in ocs_create_linked_list_from_sg()