Questions tagged [mbedtls]

mbed TLS (formerly known as PolarSSL) makes it easier for developers to include cryptographic and SSL/TLS capabilities in their (embedded) products, facilitating this functionality with a minimal coding footprint.

mbed TLS (formerly known as PolarSSL) makes it easier for developers to include cryptographic and SSL/TLS capabilities in their (embedded) products, with a minimal coding footprint.

160 questions
0
votes
1 answer

Difference between code1 and code2

code 1 uint8_t ucAESKey_BASE64[] = "oFqTg0a0VrjiVU76M1WRVw=="; uint8_t *pucAESKey_BASE64; pucAESKey_BASE64 = ucAESKey_BASE64; code 2 uint8_t *pucAESKey_BASE64 = "oFqTg0a0VrjiVU76M1WRVw=="; I use mbedtls_base64_decode() to decode base64 string…
RGW
  • 9
  • 2
0
votes
1 answer

mbed tls NET and TIMING modules not available

I have compiled mbedtls for a K64F board with ARM Mbed OS. I am trying to run the examples that come in the dtls_client.c and dtls_server.c. Initially, on compiling the client I got this error: "The NET and TIMING modules are not available for mbed…
jordi
  • 1,157
  • 1
  • 13
  • 37
0
votes
1 answer

mbedtls_printf not showing text on terminal

I want to test DTLS libraries on two K64F board with ARM Mbed OS. I have just created a new project: mbed new . I have created a folder called source and copied there dtls_client.c obtained from the mbeddtls project page. I have changed the value…
jordi
  • 1,157
  • 1
  • 13
  • 37
-1
votes
1 answer

Where to find legacy mbedtls documentation?

I am looking for the legacy mbedtls documentation. It was available at tls.mbed.org before joining the trustedFirmware project. Now, sadly, it is not reachable anymore. Thanks!
-1
votes
1 answer

What determines the cipher suite?

I am using mbedtls on my TLS application. I've a question about the cipher suites. When I debug my process, I get below lines from server side: selected ciphersuite: TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256 What is the reason for selecting this…
gogogo
  • 529
  • 1
  • 3
  • 11
-1
votes
1 answer

libcurl redefinition error while building from source for visual studio

I'm trying to build libcurl from source without using dll for visual studio , but getting redefinition error Error list \curl-7.72.0\lib\share.c(35,20): error C2371: 'curl_share_init': redefinition; different basic…
LIJIN T V
  • 81
  • 8
-1
votes
1 answer

How can I resolve "undefined reference" errors when using openthread with mbedtls?

I'm working on an implementation of an EST(Enrollment over Secure Transport)-client over CoAPs for the OpenThread stack. For this, i want to write a CSR (Certificate Signing Request) by using mbedTLS, which is part of the stack as a third party…
-1
votes
1 answer

How to use ECDSA function in the medtls library

I am using the mbedtls library (https://github.com/ARMmbed/mbedtls) on an ARM micro-controller (Ambiq). I need to use the function mbedtls_ecdsa_sign_det() to sign a bitcoin transaction. Actually, I am not sure if this is the right function. Here is…
Danny zadok
  • 1
  • 1
  • 2
-2
votes
2 answers

Could not change the address pointed by char * c

I am receiving a buffer inside this function , I would like to ignore the first character by incrementing the buffer address by one. I increment the buffer but out side the function the buffer contains the received data but it's not…
1 2 3
10
11