Searched refs:MBEDTLS_MPI_MAX_SIZE (Results 1 – 10 of 10) sorted by relevance
39 #define MBEDTLS_PK_RSA_PUB_DER_MAX_BYTES (38 + 2 * MBEDTLS_MPI_MAX_SIZE)56 #define MBEDTLS_MPI_MAX_SIZE_2 (MBEDTLS_MPI_MAX_SIZE / 2 + \57 MBEDTLS_MPI_MAX_SIZE % 2)58 #define MBEDTLS_PK_RSA_PRV_DER_MAX_BYTES (47 + 3 * MBEDTLS_MPI_MAX_SIZE \
650 ctx->len > MBEDTLS_MPI_MAX_SIZE) { in rsa_check_context()1931 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in mbedtls_rsa_rsaes_oaep_decrypt()2058 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in mbedtls_rsa_rsaes_pkcs1_v15_decrypt()2553 unsigned char buf[MBEDTLS_MPI_MAX_SIZE] = { 0 }; in mbedtls_rsa_rsassa_pss_verify_ext()
204 unsigned char buf[MBEDTLS_MPI_MAX_SIZE * 2 + 20]; /* tag, length + 2xMPI */ in mbedtls_x509write_crt_set_key_identifier()
1339 unsigned char sig[MBEDTLS_MPI_MAX_SIZE]; in rsa_alt_check_pair()
2877 MBEDTLS_MPI_MAX_SIZE, in ssl_write_client_key_exchange()
3810 MBEDTLS_MPI_MAX_SIZE, in ssl_parse_client_key_exchange()
65 #if !defined(MBEDTLS_MPI_MAX_SIZE)73 #define MBEDTLS_MPI_MAX_SIZE 1024 /**< Maximum number of bytes for… macro76 #define MBEDTLS_MPI_MAX_BITS (8 * MBEDTLS_MPI_MAX_SIZE) /**< Maxi…
125 MBEDTLS_MPI_MAX_SIZE > MBEDTLS_PK_SIGNATURE_MAX_SIZE131 #define MBEDTLS_PK_SIGNATURE_MAX_SIZE MBEDTLS_MPI_MAX_SIZE
661 unsigned char _pms_dhm[MBEDTLS_MPI_MAX_SIZE]; /* RFC 5246 8.1.2 */673 unsigned char _pms_dhe_psk[4 + MBEDTLS_MPI_MAX_SIZE
11 and MBEDTLS_MPI_MAX_SIZE is smaller than needed for a 4096-bit RSA key.2180 mbedtls_pk_write_key_pem(). If MBEDTLS_MPI_MAX_SIZE is set to an odd2290 MBEDTLS_MPI_MAX_SIZE to prevent a potential denial of service when
Completed in 87 milliseconds