Searched refs:MBEDTLS_MPI_MAX_SIZE (Results 1 – 22 of 22) sorted by relevance
47 #define MBEDTLS_PK_RSA_PUB_DER_MAX_BYTES (38 + 2 * MBEDTLS_MPI_MAX_SIZE)64 #define MBEDTLS_MPI_MAX_SIZE_2 (MBEDTLS_MPI_MAX_SIZE / 2 + \65 MBEDTLS_MPI_MAX_SIZE % 2)66 #define MBEDTLS_PK_RSA_PRV_DER_MAX_BYTES (47 + 3 * MBEDTLS_MPI_MAX_SIZE \
149 ctx->len > MBEDTLS_MPI_MAX_SIZE) { in rsa_check_context()1466 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in mbedtls_rsa_rsaes_oaep_decrypt()1592 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in mbedtls_rsa_rsaes_pkcs1_v15_decrypt()2056 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()
1348 unsigned char sig[MBEDTLS_MPI_MAX_SIZE]; in rsa_alt_check_pair()
2872 MBEDTLS_MPI_MAX_SIZE, in ssl_write_client_key_exchange()
3735 MBEDTLS_MPI_MAX_SIZE, in ssl_parse_client_key_exchange()
55 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in main()101 i = fread(buf, 1, MBEDTLS_MPI_MAX_SIZE, f); in main()
52 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in main()
57 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in main()
51 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in main()
77 #if !defined(MBEDTLS_MPI_MAX_SIZE)85 #define MBEDTLS_MPI_MAX_SIZE 1024 /**< Maximum number of bytes for… macro88 #define MBEDTLS_MPI_MAX_BITS (8 * MBEDTLS_MPI_MAX_SIZE) /**< Maxi…
137 MBEDTLS_MPI_MAX_SIZE > MBEDTLS_PK_SIGNATURE_MAX_SIZE143 #define MBEDTLS_PK_SIGNATURE_MAX_SIZE MBEDTLS_MPI_MAX_SIZE
627 unsigned char _pms_dhm[MBEDTLS_MPI_MAX_SIZE]; /* RFC 5246 8.1.2 */639 unsigned char _pms_dhe_psk[4 + MBEDTLS_MPI_MAX_SIZE
1363 mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE:10:"":01366 mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE + 1:10:"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA1369 mpi_exp_mod_size:2:2:MBEDTLS_MPI_MAX_SIZE:"":01372 mpi_exp_mod_size:2:2:MBEDTLS_MPI_MAX_SIZE + 1:"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA1375 mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE:MBEDTLS_MPI_MAX_SIZE:"":01378 mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE + 1:MBEDTLS_MPI_MAX_SIZE + 1:"":MBEDTLS_ERR_MPI_BAD_INPUT_D…1732 mpi_fill_random:MBEDTLS_MPI_MAX_SIZE - 7:MBEDTLS_MPI_MAX_SIZE - 7:0:01735 mpi_fill_random:MBEDTLS_MPI_MAX_SIZE:MBEDTLS_MPI_MAX_SIZE:0:01789 mpi_fill_random:MBEDTLS_MPI_MAX_SIZE:MBEDTLS_MPI_MAX_SIZE-1:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
107 dhm_make_public:MBEDTLS_MPI_MAX_SIZE:"5":0110 dhm_make_public:MBEDTLS_MPI_MAX_SIZE + 1:"5":MBEDTLS_ERR_DHM_MAKE_PUBLIC_FAILED+MBEDTLS_ERR_MPI_BAD…
237 unsigned char output[MBEDTLS_MPI_MAX_SIZE];
331 depends_on:MBEDTLS_MPI_MAX_SIZE>=1024
80 #define MBEDTLS_MPI_MAX_SIZE 32 // 256-bit EC curve = 32 bytes macro
63 #define MBEDTLS_MPI_MAX_SIZE 512 // 4096 bits is 512 bytes macro
80 #define MBEDTLS_MPI_MAX_SIZE 48 // 384-bit EC curve = 48 bytes macro
218 #define RSA_PUB_DER_MAX_BYTES (38 + 2 * MBEDTLS_MPI_MAX_SIZE)
1412 mbedtls_pk_write_key_pem(). If MBEDTLS_MPI_MAX_SIZE is set to an odd1522 MBEDTLS_MPI_MAX_SIZE to prevent a potential denial of service when