Home
last modified time | relevance | path

Searched refs:MBEDTLS_MPI_MAX_SIZE (Results 1 – 21 of 21) sorted by relevance

/mbedtls/library/
A Dpkwrite.h39 #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 \
A Drsa.c647 ctx->len > MBEDTLS_MPI_MAX_SIZE) { in rsa_check_context()
1928 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in mbedtls_rsa_rsaes_oaep_decrypt()
2052 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in mbedtls_rsa_rsaes_pkcs1_v15_decrypt()
2544 unsigned char buf[MBEDTLS_MPI_MAX_SIZE] = { 0 }; in mbedtls_rsa_rsassa_pss_verify_ext()
A Dx509write_crt.c200 unsigned char buf[MBEDTLS_MPI_MAX_SIZE * 2 + 20]; /* tag, length + 2xMPI */ in mbedtls_x509write_crt_set_key_identifier()
A Dpk_wrap.c1339 unsigned char sig[MBEDTLS_MPI_MAX_SIZE]; in rsa_alt_check_pair()
A Dssl_tls12_client.c2875 MBEDTLS_MPI_MAX_SIZE, in ssl_write_client_key_exchange()
A Dssl_tls12_server.c3803 MBEDTLS_MPI_MAX_SIZE, in ssl_parse_client_key_exchange()
/mbedtls/programs/pkey/
A Drsa_verify_pss.c44 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in main()
99 i = fread(buf, 1, MBEDTLS_MPI_MAX_SIZE, f); in main()
A Drsa_verify.c42 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in main()
A Drsa_sign_pss.c46 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in main()
A Drsa_sign.c40 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in main()
/mbedtls/include/mbedtls/
A Dbignum.h65 #if !defined(MBEDTLS_MPI_MAX_SIZE)
73 #define MBEDTLS_MPI_MAX_SIZE 1024 /**< Maximum number of bytes for… macro
76 #define MBEDTLS_MPI_MAX_BITS (8 * MBEDTLS_MPI_MAX_SIZE) /**< Maxi…
A Dpk.h125 MBEDTLS_MPI_MAX_SIZE > MBEDTLS_PK_SIGNATURE_MAX_SIZE
131 #define MBEDTLS_PK_SIGNATURE_MAX_SIZE MBEDTLS_MPI_MAX_SIZE
A Dssl.h661 unsigned char _pms_dhm[MBEDTLS_MPI_MAX_SIZE]; /* RFC 5246 8.1.2 */
673 unsigned char _pms_dhe_psk[4 + MBEDTLS_MPI_MAX_SIZE
/mbedtls/tests/suites/
A Dtest_suite_bignum.misc.data1369 mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE:10:"":0
1372 mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE + 1:10:"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1375 mpi_exp_mod_size:2:2:MBEDTLS_MPI_MAX_SIZE:"":0
1378 mpi_exp_mod_size:2:2:MBEDTLS_MPI_MAX_SIZE + 1:"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1381 mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE:MBEDTLS_MPI_MAX_SIZE:"":0
1384 mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE + 1:MBEDTLS_MPI_MAX_SIZE + 1:"":MBEDTLS_ERR_MPI_BAD_INPUT_D…
1746 mpi_fill_random:MBEDTLS_MPI_MAX_SIZE - 7:MBEDTLS_MPI_MAX_SIZE - 7:0:0
1749 mpi_fill_random:MBEDTLS_MPI_MAX_SIZE:MBEDTLS_MPI_MAX_SIZE:0:0
1803 mpi_fill_random:MBEDTLS_MPI_MAX_SIZE:MBEDTLS_MPI_MAX_SIZE-1:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
A Dtest_suite_dhm.data107 dhm_make_public:MBEDTLS_MPI_MAX_SIZE:"5":0
110 dhm_make_public:MBEDTLS_MPI_MAX_SIZE + 1:"5":MBEDTLS_ERR_DHM_MAKE_PUBLIC_FAILED+MBEDTLS_ERR_MPI_BAD…
A Dtest_suite_dhm.function237 unsigned char output[MBEDTLS_MPI_MAX_SIZE];
A Dtest_suite_rsa.data331 depends_on:MBEDTLS_MPI_MAX_SIZE>=1024
/mbedtls/configs/
A Dconfig-thread.h68 #define MBEDTLS_MPI_MAX_SIZE 32 // 256-bit EC curve = 32 bytes macro
A Dconfig-suite-b.h68 #define MBEDTLS_MPI_MAX_SIZE 48 // 384-bit EC curve = 48 bytes macro
/mbedtls/programs/test/
A Dquery_config.c2287 #if defined(MBEDTLS_MPI_MAX_SIZE) in query_config()
2290 MACRO_EXPANSION_TO_STR( MBEDTLS_MPI_MAX_SIZE ); in query_config()
4629 #if defined(MBEDTLS_MPI_MAX_SIZE) in list_config()
4630 OUTPUT_MACRO_NAME_VALUE(MBEDTLS_MPI_MAX_SIZE); in list_config()
/mbedtls/
A DChangeLog1985 mbedtls_pk_write_key_pem(). If MBEDTLS_MPI_MAX_SIZE is set to an odd
2095 MBEDTLS_MPI_MAX_SIZE to prevent a potential denial of service when

Completed in 851 milliseconds