I am testing the capabilities of the SE050 on an OM-SE050X development board, and I have a question about the speed of the AES-GCM operation. It seems that when running a one-shot AES-GCM encryption with AAD, followed by decryption, the process takes around 8 to 9 seconds, even with small inputs in one-shot mode
I found a similar thread here discussing the same issue:
https://community.nxp.com/t5/Secure-Authentication/Re-SE050E-aead-encryption/m-p/1694085#M1317
The response there indicated that this is indeed expected, since the GCM part is not hardware-accelerated.
My questions are:
Thank you in advance!
Hi @Viktro0929 ,
Was it AES GCM 128 or 256? What about the data/AAD/IV length? From the test cases we have run, 8 to 9 seconds is little longer, what is the host controller you are using? Please kindly clarify.
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
I am using test vectors from Test Case 3 of the following document:
https://csrc.nist.rip/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-revised-spec.pdf
Configuration details:
AES-GCM 128-bit (16-byte key length)
Data length: 60 bytes
AAD length: 20 bytes
IV length: 12 bytes
My OM-SE050X is connected to an ATSAMV71Q21 via I²C running at 100 kHz.
I have attached a screenshot of a typical encryption. As shown, after the initial setup, the host sends the plaintext and AAD, and the SE subsequently requests 5 WTXs. The WTX time was calculated based on the ATR response and the WTX message itself (as described in UM11225.pdf).
In total, the encryption process (including setup) took just under 7 seconds, of which about 1 second was spent in setup.
Thank you!
Best regards,
Viktor