AES-GCM-128 operation took too long on Bluefield-3

Hi Everyone,

I tried to decrypt a file using provided aes_gcm_decrypt_sample.c, however, it took 6232 ns for each operation.
Is this the expected latency of hardware accelerated crypto operation?

Thank you!

Hi, could you provide the code sample you’'re using so that we can take a look ? On the BlueField-2 it is not the same sample I think

It’s the same on both Bluefield-2 and 3. You won’t be able to run it on Bluefield-2, since there is no crypto hardware accessible to user space programs (DPDK and DOCA alike). I attached the sample for your reference.
aes_gcm_sample.zip (26.0 KB)