16#define TLS_CRYPTO_DATA_LEN_MAX (800)
19#define TLS_CRYPTO_CERT_LEN_MAX (TLS_CRYPTO_DATA_LEN_MAX)
22#define TLS_CRYPTO_SIGN_LEN_MAX (80)
Certificate container type for use with the TlsCrypto API functions.
Definition tls_crypto_common.h:46
size_t length
Certificate length, in bytes.
Definition tls_crypto_common.h:48
Signature container type for use with the TlsCrypto API functions.
Definition tls_crypto_common.h:54
size_t length
Signature length, in bytes.
Definition tls_crypto_common.h:56
TlsCryptoStatus
Enumeration of possible statuses returned by the TlsCrypto API functions.
Definition tls_crypto_common.h:27
@ TlsCryptoStatusOk
Operation was successful, no error occurred.
Definition tls_crypto_common.h:28
@ TlsCryptoStatusErrorTimeout
Operation could not be completed within a reasonable time.
Definition tls_crypto_common.h:29
@ TlsCryptoStatusErrorInternal
Operation failed due to a backend error.
Definition tls_crypto_common.h:30
#define TLS_CRYPTO_SIGN_LEN_MAX
Maximum length of a signature, in bytes.
Definition tls_crypto_common.h:22
TlsCryptoKeyId
Enumeration of available key identifiers for use with the TlsCrypto API functions.
Definition tls_crypto_common.h:37
@ TlsCryptoKeyIdMax
Special value for internal use.
Definition tls_crypto_common.h:40
@ TlsCryptoKeyIdIntermediate
Intermediate certificate.
Definition tls_crypto_common.h:38
@ TlsCryptoKeyIdDevice
Device certificate + key pair.
Definition tls_crypto_common.h:39
#define TLS_CRYPTO_CERT_LEN_MAX
Maximum length of a cerificate, in bytes.
Definition tls_crypto_common.h:19