/mbedtls-latest/include/psa/ |
D | crypto_sizes.h | 75 0u) 107 0u) 191 ((void) (key_bits), 0u)) 239 #define PSA_VENDOR_FFDH_MAX_KEY_BITS 0u 271 #define PSA_VENDOR_ECC_MAX_CURVE_BITS 0u 332 ((void) (key_type), (void) (key_bits), 0u)) 363 0u) 417 0u) 469 0u : \ 472 0u) [all …]
|
D | crypto_values.h | 767 0u)
|
/mbedtls-latest/library/ |
D | psa_crypto_se.c | 50 } u; member 84 return &driver->u.context; in psa_get_se_driver_context() 96 *p_drv_context = (driver ? &driver->u.context : NULL); in psa_get_se_driver() 116 if (driver->u.internal.persistent_data_size > UINT32_MAX) { in psa_get_se_driver_its_file_uid() 145 (uint32_t) driver->u.internal.persistent_data_size, in psa_load_se_persistent_data() 146 driver->u.internal.persistent_data, in psa_load_se_persistent_data() 165 (uint32_t) driver->u.internal.persistent_data_size, in psa_save_se_persistent_data() 166 driver->u.internal.persistent_data, in psa_save_se_persistent_data() 210 status = p_validate_slot_number(&driver->u.context, in psa_find_se_slot_for_key() 211 driver->u.internal.persistent_data, in psa_find_se_slot_for_key() [all …]
|
D | camellia.c | 864 int i, j, u, v; in mbedtls_camellia_self_test() local 885 u = j >> 1; in mbedtls_camellia_self_test() 889 mbedtls_printf(" CAMELLIA-ECB-%3d (%s): ", 128 + u * 64, in mbedtls_camellia_self_test() 903 memcpy(key, camellia_test_ecb_key[u][i], 16 + 8 * u); in mbedtls_camellia_self_test() 907 mbedtls_camellia_setkey_dec(&ctx, key, 128 + u * 64); in mbedtls_camellia_self_test() 908 memcpy(src, camellia_test_ecb_cipher[u][i], 16); in mbedtls_camellia_self_test() 913 mbedtls_camellia_setkey_enc(&ctx, key, 128 + u * 64); in mbedtls_camellia_self_test() 915 memcpy(dst, camellia_test_ecb_cipher[u][i], 16); in mbedtls_camellia_self_test() 942 u = j >> 1; in mbedtls_camellia_self_test() 946 mbedtls_printf(" CAMELLIA-CBC-%3d (%s): ", 128 + u * 64, in mbedtls_camellia_self_test() [all …]
|
D | des.c | 836 int i, j, u, v, ret = 0; in mbedtls_des_self_test() local 851 u = i >> 1; in mbedtls_des_self_test() 856 (u == 0) ? ' ' : '3', 56 + u * 56, in mbedtls_des_self_test() 895 if (u == 0) { in mbedtls_des_self_test() 906 memcmp(buf, des3_test_ecb_dec[u], 8) != 0) || in mbedtls_des_self_test() 908 memcmp(buf, des3_test_ecb_enc[u], 8) != 0)) { in mbedtls_des_self_test() 931 u = i >> 1; in mbedtls_des_self_test() 936 (u == 0) ? ' ' : '3', 56 + u * 56, in mbedtls_des_self_test() 978 if (u == 0) { in mbedtls_des_self_test() 991 if (u == 0) { in mbedtls_des_self_test() [all …]
|
D | aes.c | 1819 int ret = 0, i, j, u, mode; in mbedtls_aes_self_test() local 1889 u = i >> 1; in mbedtls_aes_self_test() 1890 keybits = 128 + u * 64; in mbedtls_aes_self_test() 1911 aes_tests = aes_test_ecb_dec[u]; in mbedtls_aes_self_test() 1916 aes_tests = aes_test_ecb_enc[u]; in mbedtls_aes_self_test() 1962 u = i >> 1; in mbedtls_aes_self_test() 1963 keybits = 128 + u * 64; in mbedtls_aes_self_test() 1977 aes_tests = aes_test_cbc_dec[u]; in mbedtls_aes_self_test() 1980 aes_tests = aes_test_cbc_enc[u]; in mbedtls_aes_self_test() 2036 u = i >> 1; in mbedtls_aes_self_test() [all …]
|
D | aria.c | 326 uint32_t t, u; in aria_rot128() local 335 u = ARIA_P3(b[j]); in aria_rot128() 337 t |= u >> n2; in aria_rot128() 340 t = u; // move to next word in aria_rot128()
|
D | bignum.c | 1310 *r = ~(mbedtls_mpi_uint) 0u; in mbedtls_int_div_int() 1313 return ~(mbedtls_mpi_uint) 0u; in mbedtls_int_div_int() 1457 Z.p[i - t - 1] = ~(mbedtls_mpi_uint) 0u; in mbedtls_mpi_div_mpi()
|
D | x509_crt.c | 592 size_t len = 0u; in x509_get_subject_key_id() 625 size_t len = 0u; in x509_get_authority_key_id()
|
D | ssl_tls.c | 4952 #define SSL_SERIALIZED_CONTEXT_CONFIG_DTLS_CONNECTION_ID 0u 4960 #define SSL_SERIALIZED_CONTEXT_CONFIG_DTLS_ANTI_REPLAY 0u 4966 #define SSL_SERIALIZED_CONTEXT_CONFIG_ALPN 0u 4983 0u))
|
/mbedtls-latest/tests/suites/ |
D | test_suite_psa_crypto_metadata.function | 19 #define ALG_IS_VENDOR_DEFINED (1u << 0) 20 #define ALG_IS_HMAC (1u << 1) 21 #define ALG_IS_BLOCK_CIPHER_MAC (1u << 2) 22 #define ALG_IS_STREAM_CIPHER (1u << 3) 23 #define ALG_IS_RSA_PKCS1V15_SIGN (1u << 4) 24 #define ALG_IS_RSA_PSS (1u << 5) 25 #define ALG_IS_RSA_PSS_ANY_SALT (1u << 6) 26 #define ALG_IS_RSA_PSS_STANDARD_SALT (1u << 7) 27 #define ALG_IS_DSA (1u << 8) 28 #define ALG_DSA_IS_DETERMINISTIC (1u << 9) [all …]
|
D | test_suite_version.function | 55 mbedtls_snprintf(build_str, 100, "%u.%u.%u",
|
D | host_test.function | 774 mbedtls_fprintf(stdout, " (%u / %u tests (%u skipped))\n",
|
D | test_suite_ecp.data | 71 ECP check pubkey Curve25519 low-order point #3 (let's call this u) 96 ECP check pubkey Curve25519 low-order point #8 p+u
|
/mbedtls-latest/3rdparty/p256-m/p256-m/ |
D | p256-m.c | 272 [u] "=&l" (tmp1), [v] "=&l" (tmp2), [w] "=&l" (tmp3) in u32_muladd64() 288 : [x] "+l" (x), [y] "+l" (y), [u] "=&l" (tmp1) in u32_muladd64() 601 uint32_t u = (a[0] + x[i] * y[0]) * m_prime; in m256_mul() local 605 c += u288_muladd(a, u, mod->m); in m256_mul() 875 uint32_t m[8], s[8], u[8]; in point_double() local 880 m256_sub_p(u, x, s); in point_double() 881 m256_mul_p(s, m, u); in point_double() 886 m256_mul_p(u, y, y); in point_double() 887 m256_add_p(u, u, u); /* u = 2 * y^2 (used below) */ in point_double() 888 m256_mul_p(s, x, u); in point_double() [all …]
|
/mbedtls-latest/scripts/ |
D | prepare_release.sh | 25 while getopts u OPTLET; do
|
/mbedtls-latest/ |
D | README.md | 82 * On Unix/POSIX systems, run `tests/scripts/check-generated-files.sh -u` to generate all the config…
|