Is aes_crypt_ecb thread safe?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

Is cryptography functions in wicked_security.h thread safe? If say i'm calling  aes_crypt_ecb on more than 1 different thread, will there be any issues (we have to assume there is a chance aes_crypt_ecb gets interrupted on one thread while another thread calls aes_crypt_ecb again)? thanks in advance.

0 Likes
1 Solution
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Yes, aes_crypt_ecb() is thread safe.

Make sure the encryption and description keys are set, aes_setkey_enc() and aes_setkey_dec(), before utilizing aes_crypt_ecb().

View solution in original post

0 Likes
1 Reply
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Yes, aes_crypt_ecb() is thread safe.

Make sure the encryption and description keys are set, aes_setkey_enc() and aes_setkey_dec(), before utilizing aes_crypt_ecb().

0 Likes