/mbedtls-development/tests/suites/ |
A D | test_suite_ccm.function | 155 memset( add, 0, sizeof( add ) ); 368 add->x, add->len, io_msg_buf, 535 TEST_EQUAL( 0, mbedtls_ccm_update_ad( &ctx, add->x, add->len) ); 606 TEST_EQUAL( 0, mbedtls_ccm_update_ad( &ctx, add->x, add->len) ); 631 TEST_EQUAL( 0, mbedtls_ccm_update_ad( &ctx, add->x, add->len - 1) ); 658 TEST_EQUAL( 0, mbedtls_ccm_update_ad( &ctx, add->x, add->len) ); 676 add_second_buffer[0] = add->x[ add->len - 1 ]; 711 TEST_EQUAL( 0, mbedtls_ccm_update_ad( &ctx, add->x, add->len) ); 738 TEST_EQUAL( 0, mbedtls_ccm_update_ad( &ctx, add->x, add->len) ); 772 TEST_EQUAL( 0, mbedtls_ccm_update_ad( &ctx, add->x, add->len) ); [all …]
|
A D | test_suite_ctr_drbg.function | 227 unsigned char add[16]; 238 memset( add, 0, sizeof( add ) ); 261 add, sizeof( add ) ) == 0 ); 284 add, sizeof( add ) ) == 0 );
|
A D | test_suite_gcm.function | 10 const data_t *add, 20 size_t n2_add = add->len - n1_add; 25 TEST_ASSERT( n1_add <= add->len ); 30 TEST_EQUAL( 0, mbedtls_gcm_update_ad( ctx, add->x, n1_add ) ); 31 TEST_EQUAL( 0, mbedtls_gcm_update_ad( ctx, add->x + n1_add, n2_add ) ); 111 const data_t *add, 120 TEST_EQUAL( 0, mbedtls_gcm_update_ad( ctx, add->x, add->len ) );
|
A D | test_suite_ctr_drbg.data | 1 CTR_DRBG_withDF.pdf: AES-256, PR=no, perso=no, add=no 5 CTR_DRBG_withDF.pdf: AES-256, PR=no, perso=no, add=yes 9 CTR_DRBG_withDF.pdf: AES-256, PR=no, perso=yes, add=no 13 CTR_DRBG_withDF.pdf: AES-256, PR=no, perso=yes, add=yes 17 CTR_DRBG_withDF.pdf: AES-256, PR=yes, perso=no, add=no 21 CTR_DRBG_withDF.pdf: AES-256, PR=yes, perso=no, add=yes 25 CTR_DRBG_withDF.pdf: AES-256, PR=yes, perso=yes, add=no 29 CTR_DRBG_withDF.pdf: AES-256, PR=yes, perso=yes, add=yes
|
/mbedtls-development/scripts/mbedtls_dev/ |
A D | macro_collector.py | 196 seen.add(result) 313 self.statuses.add(name) 315 self.key_types.add(name) 321 self.ecc_curves.add(name) 323 self.dh_groups.add(name) 329 self.algorithms.add(name) 409 self.ecc_curves.add('0xff') 410 self.dh_groups.add('0xff') 411 self.key_types.add('0xffff') 463 self.all_declared.add(name) [all …]
|
A D | psa_storage.py | 37 self.unknown_values.add(self.normalize(content))
|
/mbedtls-development/library/ |
A D | ccm.c | 268 const unsigned char *add, in mbedtls_ccm_update_ad() argument 314 ctx->y[i + offset] ^= add[i]; in mbedtls_ccm_update_ad() 318 add += use_len; in mbedtls_ccm_update_ad() 503 if( ( ret = mbedtls_ccm_update_ad( ctx, add, add_len ) ) != 0 ) in ccm_auth_crypt() 521 const unsigned char *add, size_t add_len, in mbedtls_ccm_star_encrypt_and_tag() argument 531 const unsigned char *add, size_t add_len, in mbedtls_ccm_encrypt_and_tag() argument 569 iv, iv_len, add, add_len, in ccm_auth_decrypt() 586 const unsigned char *add, size_t add_len, in mbedtls_ccm_star_auth_decrypt() argument 591 iv, iv_len, add, add_len, in mbedtls_ccm_star_auth_decrypt() 597 const unsigned char *add, size_t add_len, in mbedtls_ccm_auth_decrypt() argument [all …]
|
A D | gcm.c | 330 const unsigned char *add, size_t add_len ) in mbedtls_gcm_update_ad() argument 335 GCM_VALIDATE_RET( add_len == 0 || add != NULL ); in mbedtls_gcm_update_ad() 342 p = add; in mbedtls_gcm_update_ad() 571 const unsigned char *add, in mbedtls_gcm_crypt_and_tag() argument 583 GCM_VALIDATE_RET( add_len == 0 || add != NULL ); in mbedtls_gcm_crypt_and_tag() 591 if( ( ret = mbedtls_gcm_update_ad( ctx, add, add_len ) ) != 0 ) in mbedtls_gcm_crypt_and_tag() 608 const unsigned char *add, in mbedtls_gcm_auth_decrypt() argument 622 GCM_VALIDATE_RET( add_len == 0 || add != NULL ); in mbedtls_gcm_auth_decrypt() 628 iv, iv_len, add, add_len, in mbedtls_gcm_auth_decrypt()
|
A D | bn_mul.h | 835 __asm add eax, ecx \ 837 __asm add eax, [edi] \
|
/mbedtls-development/include/mbedtls/ |
A D | gcm.h | 170 const unsigned char *add, 214 const unsigned char *add, 260 const unsigned char *add,
|
/mbedtls-development/tests/scripts/ |
A D | gen_gcm_encrypt.pl | 74 my $add = get_val("AAD"); 84 print(":\"$add\"");
|
A D | gen_gcm_decrypt.pl | 92 my $add = get_val("AAD"); 101 print(":\"$add\"");
|
A D | docker_env.sh | 89 --cap-add SYS_PTRACE \
|
A D | analyze_outcomes.py | 66 self.descriptions.add(key)
|
A D | psa_collect_statuses.py | 61 self.codes.add(int(value))
|
/mbedtls-development/tests/data_files/base64/ |
A D | def_b64_too_big_3.txt | 1 // Context with added '1234' before '==' add the end to simulate too much data in the base64 code
|
A D | def_bad_b64.txt | 1 // Context with added extra 'A' before '==' add the end to simulate bad length of base64 code
|
/mbedtls-development/programs/test/cmake_subproject/ |
A D | CMakeLists.txt | 7 # projects that use Mbed TLS as a subproject are likely to add by their own
|
/mbedtls-development/ |
A D | Makefile | 151 lcov --rc lcov_branch_coverage=1 --add-tracefile files.info --add-tracefile tests.info -o all.info
|
A D | CMakeLists.txt | 102 # If this is the root project add longer list of available CMAKE_BUILD_TYPE values 302 COMMAND lcov --add-tracefile files.info --add-tracefile tests.info -o all.info
|
A D | CONTRIBUTING.md | 23 … the committer. If anyone else contributes to the commit, they should also add their own `Signed-o… 66 [A Knowledge Base article describing how to add additional tests is available on the Mbed TLS websi…
|
/mbedtls-development/programs/test/ |
A D | CMakeLists.txt | 48 …# https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#how-can-i-add-a-dependency-to-a-source-fi…
|
/mbedtls-development/docs/architecture/testing/ |
A D | invasive-testing.md | 30 Do not add test-specific interfaces if there's a practical way of doing it another way. All public … 38 …n internal details of the library and not just on its documented behavior, add a comment in the co… 55 If the most practical way to test something is to add code to the product that is only useful for t… 60 …OKS` must not change the behavior**. It may define extra functions. It may add fields to structure… 145 As a rule, we do not add public interfaces solely for testing purposes. We only add public interfac… 209 If there's code that we want to have in the product for testing, but not in production, we can add … 366 …when running without isolation. To corrupt the key store, we would need to add a function to the l…
|
/mbedtls-development/programs/fuzz/ |
A D | README.md | 54 * Finally, you can add the options by appending the last bytes to the file test.cor
|
/mbedtls-development/docs/ |
A D | 3.0-migration-guide.md | 43 …considered part of the stable API, and minor versions (3.1, 3.2, etc.) may add, remove, rename, re… 45 …that even if all the fields of a structure are public, future versions may add new fields. Also, a… 51 …useful accessor functions are missing in the 3.0 release, and we expect to add them to the first m… 123 <https://tls.mbed.org/kb/how-to/add-entropy-sources-to-entropy-pool> for more 195 you will need to add `#define MBEDTLS_SHA224_C` option to your config. 208 `MBEDTLS_SHA512_NO_SHA384` and you need the SHA-384 algorithm, then add 385 please add it and be prepared to get as much as 15 bytes of output. 496 If you're providing alt implementations of ECP or RSA, you'll need to add our 743 exported, but upcoming TLS 1.3 support will add other kinds of keys.
|