Tool/software:
Is there some sort of queue that encryption and decryption requests go to to iterate through in the background or are those functions call single shot when needed?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Is there some sort of queue that encryption and decryption requests go to to iterate through in the background or are those functions call single shot when needed?
Hi,
Could you elaborate the scenario here?
Do you mean for the encryption and decryption of a single image or the process of the working on AES block?
For AES block, which does encryption/decryption, it follows the below process based on the mode selected.
Thanks and Regards,
Nikhil Dasan
I guess I am eluding to when processes needs encryption and decryption of a block is there some sort of queue that the block joins so that encryption can happen in the background or is it called directly and the calling process is waiting on the response?
I was exposed to the idea of the mailbox for TI - is this something similar? (AM263Px Sitara Microcontrollers Technical Reference Manual (Rev. D) chapter 8)
Thanks,
Addison
Hi,
This can be seen in the API DTHE_AES_execute() in security_common\drivers\crypto\dthe\dthe_aes.c.
The data provided is split into blocks (each of 128 bits) and then fed to the AES block for encryption/decryption
Thanks and Regards,
Nikhil Dasan