Home
last modified time | relevance | path

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

/mbedtls-latest/library/
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 \
Drsa.c648 ctx->len > MBEDTLS_MPI_MAX_SIZE) { in rsa_check_context()
1929 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in mbedtls_rsa_rsaes_oaep_decrypt()
2053 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in mbedtls_rsa_rsaes_pkcs1_v15_decrypt()
2545 unsigned char buf[MBEDTLS_MPI_MAX_SIZE] = { 0 }; in mbedtls_rsa_rsassa_pss_verify_ext()
Dx509write_crt.c204 unsigned char buf[MBEDTLS_MPI_MAX_SIZE * 2 + 20]; /* tag, length + 2xMPI */ in mbedtls_x509write_crt_set_key_identifier()
Dpk_wrap.c1339 unsigned char sig[MBEDTLS_MPI_MAX_SIZE]; in rsa_alt_check_pair()
Dssl_tls12_client.c2877 MBEDTLS_MPI_MAX_SIZE, in ssl_write_client_key_exchange()
Dssl_tls12_server.c3810 MBEDTLS_MPI_MAX_SIZE, in ssl_parse_client_key_exchange()
/mbedtls-latest/include/mbedtls/
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…
Dpk.h125 MBEDTLS_MPI_MAX_SIZE > MBEDTLS_PK_SIGNATURE_MAX_SIZE
131 #define MBEDTLS_PK_SIGNATURE_MAX_SIZE MBEDTLS_MPI_MAX_SIZE
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-latest/programs/pkey/
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()
Drsa_verify.c42 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in main()
Drsa_sign_pss.c46 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in main()
Drsa_sign.c40 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in main()
/mbedtls-latest/tests/suites/
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
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…
Dtest_suite_dhm.function237 unsigned char output[MBEDTLS_MPI_MAX_SIZE];
Dtest_suite_rsa.data331 depends_on:MBEDTLS_MPI_MAX_SIZE>=1024
/mbedtls-latest/configs/
Dconfig-thread.h68 #define MBEDTLS_MPI_MAX_SIZE 32 // 256-bit EC curve = 32 bytes macro
Dconfig-suite-b.h68 #define MBEDTLS_MPI_MAX_SIZE 48 // 384-bit EC curve = 48 bytes macro
/mbedtls-latest/programs/test/
Dquery_config.c2295 #if defined(MBEDTLS_MPI_MAX_SIZE) in query_config()
2298 MACRO_EXPANSION_TO_STR( MBEDTLS_MPI_MAX_SIZE ); in query_config()
4641 #if defined(MBEDTLS_MPI_MAX_SIZE) in list_config()
4642 OUTPUT_MACRO_NAME_VALUE(MBEDTLS_MPI_MAX_SIZE); in list_config()
/mbedtls-latest/
DChangeLog11 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 odd
2290 MBEDTLS_MPI_MAX_SIZE to prevent a potential denial of service when