SharkSSL™ Embedded SSL/TLS Stack

Detailed Description

Macros

#define SHARKSSL_USE_SHA_256   1
 Enable/disable SHA256 support for certificate signatures (SHA256 ciphersuites are not included). More...
 
#define SHARKSSL_USE_SHA_256   1
 Enable/disable SHA256 support for certificate signatures (SHA256 ciphersuites are not included). More...
 
#define SHARKSSL_USE_SHA_384   1
 Enable/disable SHA384 support and also include SHA384 ciphersuites.
 
#define SHARKSSL_USE_SHA_512   0
 Enable/disable SHA512 support; Note SHA512 is not required by SSL/TLS.
 
#define SHARKSSL_USE_SHA1   0
 SHA1 is not used by the SharkSSL TLS stack unless you use RSA OAEP (public RSA API). More...
 
#define SHARKSSL_USE_MD5   0
 MD5 must be enabled to support PCKS1-encoded certificates (public PEM API).
 
#define SHARKSSL_USE_POLY1305   1
 Enable/disable POLY1305 support and also include CHACHA20-POLY1305 ciphersuites when TLS1.2 and CHACHA20 are enabled (SHARKSSL_USE_CHACHA20)
 

Macro Definition Documentation

◆ SHARKSSL_USE_SHA1

#define SHARKSSL_USE_SHA1   0

SHA1 is not used by the SharkSSL TLS stack unless you use RSA OAEP (public RSA API).

SHA1 is used by some examples. You can disable SHA1 if you are not using RSA OAEP and/or the examples using SHA1

◆ SHARKSSL_USE_SHA_256 [1/2]

#define SHARKSSL_USE_SHA_256   1

Enable/disable SHA256 support for certificate signatures (SHA256 ciphersuites are not included).

TLS 1.2/1.3 require SHA-256, do not modify the following settings DES and ClientHello v2.0 are deprecated in TLS 1.2 - RFC5246.

SHA256 must be included (mandatory) for TLS 1.2 and TLS 1.3

◆ SHARKSSL_USE_SHA_256 [2/2]

#define SHARKSSL_USE_SHA_256   1

Enable/disable SHA256 support for certificate signatures (SHA256 ciphersuites are not included).

TLS 1.2/1.3 require SHA-256, do not modify the following settings DES and ClientHello v2.0 are deprecated in TLS 1.2 - RFC5246.

SHA256 must be included (mandatory) for TLS 1.2 and TLS 1.3