Topic: How to determine that wolfssl is supported ECC P-256 algorithm
I don't know how to determine that wolfssl is supported ECC P-256 algorithm in the source code.
Thank you in advance.
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 → wolfSSL → How to determine that wolfssl is supported ECC P-256 algorithm
I don't know how to determine that wolfssl is supported ECC P-256 algorithm in the source code.
Thank you in advance.
Hello bohuynh315
Welcome to the wolfSSL Forums. Can you tell us a bit about what you are working on and the high-level overview of the project to help us better classify this inquiry? Thank you in advance!
You can use the wolfSSL_get_ciphers API to get a list of the currently available ciphers. Here is an example:
https://github.com/wolfSSL/wolfssl/blob … #L267-L274
Thanks,
Eric - wolfSSL Support
Hi embhorn
Thank you for replying.
I am using wolfSSL to create TLS protocol between client and certain server.
The CA certificate is ECC-P256 as a public key cryptography.
I am wondering if my current wolfSSL supports ECC-P256.
Could you guide me how to check it ?
The version I am using is 3.15.7
Yes, v3.15.7 supports ECC-P256 by default.
https://github.com/wolfSSL/wolfssl/blob … #L188-L189
Thank you for your information.
Hi embhorn,
I have another question not related to this topic.
I want to set minimum RSA key size of 2048 bits in compiled wolfSSL.
Could you guide me how to do that.
- Which marco I have to define ?
- Which file should I have to place that marco ?
- Do I have to compile wolfSSL again ?
Many thanks.
Where you put the define depends on how you are building the library. If you are using the --enable-usersettings option, than add this to user_settings.h
#define RSA_MIN_SIZE 2048
Else you can add it on the configure line with:
./configure CFLAGS="-DRSA_MIN_SIZE=2048"
Yes you will need to rebuild the library.
wolfSSL - Embedded SSL Library → wolfSSL → How to determine that wolfssl is supported ECC P-256 algorithm
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.018 seconds (88% PHP - 12% DB) with 11 queries