Home
last modified time | relevance | path

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

/third_party/mbedtls/library/
Dpkwrite.h47 #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 \
Drsa.c149 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()
Dx509write_crt.c204 unsigned char buf[MBEDTLS_MPI_MAX_SIZE * 2 + 20]; /* tag, length + 2xMPI */ in mbedtls_x509write_crt_set_key_identifier()
Dpk_wrap.c1348 unsigned char sig[MBEDTLS_MPI_MAX_SIZE]; in rsa_alt_check_pair()
Dssl_tls12_client.c2872 MBEDTLS_MPI_MAX_SIZE, in ssl_write_client_key_exchange()
Dssl_tls12_server.c3735 MBEDTLS_MPI_MAX_SIZE, in ssl_parse_client_key_exchange()
/third_party/mbedtls/programs/pkey/
Drsa_verify_pss.c55 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in main()
101 i = fread(buf, 1, MBEDTLS_MPI_MAX_SIZE, f); in main()
Drsa_verify.c52 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in main()
Drsa_sign_pss.c57 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in main()
Drsa_sign.c51 unsigned char buf[MBEDTLS_MPI_MAX_SIZE]; in main()
/third_party/mbedtls/include/mbedtls/
Dbignum.h77 #if !defined(MBEDTLS_MPI_MAX_SIZE)
85 #define MBEDTLS_MPI_MAX_SIZE 1024 /**< Maximum number of bytes for… macro
88 #define MBEDTLS_MPI_MAX_BITS (8 * MBEDTLS_MPI_MAX_SIZE) /**< Maxi…
Dpk.h137 MBEDTLS_MPI_MAX_SIZE > MBEDTLS_PK_SIGNATURE_MAX_SIZE
143 #define MBEDTLS_PK_SIGNATURE_MAX_SIZE MBEDTLS_MPI_MAX_SIZE
Dssl.h627 unsigned char _pms_dhm[MBEDTLS_MPI_MAX_SIZE]; /* RFC 5246 8.1.2 */
639 unsigned char _pms_dhe_psk[4 + MBEDTLS_MPI_MAX_SIZE
/third_party/mbedtls/tests/suites/
Dtest_suite_bignum.misc.data1363 mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE:10:"":0
1366 mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE + 1:10:"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1369 mpi_exp_mod_size:2:2:MBEDTLS_MPI_MAX_SIZE:"":0
1372 mpi_exp_mod_size:2:2:MBEDTLS_MPI_MAX_SIZE + 1:"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1375 mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE:MBEDTLS_MPI_MAX_SIZE:"":0
1378 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:0
1735 mpi_fill_random:MBEDTLS_MPI_MAX_SIZE:MBEDTLS_MPI_MAX_SIZE:0:0
1789 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
/third_party/mbedtls/configs/
Dconfig-thread.h80 #define MBEDTLS_MPI_MAX_SIZE 32 // 256-bit EC curve = 32 bytes macro
Dconfig_rsa_aes_cbc.h63 #define MBEDTLS_MPI_MAX_SIZE 512 // 4096 bits is 512 bytes macro
Dconfig-suite-b.h80 #define MBEDTLS_MPI_MAX_SIZE 48 // 384-bit EC curve = 48 bytes macro
/third_party/curl/lib/vtls/
Dmbedtls.c218 #define RSA_PUB_DER_MAX_BYTES (38 + 2 * MBEDTLS_MPI_MAX_SIZE)
/third_party/mbedtls/
DChangeLog1412 mbedtls_pk_write_key_pem(). If MBEDTLS_MPI_MAX_SIZE is set to an odd
1522 MBEDTLS_MPI_MAX_SIZE to prevent a potential denial of service when