|
SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
|
Macros | |
| #define | SHARKSSL_USE_SHA_384 1 |
| SHA256 support for certificate signatures and the SHA256 ciphersuites. More... | |
| #define | SHARKSSL_USE_POLY1305 1 |
| Enable/disable SHA512 support; Note SHA512 is not required by SSL/TLS. More... | |
| #define SHARKSSL_USE_POLY1305 1 |
Enable/disable SHA512 support; Note SHA512 is not required by SSL/TLS.
Enable/disable SHA1 support. When enabled, TLS 1.2 also offers and accepts the legacy RSA and ECDSA signature schemes with SHA-1, and certificates signed with SHA-1 can be verified. SHA1 is also used by RSA OAEP (public RSA API) and by some examples. Keep it disabled unless legacy peers or certificates, RSA OAEP or those examples require it MD5 must be enabled to decrypt traditional OpenSSL encrypted PKCS#1 private keys (PEM with DEK-Info, public PEM API; AES must also be enabled) and to verify certificates signed with MD5. Enable/disable POLY1305 support. When CHACHA20 is also enabled (SHARKSSL_USE_CHACHA20), the CHACHA20-POLY1305 ciphersuites are included for TLS 1.3 and TLS 1.2
| #define SHARKSSL_USE_SHA_384 1 |
SHA256 support for certificate signatures and the SHA256 ciphersuites.
SHA256 is mandatory for TLS 1.2 and TLS 1.3 and is always enabled: this setting is overridden below Enable standalone SHA-224 through the PSA consumer. The native backend has no SHA-224 API, so this option is disabled by default. Enable/disable SHA384 support and also include SHA384 ciphersuites