Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

AES Function question

Dear Nordic engineers

I study the AES examples.I have a question and would like to ask you.

I study the aes_ctr examples.I found that this program use two functions to encrypt the text.

Their is "nrf_crypto_aes_finalize()" and "nrf_crypto_aes_update()".

I read the function's brief of nrf_crypto_aes.h file.I found that nrf_crypto_aes_finalize() 、nrf_crypto_aes_update()、nrf_crypto_aes_crypt()can encrypt data.

So I would like to know these three function how to use? what's the difference between these there fuctions?

Please answer my question.

Best regards.

Related