Skip to content

can give altcp_tls more entropy #1577

@peterharperuk

Description

@peterharperuk

The altcp_tls api is the easiest way to use tls in the sdk. It's using out random number generator but we can pass in more entropy with the following macros.

#ifndef ALTCP_MBEDTLS_ENTROPY_PTR
#define ALTCP_MBEDTLS_ENTROPY_PTR NULL
#endif
#ifndef ALTCP_MBEDTLS_ENTROPY_LEN
#define ALTCP_MBEDTLS_ENTROPY_LEN 0
#endif

Suggest we pass in some randomness from cmake so at least it's different per build?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions