/openthread-2.7.6/third_party/mbedtls/repo/library/ |
D | ctr_drbg.c | 78 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_ctr_drbg_context ) ); in mbedtls_ctr_drbg_free() 238 mbedtls_platform_zeroize( buf, sizeof( buf ) ); in block_cipher_df() 239 mbedtls_platform_zeroize( tmp, sizeof( tmp ) ); in block_cipher_df() 240 mbedtls_platform_zeroize( key, sizeof( key ) ); in block_cipher_df() 241 mbedtls_platform_zeroize( chain, sizeof( chain ) ); in block_cipher_df() 247 mbedtls_platform_zeroize( output, MBEDTLS_CTR_DRBG_SEEDLEN ); in block_cipher_df() 307 mbedtls_platform_zeroize( tmp, sizeof( tmp ) ); in ctr_drbg_update_internal() 339 mbedtls_platform_zeroize( add_input, sizeof( add_input ) ); in mbedtls_ctr_drbg_update_ret() 421 mbedtls_platform_zeroize( seed, sizeof( seed ) ); in mbedtls_ctr_drbg_reseed_internal() 589 mbedtls_platform_zeroize( add_input, sizeof( add_input ) ); in mbedtls_ctr_drbg_random_with_add() [all …]
|
D | pem.c | 129 mbedtls_platform_zeroize( md5sum, 16 ); in pem_pbkdf1() 158 mbedtls_platform_zeroize( des_key, 8 ); in pem_des_decrypt() 186 mbedtls_platform_zeroize( des3_key, 24 ); in pem_des3_decrypt() 216 mbedtls_platform_zeroize( aes_key, keylen ); in pem_aes_decrypt() 353 mbedtls_platform_zeroize( buf, len ); in mbedtls_pem_read_buffer() 364 mbedtls_platform_zeroize( buf, len ); in mbedtls_pem_read_buffer() 401 mbedtls_platform_zeroize( buf, len ); in mbedtls_pem_read_buffer() 406 mbedtls_platform_zeroize( buf, len ); in mbedtls_pem_read_buffer() 423 mbedtls_platform_zeroize( ctx->buf, ctx->buflen ); in mbedtls_pem_free() 428 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_pem_context ) ); in mbedtls_pem_free()
|
D | cmac.c | 138 mbedtls_platform_zeroize( L, sizeof( L ) ); in cmac_generate_subkeys() 156 mbedtls_platform_zeroize( L, sizeof( L ) ); in cmac_generate_subkeys() 232 mbedtls_platform_zeroize( cmac_ctx->state, sizeof( cmac_ctx->state ) ); in mbedtls_cipher_cmac_starts() 324 mbedtls_platform_zeroize( K1, sizeof( K1 ) ); in mbedtls_cipher_cmac_finish() 325 mbedtls_platform_zeroize( K2, sizeof( K2 ) ); in mbedtls_cipher_cmac_finish() 355 mbedtls_platform_zeroize( K1, sizeof( K1 ) ); in mbedtls_cipher_cmac_finish() 356 mbedtls_platform_zeroize( K2, sizeof( K2 ) ); in mbedtls_cipher_cmac_finish() 359 mbedtls_platform_zeroize( cmac_ctx->unprocessed_block, in mbedtls_cipher_cmac_finish() 362 mbedtls_platform_zeroize( state, MBEDTLS_CIPHER_BLKSIZE_MAX ); in mbedtls_cipher_cmac_finish() 377 mbedtls_platform_zeroize( cmac_ctx->unprocessed_block, in mbedtls_cipher_cmac_reset() [all …]
|
D | pkcs12.c | 162 mbedtls_platform_zeroize( key, sizeof( key ) ); in mbedtls_pkcs12_pbe_sha1_rc4_128() 219 mbedtls_platform_zeroize( key, sizeof( key ) ); in mbedtls_pkcs12_pbe() 220 mbedtls_platform_zeroize( iv, sizeof( iv ) ); in mbedtls_pkcs12_pbe() 350 mbedtls_platform_zeroize( salt_block, sizeof( salt_block ) ); in mbedtls_pkcs12_derivation() 351 mbedtls_platform_zeroize( pwd_block, sizeof( pwd_block ) ); in mbedtls_pkcs12_derivation() 352 mbedtls_platform_zeroize( hash_block, sizeof( hash_block ) ); in mbedtls_pkcs12_derivation() 353 mbedtls_platform_zeroize( hash_output, sizeof( hash_output ) ); in mbedtls_pkcs12_derivation()
|
D | nist_kw.c | 160 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_nist_kw_context ) ); in mbedtls_nist_kw_free() 307 mbedtls_platform_zeroize( inbuff, KW_SEMIBLOCK_LENGTH * 2 ); in mbedtls_nist_kw_wrap() 308 mbedtls_platform_zeroize( outbuff, KW_SEMIBLOCK_LENGTH * 2 ); in mbedtls_nist_kw_wrap() 372 mbedtls_platform_zeroize( inbuff, sizeof( inbuff ) ); in unwrap() 373 mbedtls_platform_zeroize( outbuff, sizeof( outbuff ) ); in unwrap() 455 mbedtls_platform_zeroize( outbuff, sizeof( outbuff ) ); in mbedtls_nist_kw_unwrap() 523 mbedtls_platform_zeroize( &bad_padding, sizeof( bad_padding) ); in mbedtls_nist_kw_unwrap() 524 mbedtls_platform_zeroize( &diff, sizeof( diff ) ); in mbedtls_nist_kw_unwrap() 525 mbedtls_platform_zeroize( A, sizeof( A ) ); in mbedtls_nist_kw_unwrap()
|
D | chacha20.c | 180 mbedtls_platform_zeroize( working_state, sizeof( working_state ) ); in chacha20_block() 187 mbedtls_platform_zeroize( ctx->state, sizeof( ctx->state ) ); in mbedtls_chacha20_init() 188 mbedtls_platform_zeroize( ctx->keystream8, sizeof( ctx->keystream8 ) ); in mbedtls_chacha20_init() 198 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_chacha20_context ) ); in mbedtls_chacha20_free() 242 mbedtls_platform_zeroize( ctx->keystream8, sizeof( ctx->keystream8 ) ); in mbedtls_chacha20_starts()
|
D | x509_csr.c | 319 mbedtls_platform_zeroize( buf, n ); in mbedtls_x509_csr_parse_file() 401 mbedtls_platform_zeroize( name_prv, sizeof( mbedtls_x509_name ) ); in mbedtls_x509_csr_free() 407 mbedtls_platform_zeroize( csr->raw.p, csr->raw.len ); in mbedtls_x509_csr_free() 411 mbedtls_platform_zeroize( csr, sizeof( mbedtls_x509_csr ) ); in mbedtls_x509_csr_free()
|
D | entropy.c | 134 mbedtls_platform_zeroize( ctx->source, sizeof( ctx->source ) ); in mbedtls_entropy_free() 226 mbedtls_platform_zeroize( tmp, sizeof( tmp ) ); in entropy_update() 296 mbedtls_platform_zeroize( buf, sizeof( buf ) ); in entropy_gather_internal() 435 mbedtls_platform_zeroize( buf, sizeof( buf ) ); in mbedtls_entropy_func() 488 mbedtls_platform_zeroize( buf, sizeof( buf ) ); in mbedtls_entropy_write_seed_file() 518 mbedtls_platform_zeroize( buf, sizeof( buf ) ); in mbedtls_entropy_update_seed_file()
|
D | hmac_drbg.c | 107 mbedtls_platform_zeroize( K, sizeof( K ) ); in mbedtls_hmac_drbg_update_ret() 225 mbedtls_platform_zeroize( seed, seedlen ); in hmac_drbg_reseed_core() 427 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_hmac_drbg_context ) ); in mbedtls_hmac_drbg_free() 457 mbedtls_platform_zeroize( buf, sizeof( buf ) ); in mbedtls_hmac_drbg_write_seed_file() 490 mbedtls_platform_zeroize( buf, sizeof( buf ) ); in mbedtls_hmac_drbg_update_seed_file()
|
D | hkdf.c | 44 mbedtls_platform_zeroize( prk, sizeof( prk ) ); in mbedtls_hkdf() 184 mbedtls_platform_zeroize( t, sizeof( t ) ); in mbedtls_hkdf_expand()
|
D | des.c | 316 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_des_context ) ); in mbedtls_des_free() 329 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_des3_context ) ); in mbedtls_des3_free() 553 mbedtls_platform_zeroize( sk, sizeof( sk ) ); in mbedtls_des3_set2key_enc() 567 mbedtls_platform_zeroize( sk, sizeof( sk ) ); in mbedtls_des3_set2key_dec() 604 mbedtls_platform_zeroize( sk, sizeof( sk ) ); in mbedtls_des3_set3key_enc() 618 mbedtls_platform_zeroize( sk, sizeof( sk ) ); in mbedtls_des3_set3key_dec()
|
D | psa_crypto_driver_wrappers.c | 663 mbedtls_platform_zeroize( in psa_driver_wrapper_cipher_encrypt_setup() 690 mbedtls_platform_zeroize( in psa_driver_wrapper_cipher_encrypt_setup() 744 mbedtls_platform_zeroize( in psa_driver_wrapper_cipher_decrypt_setup() 771 mbedtls_platform_zeroize( in psa_driver_wrapper_cipher_decrypt_setup() 961 mbedtls_platform_zeroize( in psa_driver_wrapper_cipher_abort() 973 mbedtls_platform_zeroize( in psa_driver_wrapper_cipher_abort()
|
D | ssl_cookie.c | 95 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_ssl_cookie_ctx ) ); in mbedtls_ssl_cookie_free() 116 mbedtls_platform_zeroize( key, sizeof( key ) ); in mbedtls_ssl_cookie_setup()
|
D | md2.c | 87 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_md2_context ) ); in mbedtls_md2_free() 151 mbedtls_platform_zeroize( &t, sizeof( t ) ); in mbedtls_internal_md2_process()
|
D | x509_crl.c | 610 mbedtls_platform_zeroize( buf, n ); in mbedtls_x509_crl_parse_file() 731 mbedtls_platform_zeroize( name_prv, sizeof( mbedtls_x509_name ) ); in mbedtls_x509_crl_free() 740 mbedtls_platform_zeroize( entry_prv, in mbedtls_x509_crl_free() 747 mbedtls_platform_zeroize( crl_cur->raw.p, crl_cur->raw.len ); in mbedtls_x509_crl_free() 761 mbedtls_platform_zeroize( crl_prv, sizeof( mbedtls_x509_crl ) ); in mbedtls_x509_crl_free()
|
D | asn1parse.c | 323 mbedtls_platform_zeroize( seq, sizeof( *seq ) ); in mbedtls_asn1_sequence_free() 404 mbedtls_platform_zeroize( params, sizeof(mbedtls_asn1_buf) ); in mbedtls_asn1_get_alg() 449 mbedtls_platform_zeroize( cur, sizeof( mbedtls_asn1_named_data ) ); in mbedtls_asn1_free_named_data()
|
D | platform_util.c | 67 void mbedtls_platform_zeroize( void *buf, size_t len ) in mbedtls_platform_zeroize() function
|
D | ssl_tls13_keys.c | 344 mbedtls_platform_zeroize( tmp_secret, sizeof(tmp_secret) ); in mbedtls_ssl_tls1_3_evolve_secret() 345 mbedtls_platform_zeroize( tmp_input, sizeof(tmp_input) ); in mbedtls_ssl_tls1_3_evolve_secret()
|
D | ssl_tls.c | 255 mbedtls_platform_zeroize( *buffer, *len_old ); in resize_buffer() 322 mbedtls_platform_zeroize( padding, sizeof( padding ) ); in ssl3_prf() 323 mbedtls_platform_zeroize( sha1sum, sizeof( sha1sum ) ); in ssl3_prf() 437 mbedtls_platform_zeroize( tmp, tmp_len ); in tls1_prf() 438 mbedtls_platform_zeroize( h_i, sizeof( h_i ) ); in tls1_prf() 639 mbedtls_platform_zeroize( tmp, tmp_len ); in tls_prf_generic() 640 mbedtls_platform_zeroize( h_i, sizeof( h_i ) ); in tls_prf_generic() 1369 mbedtls_platform_zeroize( keyblk, sizeof( keyblk ) ); in ssl_populate_transform() 1571 mbedtls_platform_zeroize( handshake->premaster, in ssl_compute_master() 1614 mbedtls_platform_zeroize( tmp, sizeof( tmp ) ); in mbedtls_ssl_derive_keys() [all …]
|
/openthread-2.7.6/third_party/mbedtls/repo/3rdparty/everest/library/ |
D | x25519.c | 44 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_x25519_context ) ); in mbedtls_x25519_init() 55 mbedtls_platform_zeroize( ctx->our_secret, MBEDTLS_X25519_KEY_SIZE_BYTES ); in mbedtls_x25519_free() 56 mbedtls_platform_zeroize( ctx->peer_point, MBEDTLS_X25519_KEY_SIZE_BYTES ); in mbedtls_x25519_free() 137 mbedtls_platform_zeroize( ctx->our_secret, MBEDTLS_X25519_KEY_SIZE_BYTES ); in mbedtls_x25519_calc_secret()
|
/openthread-2.7.6/third_party/mbedtls/repo/tests/scripts/ |
D | test_zeroize.gdb | 20 # Run a test using the debugger to check that the mbedtls_platform_zeroize() 27 # The mbedtls_platform_zeroize() test is debugger driven because there does not 35 # program's observable behavior. In the case of mbedtls_platform_zeroize(), an 38 # mbedtls_platform_zeroize() does not have an observable behavior. However, 39 # inserting a test after a call to mbedtls_platform_zeroize() to check whether 41 # eliminate the mbedtls_platform_zeroize() call. If this does not occur, then
|
/openthread-2.7.6/third_party/mbedtls/repo/programs/aes/ |
D | aescrypt2.c | 455 mbedtls_platform_zeroize( argv[i], strlen( argv[i] ) ); in main() 457 mbedtls_platform_zeroize( IV, sizeof( IV ) ); in main() 458 mbedtls_platform_zeroize( key, sizeof( key ) ); in main() 459 mbedtls_platform_zeroize( tmp, sizeof( tmp ) ); in main() 460 mbedtls_platform_zeroize( buffer, sizeof( buffer ) ); in main() 461 mbedtls_platform_zeroize( digest, sizeof( digest ) ); in main()
|
D | crypt_and_hash.c | 553 mbedtls_platform_zeroize( argv[i], strlen( argv[i] ) ); in main() 555 mbedtls_platform_zeroize( IV, sizeof( IV ) ); in main() 556 mbedtls_platform_zeroize( key, sizeof( key ) ); in main() 557 mbedtls_platform_zeroize( buffer, sizeof( buffer ) ); in main() 558 mbedtls_platform_zeroize( output, sizeof( output ) ); in main() 559 mbedtls_platform_zeroize( digest, sizeof( digest ) ); in main()
|
/openthread-2.7.6/third_party/mbedtls/repo/programs/test/ |
D | zeroize.c | 95 mbedtls_platform_zeroize( buf, sizeof( buf ) ); in main()
|
/openthread-2.7.6/third_party/mbedtls/repo/include/mbedtls/ |
D | platform_util.h | 157 void mbedtls_platform_zeroize( void *buf, size_t len );
|