Searched refs:x_size (Results 1 – 6 of 6) sorted by relevance
/third_party/mbedtls/tests/suites/ |
D | test_suite_dhm.data | 1 Diffie-Hellman full exchange: tiny x_size 4 Diffie-Hellman full exchange: 5-bit, x_size=3 7 Diffie-Hellman full exchange: 5-bit, x_size=2 27 ## This is x_size = P_size + 1. Arguably x_size > P_size makes no sense, 29 ## x_size = P_size. If this behavior changes in the future, change the expected 31 Diffie-Hellman full exchange: 97-bit, x_size=14 49 Diffie-Hellman full exchange: 97-bit, x_size=12 52 Diffie-Hellman full exchange: 97-bit, x_size=11 55 Diffie-Hellman full exchange: 97-bit, x_size=1 #1 58 Diffie-Hellman full exchange: 97-bit, x_size=1 #2 [all …]
|
D | test_suite_dhm.function | 56 size_t x_size, 64 TEST_ASSERT(mbedtls_mpi_size(&ctx->X) <= x_size); 94 void dhm_do_dhm(char *input_P, int x_size, 132 TEST_ASSERT(mbedtls_dhm_make_params(&ctx_srv, x_size, ske, &ske_len, 138 if (!check_dhm_params(&ctx_srv, x_size, ske, ske_len)) { 149 TEST_ASSERT(mbedtls_dhm_make_public(&ctx_cli, x_size, pub_cli, pub_cli_len, 198 TEST_ASSERT(mbedtls_dhm_make_params(&ctx_srv, x_size, ske, &ske_len, 201 if (!check_dhm_params(&ctx_srv, x_size, ske, ske_len)) { 208 TEST_ASSERT(mbedtls_dhm_make_public(&ctx_cli, x_size, pub_cli, pub_cli_len,
|
/third_party/mbedtls/library/ |
D | dhm.c | 192 static int dhm_make_common(mbedtls_dhm_context *ctx, int x_size, in dhm_make_common() argument 201 if (x_size < 0) { in dhm_make_common() 205 if ((unsigned) x_size < mbedtls_mpi_size(&ctx->P)) { in dhm_make_common() 206 MBEDTLS_MPI_CHK(mbedtls_mpi_fill_random(&ctx->X, x_size, f_rng, p_rng)); in dhm_make_common() 235 int mbedtls_dhm_make_params(mbedtls_dhm_context *ctx, int x_size, in mbedtls_dhm_make_params() argument 244 ret = dhm_make_common(ctx, x_size, f_rng, p_rng); in mbedtls_dhm_make_params() 320 int mbedtls_dhm_make_public(mbedtls_dhm_context *ctx, int x_size, in mbedtls_dhm_make_public() argument 331 ret = dhm_make_common(ctx, x_size, f_rng, p_rng); in mbedtls_dhm_make_public()
|
/third_party/mbedtls/include/mbedtls/ |
D | dhm.h | 196 int mbedtls_dhm_make_params(mbedtls_dhm_context *ctx, int x_size, 263 int mbedtls_dhm_make_public(mbedtls_dhm_context *ctx, int x_size,
|
/third_party/python/Objects/ |
D | longobject.c | 2766 Py_ssize_t a_size, a_bits, shift_digits, shift_bits, x_size; in _PyLong_Frexp() local 2819 x_size = shift_digits; in _PyLong_Frexp() 2820 rem = v_lshift(x_digits + x_size, a->ob_digit, a_size, in _PyLong_Frexp() 2822 x_size += a_size; in _PyLong_Frexp() 2823 x_digits[x_size++] = rem; in _PyLong_Frexp() 2830 x_size = a_size - shift_digits; in _PyLong_Frexp() 2844 assert(1 <= x_size && x_size <= (Py_ssize_t)Py_ARRAY_LENGTH(x_digits)); in _PyLong_Frexp() 2848 dx = x_digits[--x_size]; in _PyLong_Frexp() 2849 while (x_size > 0) in _PyLong_Frexp() 2850 dx = dx * PyLong_BASE + x_digits[--x_size]; in _PyLong_Frexp() [all …]
|
/third_party/astc-encoder/Source/ |
D | tinyexr.h | 10505 unsigned int x_size, y_size; in ParseEXRHeader() local 10508 memcpy(&x_size, &data.at(0), sizeof(int)); in ParseEXRHeader() 10511 tinyexr::swap4(&x_size); in ParseEXRHeader() 10514 info->tile_size_x = static_cast<int>(x_size); in ParseEXRHeader()
|