/openthread-latest/third_party/mbedtls/repo/tests/scripts/ |
D | test_psa_constant_names.py | 30 inputs = inputs_class() 32 inputs.parse_header(header) 34 inputs.parse_test_cases(test_cases) 35 inputs.add_numerical_values() 36 inputs.gather_arguments() 37 return inputs 84 def collect_values(inputs: InputsForTest, 93 names = inputs.get_names(type_word) 95 for expr in inputs.generate_expressions(names) 112 def run_one(self, inputs: InputsForTest, type_word: str) -> None: [all …]
|
/openthread-latest/third_party/mbedtls/repo/library/ |
D | psa_crypto_pake.c | 156 const psa_crypto_driver_pake_inputs_t *inputs) in mbedtls_psa_pake_setup() argument 164 status = psa_crypto_driver_pake_get_password_len(inputs, &password_len); in mbedtls_psa_pake_setup() 169 status = psa_crypto_driver_pake_get_user_len(inputs, &user_len); in mbedtls_psa_pake_setup() 174 status = psa_crypto_driver_pake_get_peer_len(inputs, &peer_len); in mbedtls_psa_pake_setup() 179 status = psa_crypto_driver_pake_get_cipher_suite(inputs, &cipher_suite); in mbedtls_psa_pake_setup() 202 status = psa_crypto_driver_pake_get_password(inputs, operation->password, in mbedtls_psa_pake_setup() 208 status = psa_crypto_driver_pake_get_user(inputs, user, in mbedtls_psa_pake_setup() 214 status = psa_crypto_driver_pake_get_peer(inputs, peer, in mbedtls_psa_pake_setup() 267 (void) inputs; in mbedtls_psa_pake_setup()
|
D | psa_crypto.c | 8293 const psa_crypto_driver_pake_inputs_t *inputs, in psa_crypto_driver_pake_get_password_len() argument 8296 if (inputs->password_len == 0) { in psa_crypto_driver_pake_get_password_len() 8300 *password_len = inputs->password_len; in psa_crypto_driver_pake_get_password_len() 8306 const psa_crypto_driver_pake_inputs_t *inputs, in psa_crypto_driver_pake_get_password() argument 8309 if (inputs->password_len == 0) { in psa_crypto_driver_pake_get_password() 8313 if (buffer_size < inputs->password_len) { in psa_crypto_driver_pake_get_password() 8317 memcpy(buffer, inputs->password, inputs->password_len); in psa_crypto_driver_pake_get_password() 8318 *buffer_length = inputs->password_len; in psa_crypto_driver_pake_get_password() 8324 const psa_crypto_driver_pake_inputs_t *inputs, in psa_crypto_driver_pake_get_user_len() argument 8327 if (inputs->user_len == 0) { in psa_crypto_driver_pake_get_user_len() [all …]
|
D | psa_crypto_pake.h | 38 const psa_crypto_driver_pake_inputs_t *inputs);
|
D | psa_crypto_driver_wrappers.h | 2742 const psa_crypto_driver_pake_inputs_t *inputs ) in psa_driver_wrapper_pake_setup() argument 2747 PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime( &inputs->attributes ) ); in psa_driver_wrapper_pake_setup() 2759 inputs ); in psa_driver_wrapper_pake_setup() 2769 inputs ); in psa_driver_wrapper_pake_setup()
|
/openthread-latest/third_party/mbedtls/repo/include/psa/ |
D | crypto_extra.h | 1064 const psa_crypto_driver_pake_inputs_t *inputs, 1080 const psa_crypto_driver_pake_inputs_t *inputs, 1094 const psa_crypto_driver_pake_inputs_t *inputs, 1108 const psa_crypto_driver_pake_inputs_t *inputs, 1126 const psa_crypto_driver_pake_inputs_t *inputs, 1144 const psa_crypto_driver_pake_inputs_t *inputs, 1158 const psa_crypto_driver_pake_inputs_t *inputs, 1823 uint8_t MBEDTLS_PRIVATE(inputs); 1862 psa_crypto_driver_pake_inputs_t MBEDTLS_PRIVATE(inputs);
|
/openthread-latest/third_party/mbedtls/repo/tests/src/drivers/ |
D | test_driver_pake.c | 26 const psa_crypto_driver_pake_inputs_t *inputs) in mbedtls_test_transparent_pake_setup() argument 39 operation, (const libtestdriver1_psa_crypto_driver_pake_inputs_t *) inputs); in mbedtls_test_transparent_pake_setup() 43 operation, inputs); in mbedtls_test_transparent_pake_setup() 46 (void) inputs; in mbedtls_test_transparent_pake_setup()
|
/openthread-latest/third_party/build_gn/toolchain/ |
D | BUILD.gn | 27 rspfile_content = "{{inputs}}" 39 rspfile_content = "-Wl,--whole-archive {{inputs}} {{solibs}} -Wl,--no-whole-archive {{libs}}" 61 rspfile_content = "{{inputs}}"
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_psa_crypto_pake.function | 209 * When injecting errors in inputs, the implementation is 1009 TEST_EQUAL(psa_crypto_driver_pake_get_password(&operation.data.inputs, 1014 TEST_EQUAL(psa_crypto_driver_pake_get_password_len(&operation.data.inputs, &password_len_ret), 1019 TEST_EQUAL(psa_crypto_driver_pake_get_password_len(&operation.data.inputs, &password_len_ret), 1024 TEST_EQUAL(psa_crypto_driver_pake_get_password(&operation.data.inputs, 1030 TEST_EQUAL(psa_crypto_driver_pake_get_password(&operation.data.inputs, 1061 TEST_EQUAL(psa_crypto_driver_pake_get_cipher_suite(&operation.data.inputs, &cipher_suite_ret), 1066 TEST_EQUAL(psa_crypto_driver_pake_get_cipher_suite(&operation.data.inputs, &cipher_suite_ret), 1106 TEST_EQUAL(psa_crypto_driver_pake_get_user(&operation.data.inputs, 1111 TEST_EQUAL(psa_crypto_driver_pake_get_user_len(&operation.data.inputs, &user_len_ret), [all …]
|
D | test_suite_psa_crypto.pbkdf2.data | 10 PSA key derivation: PBKDF2-AES-CMAC-PRF-128, inputs from RFC6070 #4 14 PSA key derivation: PBKDF2-AES-CMAC-PRF-128, inputs from RFC7914 #2
|
D | test_suite_bignum_mod.misc.data | 22 mpi_mod_sub with modulus too long/both inputs too short 31 mpi_mod_sub with both inputs too long 87 mpi_mod_add with modulus too long/both inputs too short 96 mpi_mod_add with both inputs too long
|
D | test_suite_cmac.function | 144 /* Validate the test inputs */ 225 /* Validate the test inputs */
|
D | test_suite_bignum_mod.function | 250 /* test_read_residue() normally checks that inputs have the same number of 352 /* test_read_residue() normally checks that inputs have the same number of 402 /* test_read_residue() normally checks that inputs have the same number of 453 /* test_read_residue() normally checks that inputs have the same number of 655 /* Read inputs */
|
D | test_suite_bignum_mod_raw.function | 566 /* Modulus gives the number of limbs; all inputs must have the same. */ 700 /* Read inputs */ 764 /* Read inputs */ 828 /* Read inputs */
|
D | test_suite_bignum_core.function | 635 /* All of the inputs are +ve (or zero) */ 746 /* All of the inputs are +ve (or zero) */ 820 /* All of the inputs are +ve (or zero) */ 871 /* All of the inputs are +ve (or zero) */ 981 /* Read inputs */ 985 /* All of the inputs are +ve (or zero) */
|
D | test_suite_psa_crypto.function | 791 * When injecting errors in inputs, the implementation is 1832 /* Run sanity checks on the exported key. For non-canonical inputs, 1833 * this validates the canonical representations. For canonical inputs, 7957 /* --- Change function inputs mid run, to cause an error (sign only, 7958 * verify passes all inputs to start. --- */ 8845 data_t *inputs[] = { input1, input2, input3 }; 8872 inputs[i]->x, inputs[i]->len, 8890 mbedtls_test_parse_binary_string(inputs[i])), 8895 inputs[i]->x, inputs[i]->len), 9043 data_t *inputs[] = { input1, input2, input3, input4 }; [all …]
|
D | test_suite_ssl_decrypt.function | 3 * testing (using malformed inputs). */
|
/openthread-latest/third_party/mbedtls/repo/tests/include/test/drivers/ |
D | pake.h | 52 const psa_crypto_driver_pake_inputs_t *inputs);
|
/openthread-latest/third_party/mbedtls/repo/programs/fuzz/ |
D | README.md | 6 They are used with a so-called fuzz driver, which will generate inputs, try to process them with th… 41 These targets use network traffic as inputs :
|
/openthread-latest/third_party/mbedtls/repo/docs/proposed/ |
D | psa-driver-interface.md | 310 * There are multiple inputs and outputs. 330 … to be called. This entry point provides the [initial inputs](#key-derivation-driver-initial-input… 331 …inputs, otherwise ignored): provide an extra input for the key derivation. This entry point is onl… 343 #### Key derivation driver initial inputs 345 The core conveys the initial inputs for a key derivation via an opaque data structure of type `psa_… 365 const psa_crypto_driver_key_derivation_inputs_t *inputs, 371 …NPUT_TYPE_INVALID`: the step is invalid for the algorithm of the operation that the inputs are for. 372 …ITTED`: the step is optional for the algorithm of the operation that the inputs are for, and has b… 373 …ake a copy of the input data (design note: [why a copy?](#key-derivation-inputs-and-buffer-ownersh… 379 const psa_crypto_driver_key_derivation_inputs_t *inputs, [all …]
|
/openthread-latest/third_party/mbedtls/repo/scripts/data_files/driver_templates/ |
D | OS-template-opaque.jinja | 2 Expected inputs:
|
D | OS-template-transparent.jinja | 2 Expected inputs:
|
/openthread-latest/third_party/mbedtls/repo/docs/architecture/testing/ |
D | driver-interface-test-strategy.md | 25 …lidate that the proper function is called, that it receives the expected inputs and that it produc… 50 #### SE driver inputs 56 …inputs reach the driver. This may be implicit in a test that checks the outputs if the only realis…
|
/openthread-latest/third_party/mbedtls/repo/docs/architecture/ |
D | psa-shared-memory.md | 21 …I function may be in shared memory (as opposed to environments where the inputs are always copied … 35 …inputs and outputs. This models an ideal world where the content of input and output buffers is no… 107 …in many circumstances. It is ok to write data that is independent of the inputs (and not otherwise… 162 …* Note that this does not include inputs or outputs that are not processed by an asymmetric primit… 168 #### Symmetric cryptography inputs with small output 170 Message inputs to hash, MAC and key derivation operations are at a low risk of [read-read inconsist… 174 TODO: what about IV/nonce inputs? They are typically small, but don't necessarily have a static siz… 196 …hall allocate an intermediate buffer for cipher and AEAD plaintext/ciphertext inputs and outputs**. 206 …ollow the same rules as [symmetric cryptography inputs with small output](#symmetric-cryptography-… 218 * Plaintext/ciphertext inputs and outputs for cipher and AEAD. [all …]
|
/openthread-latest/third_party/mbedtls/repo/3rdparty/p256-m/p256-m/ |
D | README.md | 40 - Each public function fully validates its inputs and returns specific errors. 47 - In addition, crafted inputs are used for negative testing and to reach 284 - While p256-m fully validates all inputs, Tinycrypt's ECDH shared secret 399 This layer builds on the others, but unlike them, all inputs and outputs are
|