Skip to content

Commit

Permalink
platform: remove mbedtls options
Browse files Browse the repository at this point in the history
  • Loading branch information
joelguittet committed Sep 26, 2023
1 parent cab0364 commit 05d879e
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions platform/tls/mbedtls/src/mender-tls.c
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,15 @@
#include "mender-tls.h"

/**
* @brief Default keys length
* @brief Keys buffer length
*/
#ifndef MENDER_TLS_PRIVATE_KEY_LENGTH
#define MENDER_TLS_PRIVATE_KEY_LENGTH (2048)
#endif /* MENDER_TLS_PRIVATE_KEY_LENGTH */
#ifndef MENDER_TLS_PUBLIC_KEY_LENGTH
#define MENDER_TLS_PUBLIC_KEY_LENGTH (768)
#endif /* MENDER_TLS_PUBLIC_KEY_LENGTH */
#define MENDER_TLS_PUBLIC_KEY_LENGTH (768)

/**
* @brief Default signature length (base64 encoded)
* @brief Signature buffer length (base64 encoded)
*/
#ifndef MENDER_TLS_SIGNATURE_LENGTH
#define MENDER_TLS_SIGNATURE_LENGTH (512)
#endif /* MENDER_TLS_SIGNATURE_LENGTH */

mender_err_t
mender_tls_init(void) {
Expand Down

0 comments on commit 05d879e

Please sign in to comment.