1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Favor stdint.h types in internal types

Use uint8_t for PSA buffers. Keep unsigned char for generic libc
buffers and for mbedtls buffers.
This commit is contained in:
Gilles Peskine
2019-07-15 11:06:38 +02:00
parent 7228da25f9
commit c11c4dcf95
2 changed files with 11 additions and 11 deletions

View File

@@ -210,7 +210,7 @@ typedef struct psa_tls12_prf_key_derivation_s
* hence we must store it for the lifetime of the operation.
* This is different from HKDF, where the key is only used
* in the extraction phase, but not during expansion. */
unsigned char *key;
uint8_t *key;
size_t key_len;
/* `A(i) + seed` in the notation of RFC 5246, Sect. 5 */