- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I was wondering if the crypto block can operate two different crypto operations at the same time if they aren't the same algorithm, or are client's tasks put in a queue and processed once at at time?
For example, could I:
1- Start a long Cy_Crypto_Aes_Ctr_Run process
2- Start a short Cy_Crypto_Crc_Run process
3- Receive CY_CRYPTO_SUCCESS for the CRC operation while the AES operation still returns CY_CRYPTO_SERVER_BUSY
Or will Cy_Crypto_Crc_Run always return CY_CRYPTO_SERVER_BUSY until the AES operation has finished?
Thanks,
Fred
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Fred,
It depends on the HW Crypto IP block being used based on the device you are using.
On PSoC6A-2M and 512k you can perform CRC and AES concurrently because MXCRYPTO_ver2 has separated CRC functionality.
But PSoC6A-BLE2 doesn’t have this possibility because it was built with MXCRYPTO IP.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Fred,
It depends on the HW Crypto IP block being used based on the device you are using.
On PSoC6A-2M and 512k you can perform CRC and AES concurrently because MXCRYPTO_ver2 has separated CRC functionality.
But PSoC6A-BLE2 doesn’t have this possibility because it was built with MXCRYPTO IP.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Dheeraj.
While I don't know these two part numbers, we're using the CYBLE-416045-02 module, so I will assume that the PSoC6A-BLE2 situation applies to us.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your assumption is right