/openthread-3.5.0/third_party/mbedtls/repo/library/ |
D | psa_crypto_aead.c | 178 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) in mbedtls_psa_aead_encrypt() argument 196 tag = ciphertext + plaintext_length; in mbedtls_psa_aead_encrypt() 207 plaintext, ciphertext, in mbedtls_psa_aead_encrypt() 221 plaintext, ciphertext, in mbedtls_psa_aead_encrypt() 250 ciphertext, in mbedtls_psa_aead_encrypt() 280 const uint8_t *ciphertext, in psa_aead_unpadded_locate_tag() argument 291 *p_tag = ciphertext + payload_length; in psa_aead_unpadded_locate_tag() 301 const uint8_t *ciphertext, size_t ciphertext_length, in mbedtls_psa_aead_decrypt() argument 314 ciphertext, ciphertext_length, in mbedtls_psa_aead_decrypt() 328 ciphertext, plaintext, in mbedtls_psa_aead_decrypt() [all …]
|
D | psa_crypto_aead.h | 86 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ); 148 const uint8_t *ciphertext, size_t ciphertext_length,
|
D | ccm.c | 474 unsigned char ciphertext[CCM_SELFTEST_CT_MAX_LEN]; in mbedtls_ccm_self_test() local 495 memset( ciphertext, 0, CCM_SELFTEST_CT_MAX_LEN ); in mbedtls_ccm_self_test() 501 plaintext, ciphertext, in mbedtls_ccm_self_test() 502 ciphertext + msg_len_test_data[i], in mbedtls_ccm_self_test() 506 memcmp( ciphertext, res_test_data[i], in mbedtls_ccm_self_test() 519 ciphertext, plaintext, in mbedtls_ccm_self_test() 520 ciphertext + msg_len_test_data[i], in mbedtls_ccm_self_test()
|
D | psa_crypto_driver_wrappers.h | 208 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ); 216 const uint8_t *ciphertext, size_t ciphertext_length,
|
D | psa_crypto_driver_wrappers.c | 1424 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) in psa_driver_wrapper_aead_encrypt() argument 1444 ciphertext, ciphertext_size, ciphertext_length ); in psa_driver_wrapper_aead_encrypt() 1458 ciphertext, ciphertext_size, ciphertext_length ) ); in psa_driver_wrapper_aead_encrypt() 1475 const uint8_t *ciphertext, size_t ciphertext_length, in psa_driver_wrapper_aead_decrypt() argument 1495 ciphertext, ciphertext_length, in psa_driver_wrapper_aead_decrypt() 1509 ciphertext, ciphertext_length, in psa_driver_wrapper_aead_decrypt()
|
D | psa_crypto.c | 3712 uint8_t *ciphertext, in psa_aead_encrypt() argument 3739 ciphertext, ciphertext_size, ciphertext_length ); in psa_aead_encrypt() 3742 memset( ciphertext, 0, ciphertext_size ); in psa_aead_encrypt() 3755 const uint8_t *ciphertext, in psa_aead_decrypt() argument 3783 ciphertext, ciphertext_length, in psa_aead_decrypt()
|
/openthread-3.5.0/third_party/mbedtls/repo/tests/src/drivers/ |
D | test_driver_aead.c | 41 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) in mbedtls_test_transparent_aead_encrypt() argument 59 ciphertext, ciphertext_size, ciphertext_length ); in mbedtls_test_transparent_aead_encrypt() 71 const uint8_t *ciphertext, size_t ciphertext_length, in mbedtls_test_transparent_aead_decrypt() argument 89 ciphertext, ciphertext_length, in mbedtls_test_transparent_aead_decrypt()
|
/openthread-3.5.0/third_party/mbedtls/repo/tests/src/ |
D | psa_exercise_key.c | 170 unsigned char ciphertext[32] = "(wabblewebblewibblewobblewubble)"; in exercise_cipher_key() local 171 size_t ciphertext_length = sizeof( ciphertext ); in exercise_cipher_key() 172 unsigned char decrypted[sizeof( ciphertext )]; in exercise_cipher_key() 183 ciphertext, sizeof( ciphertext ), in exercise_cipher_key() 186 ciphertext + ciphertext_length, in exercise_cipher_key() 187 sizeof( ciphertext ) - ciphertext_length, in exercise_cipher_key() 211 ciphertext, ciphertext_length, in exercise_cipher_key() 242 unsigned char ciphertext[48] = "(wabblewebblewibblewobblewubble)"; in exercise_aead_key() local 243 size_t ciphertext_length = sizeof( ciphertext ); in exercise_aead_key() 244 size_t plaintext_length = sizeof( ciphertext ); in exercise_aead_key() [all …]
|
/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_nist_kw.function | 154 unsigned char *ciphertext = NULL; 169 ciphertext = mbedtls_calloc( 1, output_len ); 170 TEST_ASSERT( ciphertext != NULL ); 177 ciphertext, &output_len, 193 mbedtls_free( ciphertext ); 205 unsigned char *ciphertext = NULL; 220 ciphertext = mbedtls_calloc( 1, in_len ); 221 TEST_ASSERT( ciphertext != NULL ); 226 unwrap_ret = mbedtls_nist_kw_unwrap( &ctx, mode, ciphertext, in_len, 238 mbedtls_free( ciphertext );
|
D | test_suite_nist_kw.data | 33 NIST KW lengths #3 KW ciphertext OK (3 to 2^54 semiblocks) 36 NIST KW lengths #4 KWP ciphertext OK (2 to 2^29 semiblocks) 45 NIST KW lengths #8 KW ciphertext too short (3 to 2^54 semiblocks) 48 NIST KW lengths #9 KWP ciphertext too short (2 to 2^29 semiblocks) 54 NIST KW lengths #11 KW ciphertext not a multiple of semiblocks. 57 NIST KW lengths #12 KWP ciphertext not a multiple of semiblocks. 81 NIST KW lengths #20 KW ciphertext NULL 84 NIST KW lengths #21 KWP ciphertext NULL
|
D | test_suite_cipher.function | 1126 * Take an AEAD ciphertext + tag and perform a pair 1203 * (we need the tag appended to the ciphertext) 1341 /* PSA requires that the tag immediately follows the ciphertext.
|
D | test_suite_psa_crypto.function | 4155 /* Determine the maximum ciphertext length */ 4177 /* We don't know what ciphertext length to expect, but check that 4232 /* Determine the maximum ciphertext length */
|
/openthread-3.5.0/third_party/mbedtls/repo/tests/include/test/drivers/ |
D | aead.h | 59 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ); 67 const uint8_t *ciphertext, size_t ciphertext_length,
|
/openthread-3.5.0/third_party/mbedtls/repo/include/psa/ |
D | crypto.h | 2161 uint8_t *ciphertext, 2232 const uint8_t *ciphertext, 2768 uint8_t *ciphertext,
|
/openthread-3.5.0/third_party/mbedtls/repo/docs/ |
D | getting_started.md | 297 uint8_t ciphertext[block_size] = SOME_CIPHERTEXT; 326 /* Decrypt the ciphertext */ 337 status = psa_cipher_update(&operation, ciphertext, sizeof(ciphertext), 349 printf("Decrypted ciphertext\n");
|
/openthread-3.5.0/third_party/mbedtls/repo/ |
D | ChangeLog | 44 man-in-the-middle to inject fake ciphertext into a DTLS connection. 461 these new functions always append the tag to the ciphertext, and include 462 the tag in the ciphertext length.
|