Topic: WOLFCRYPT_ONLY and wolfSSL_Init()
If the library is built using WOLFCRYPT_ONLY do I need to execute wolfSSL_Init() before I make any wc_* calls?
I don't think I do, but there may be a parallel wc_Init() call(?)
You are not logged in. Please login or register.
Please post questions or comments you have about wolfSSL products here. It is helpful to be as descriptive as possible when asking your questions.
ReferenceswolfSSL - Embedded SSL Library → wolfCrypt → WOLFCRYPT_ONLY and wolfSSL_Init()
If the library is built using WOLFCRYPT_ONLY do I need to execute wolfSSL_Init() before I make any wc_* calls?
I don't think I do, but there may be a parallel wc_Init() call(?)
Hi ACV,
You can instead call `wolfCrypt_Init` and `wolfCrypt_Cleanup`. For most use-cases you are not required to call these, but I recommend it to future proof yourself.
Thanks,
David Garske, wolfSSL
wolfSSL - Embedded SSL Library → wolfCrypt → WOLFCRYPT_ONLY and wolfSSL_Init()
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.016 seconds (90% PHP - 10% DB) with 9 queries