Anonymous
Not applicable
May 04, 2014
09:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 04, 2014
09:26 PM
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.
Solved! Go to Solution.
Labels
- Labels:
-
SPI
1 Solution
May 05, 2014
12:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 05, 2014
12:27 PM
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().
1 Reply
May 05, 2014
12:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 05, 2014
12:27 PM
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().