/mbedtls-latest/include/psa/ |
D | crypto_struct.h | 91 const struct psa_hash_operation_s v = PSA_HASH_OPERATION_INIT; in psa_hash_operation_init() local 92 return v; in psa_hash_operation_init() 123 const struct psa_cipher_operation_s v = PSA_CIPHER_OPERATION_INIT; in psa_cipher_operation_init() local 124 return v; in psa_cipher_operation_init() 155 const struct psa_mac_operation_s v = PSA_MAC_OPERATION_INIT; in psa_mac_operation_init() local 156 return v; in psa_mac_operation_init() 194 const struct psa_aead_operation_s v = PSA_AEAD_OPERATION_INIT; in psa_aead_operation_init() local 195 return v; in psa_aead_operation_init() 222 const struct psa_key_derivation_s v = PSA_KEY_DERIVATION_OPERATION_INIT; in psa_key_derivation_operation_init() local 223 return v; in psa_key_derivation_operation_init() [all …]
|
D | crypto_extra.h | 1887 const struct psa_pake_cipher_suite_s v = PSA_PAKE_CIPHER_SUITE_INIT; in psa_pake_cipher_suite_init() local 1888 return v; in psa_pake_cipher_suite_init() 1893 const struct psa_pake_operation_s v = PSA_PAKE_OPERATION_INIT; in psa_pake_operation_init() local 1894 return v; in psa_pake_operation_init()
|
/mbedtls-latest/library/ |
D | pkcs12.c | 271 int use_password, size_t hlen, size_t v) in calculate_hashes() argument 292 if ((ret = mbedtls_md_update(&md_ctx, diversifier, v)) != 0) { in calculate_hashes() 297 if ((ret = mbedtls_md_update(&md_ctx, salt_block, v)) != 0) { in calculate_hashes() 303 if ((ret = mbedtls_md_update(&md_ctx, pwd_block, v)) != 0) { in calculate_hashes() 342 size_t hlen, use_len, v, i; in mbedtls_pkcs12_derivation() local 363 v = 64; in mbedtls_pkcs12_derivation() 365 v = 128; in mbedtls_pkcs12_derivation() 368 memset(diversifier, (unsigned char) id, v); in mbedtls_pkcs12_derivation() 371 pkcs12_fill_buffer(salt_block, v, salt, saltlen); in mbedtls_pkcs12_derivation() 375 pkcs12_fill_buffer(pwd_block, v, pwd, pwdlen); in mbedtls_pkcs12_derivation() [all …]
|
D | camellia.c | 864 int i, j, u, v; in mbedtls_camellia_self_test() local 886 v = j & 1; in mbedtls_camellia_self_test() 890 (v == MBEDTLS_CAMELLIA_DECRYPT) ? "dec" : "enc"); in mbedtls_camellia_self_test() 894 if (v == MBEDTLS_CAMELLIA_DECRYPT) { in mbedtls_camellia_self_test() 906 if (v == MBEDTLS_CAMELLIA_DECRYPT) { in mbedtls_camellia_self_test() 918 mbedtls_camellia_crypt_ecb(&ctx, v, src, buf); in mbedtls_camellia_self_test() 943 v = j & 1; in mbedtls_camellia_self_test() 947 (v == MBEDTLS_CAMELLIA_DECRYPT) ? "dec" : "enc"); in mbedtls_camellia_self_test() 954 if (v == MBEDTLS_CAMELLIA_DECRYPT) { in mbedtls_camellia_self_test() 962 if (v == MBEDTLS_CAMELLIA_DECRYPT) { in mbedtls_camellia_self_test() [all …]
|
D | des.c | 836 int i, j, u, v, ret = 0; in mbedtls_des_self_test() local 852 v = i & 1; in mbedtls_des_self_test() 857 (v == MBEDTLS_DES_DECRYPT) ? "dec" : "enc"); in mbedtls_des_self_test() 905 if ((v == MBEDTLS_DES_DECRYPT && in mbedtls_des_self_test() 907 (v != MBEDTLS_DES_DECRYPT && in mbedtls_des_self_test() 932 v = i & 1; in mbedtls_des_self_test() 937 (v == MBEDTLS_DES_DECRYPT) ? "dec" : "enc"); in mbedtls_des_self_test() 976 if (v == MBEDTLS_DES_DECRYPT) { in mbedtls_des_self_test() 979 ret = mbedtls_des_crypt_cbc(&ctx, v, 8, iv, buf, buf); in mbedtls_des_self_test() 981 ret = mbedtls_des3_crypt_cbc(&ctx3, v, 8, iv, buf, buf); in mbedtls_des_self_test() [all …]
|
D | aesce.c | 315 uint8x16_t v = vreinterpretq_u8_u32(vdupq_n_u32(in)); in aes_sub_word() local 320 v = vaeseq_u8(zero, v); in aes_sub_word() 321 return vgetq_lane_u32(vreinterpretq_u32_u8(v), 0); in aes_sub_word()
|
D | ecjpake.c | 327 mbedtls_mpi v; in ecjpake_zkp_write() local 336 mbedtls_mpi_init(&v); in ecjpake_zkp_write() 341 G, &v, &V, f_rng, p_rng)); in ecjpake_zkp_write() 344 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&h, &v, &h)); /* v - x*h */ in ecjpake_zkp_write() 364 mbedtls_mpi_free(&v); in ecjpake_zkp_write()
|
D | sha3.c | 95 #define ABSORB(ctx, idx, v) do { ctx->state[(idx) >> 3] ^= ((uint64_t) (v)) << (((idx) & 0x7) << 3)… argument
|
D | bignum.c | 176 #define mbedtls_mpi_zeroize_and_free(v, n) mbedtls_zeroize_and_free(v, ciL * (n)) argument
|
/mbedtls-latest/programs/test/ |
D | selftest.c | 376 int v = 1; /* v=1 for verbose mode */ in main() local 504 v = 0; in main() 513 if (v != 0) { in main() 528 if (test->function(v) != 0) { in main() 551 if (v) { in main() 557 if (test->function(v) != 0) { in main() 569 if (v != 0) { in main()
|
/mbedtls-latest/tests/suites/ |
D | test_suite_constant_time.function | 37 mbedtls_ct_uint_t v = (mbedtls_ct_uint_t) strtoull(input, NULL, 16); 40 mbedtls_ct_condition_t expected = (v != 0) ? MBEDTLS_CT_TRUE : MBEDTLS_CT_FALSE; 41 TEST_CF_SECRET(&v, sizeof(v)); 42 TEST_EQUAL(mbedtls_ct_bool(v), expected); 43 TEST_CF_PUBLIC(&v, sizeof(v));
|
D | host_test.function | 68 " -v | --verbose Display full information about each test\n" \ 105 c != '\v' && c != '\f' && c != '\r') { 556 strcmp(next_arg, "-v") == 0) {
|
D | test_suite_psa_crypto_pake.function | 64 static const uint8_t jpake_server_id[] = { 's', 'e', 'r', 'v', 'e', 'r' };
|
/mbedtls-latest/tests/include/test/drivers/ |
D | key_agreement.h | 32 v = MBEDTLS_TEST_DRIVER_KEY_AGREEMENT_INIT; in mbedtls_test_driver_key_agreement_hooks_init() local 33 return v; in mbedtls_test_driver_key_agreement_hooks_init()
|
D | hash.h | 30 const mbedtls_test_driver_hash_hooks_t v = MBEDTLS_TEST_DRIVER_HASH_INIT; in mbedtls_test_driver_hash_hooks_init() local 31 return v; in mbedtls_test_driver_hash_hooks_init()
|
D | pake.h | 44 const mbedtls_test_driver_pake_hooks_t v = MBEDTLS_TEST_DRIVER_PAKE_INIT; in mbedtls_test_driver_pake_hooks_init() local 45 return v; in mbedtls_test_driver_pake_hooks_init()
|
D | asymmetric_encryption.h | 34 const mbedtls_test_driver_asymmetric_encryption_hooks_t v = in mbedtls_test_driver_asymmetric_encryption_hooks_init() local 36 return v; in mbedtls_test_driver_asymmetric_encryption_hooks_init()
|
D | mac.h | 30 const mbedtls_test_driver_mac_hooks_t v = MBEDTLS_TEST_DRIVER_MAC_INIT; in mbedtls_test_driver_mac_hooks_init() local 31 return v; in mbedtls_test_driver_mac_hooks_init()
|
D | key_management.h | 46 v = MBEDTLS_TEST_DRIVER_KEY_MANAGEMENT_INIT; in mbedtls_test_driver_key_management_hooks_init() local 47 return v; in mbedtls_test_driver_key_management_hooks_init()
|
D | signature.h | 32 v = MBEDTLS_TEST_DRIVER_SIGNATURE_INIT; in mbedtls_test_driver_signature_hooks_init() local 33 return v; in mbedtls_test_driver_signature_hooks_init()
|
D | aead.h | 41 const mbedtls_test_driver_aead_hooks_t v = MBEDTLS_TEST_DRIVER_AEAD_INIT; in mbedtls_test_driver_aead_hooks_init() local 42 return v; in mbedtls_test_driver_aead_hooks_init()
|
D | cipher.h | 40 const mbedtls_test_driver_cipher_hooks_t v = MBEDTLS_TEST_DRIVER_CIPHER_INIT; in mbedtls_test_driver_cipher_hooks_init() local 41 return v; in mbedtls_test_driver_cipher_hooks_init()
|
/mbedtls-latest/scripts/ |
D | generate_ssl_debug_helpers.py | 389 function_definitions = [str(v) for _, v in sorted(definitions.items())]
|
/mbedtls-latest/tests/ |
D | .gitignore | 24 #/suites/test_suite_psa_crypto_storage_format.v[0-9]*.data
|
/mbedtls-latest/3rdparty/p256-m/p256-m/ |
D | p256-m.c | 272 [u] "=&l" (tmp1), [v] "=&l" (tmp2), [w] "=&l" (tmp3) in u32_muladd64()
|