Home
last modified time | relevance | path

Searched refs:mbedtls_zeroize (Results 1 – 25 of 41) sorted by relevance

12

/net-tools-3.6.0/mbedtls-2.4.0/library/
Dcmac.c69 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
145 mbedtls_zeroize( L, sizeof( L ) ); in cmac_generate_subkeys()
163 mbedtls_zeroize( L, sizeof( L ) ); in cmac_generate_subkeys()
237 mbedtls_zeroize( cmac_ctx->state, sizeof( cmac_ctx->state ) ); in mbedtls_cipher_cmac_starts()
328 mbedtls_zeroize( K1, sizeof( K1 ) ); in mbedtls_cipher_cmac_finish()
329 mbedtls_zeroize( K2, sizeof( K2 ) ); in mbedtls_cipher_cmac_finish()
359 mbedtls_zeroize( K1, sizeof( K1 ) ); in mbedtls_cipher_cmac_finish()
360 mbedtls_zeroize( K2, sizeof( K2 ) ); in mbedtls_cipher_cmac_finish()
363 mbedtls_zeroize( cmac_ctx->unprocessed_block, in mbedtls_cipher_cmac_finish()
366 mbedtls_zeroize( state, MBEDTLS_CIPHER_BLKSIZE_MAX ); in mbedtls_cipher_cmac_finish()
[all …]
Dpkcs12.c51 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
169 mbedtls_zeroize( key, sizeof( key ) ); in mbedtls_pkcs12_pbe_sha1_rc4_128()
226 mbedtls_zeroize( key, sizeof( key ) ); in mbedtls_pkcs12_pbe()
227 mbedtls_zeroize( iv, sizeof( iv ) ); in mbedtls_pkcs12_pbe()
355 mbedtls_zeroize( salt_block, sizeof( salt_block ) ); in mbedtls_pkcs12_derivation()
356 mbedtls_zeroize( pwd_block, sizeof( pwd_block ) ); in mbedtls_pkcs12_derivation()
357 mbedtls_zeroize( hash_block, sizeof( hash_block ) ); in mbedtls_pkcs12_derivation()
358 mbedtls_zeroize( hash_output, sizeof( hash_output ) ); in mbedtls_pkcs12_derivation()
Dpem.c48 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
108 mbedtls_zeroize( md5sum, 16 ); in pem_pbkdf1()
130 mbedtls_zeroize( md5sum, 16 ); in pem_pbkdf1()
153 mbedtls_zeroize( des_key, 8 ); in pem_des_decrypt()
175 mbedtls_zeroize( des3_key, 24 ); in pem_des3_decrypt()
199 mbedtls_zeroize( aes_key, keylen ); in pem_aes_decrypt()
391 mbedtls_zeroize( ctx, sizeof( mbedtls_pem_context ) ); in mbedtls_pem_free()
Dx509_csr.c64 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
328 mbedtls_zeroize( buf, n ); in mbedtls_x509_csr_parse_file()
410 mbedtls_zeroize( name_prv, sizeof( mbedtls_x509_name ) ); in mbedtls_x509_csr_free()
416 mbedtls_zeroize( csr->raw.p, csr->raw.len ); in mbedtls_x509_csr_free()
420 mbedtls_zeroize( csr, sizeof( mbedtls_x509_csr ) ); in mbedtls_x509_csr_free()
Dssl_cookie.c47 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
104 mbedtls_zeroize( ctx, sizeof( mbedtls_ssl_cookie_ctx ) ); in mbedtls_ssl_cookie_free()
125 mbedtls_zeroize( key, sizeof( key ) ); in mbedtls_ssl_cookie_setup()
Darc4.c51 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
65 mbedtls_zeroize( ctx, sizeof( mbedtls_arc4_context ) ); in mbedtls_arc4_free()
Ddes.c52 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
319 mbedtls_zeroize( ctx, sizeof( mbedtls_des_context ) ); in mbedtls_des_free()
332 mbedtls_zeroize( ctx, sizeof( mbedtls_des3_context ) ); in mbedtls_des3_free()
556 mbedtls_zeroize( sk, sizeof( sk ) ); in mbedtls_des3_set2key_enc()
570 mbedtls_zeroize( sk, sizeof( sk ) ); in mbedtls_des3_set2key_dec()
607 mbedtls_zeroize( sk, sizeof( sk ) ); in mbedtls_des3_set3key_enc()
621 mbedtls_zeroize( sk, sizeof( sk ) ); in mbedtls_des3_set3key_dec()
Dx509_crl.c70 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
565 mbedtls_zeroize( buf, n ); in mbedtls_x509_crl_parse_file()
686 mbedtls_zeroize( name_prv, sizeof( mbedtls_x509_name ) ); in mbedtls_x509_crl_free()
695 mbedtls_zeroize( entry_prv, sizeof( mbedtls_x509_crl_entry ) ); in mbedtls_x509_crl_free()
701 mbedtls_zeroize( crl_cur->raw.p, crl_cur->raw.len ); in mbedtls_x509_crl_free()
715 mbedtls_zeroize( crl_prv, sizeof( mbedtls_x509_crl ) ); in mbedtls_x509_crl_free()
Dasn1parse.c47 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
316 mbedtls_zeroize( params, sizeof(mbedtls_asn1_buf) ); in mbedtls_asn1_get_alg()
361 mbedtls_zeroize( cur, sizeof( mbedtls_asn1_named_data ) ); in mbedtls_asn1_free_named_data()
Dmd.c52 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
196 mbedtls_zeroize( ctx->hmac_ctx, 2 * ctx->md_info->block_size ); in mbedtls_md_free()
200 mbedtls_zeroize( ctx, sizeof( mbedtls_md_context_t ) ); in mbedtls_md_free()
361 mbedtls_zeroize( sum, sizeof( sum ) ); in mbedtls_md_hmac_starts()
Dmd2.c52 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
96 mbedtls_zeroize( ctx, sizeof( mbedtls_md2_context ) ); in mbedtls_md2_free()
Dccm.c53 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
103 mbedtls_zeroize( ctx, sizeof( mbedtls_ccm_context ) ); in mbedtls_ccm_free()
344 mbedtls_zeroize( output, length ); in mbedtls_ccm_auth_decrypt()
Dxtea.c46 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
83 mbedtls_zeroize( ctx, sizeof( mbedtls_xtea_context ) ); in mbedtls_xtea_free()
Dssl_ticket.c43 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
86 mbedtls_zeroize( buf, sizeof( buf ) ); in ssl_ticket_gen_key()
486 mbedtls_zeroize( ctx, sizeof( mbedtls_ssl_ticket_context ) ); in mbedtls_ssl_ticket_free()
Dx509write_csr.c47 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
61 mbedtls_zeroize( ctx, sizeof(mbedtls_x509write_csr) ); in mbedtls_x509write_csr_free()
Dhavege.c43 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
211 mbedtls_zeroize( hs, sizeof( mbedtls_havege_state ) ); in mbedtls_havege_free()
Dpk.c43 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
69 mbedtls_zeroize( ctx, sizeof( mbedtls_pk_context ) ); in mbedtls_pk_free()
Ddhm.c61 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
408 mbedtls_zeroize( ctx, sizeof( mbedtls_dhm_context ) ); in mbedtls_dhm_free()
573 mbedtls_zeroize( buf, n ); in mbedtls_dhm_parse_dhmfile()
Dssl_tls.c57 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
261 mbedtls_zeroize( padding, sizeof( padding ) ); in ssl3_prf()
262 mbedtls_zeroize( sha1sum, sizeof( sha1sum ) ); in ssl3_prf()
359 mbedtls_zeroize( tmp, sizeof( tmp ) ); in tls1_prf()
360 mbedtls_zeroize( h_i, sizeof( h_i ) ); in tls1_prf()
424 mbedtls_zeroize( tmp, sizeof( tmp ) ); in tls_prf_generic()
425 mbedtls_zeroize( h_i, sizeof( h_i ) ); in tls_prf_generic()
633 mbedtls_zeroize( handshake->premaster, sizeof(handshake->premaster) ); in mbedtls_ssl_derive_keys()
644 mbedtls_zeroize( tmp, sizeof( tmp ) ); in mbedtls_ssl_derive_keys()
672 mbedtls_zeroize( handshake->randbytes, sizeof( handshake->randbytes ) ); in mbedtls_ssl_derive_keys()
[all …]
Dblowfish.c43 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
168 mbedtls_zeroize( ctx, sizeof( mbedtls_blowfish_context ) ); in mbedtls_blowfish_free()
Dhmac_drbg.c54 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
341 mbedtls_zeroize( ctx, sizeof( mbedtls_hmac_drbg_context ) ); in mbedtls_hmac_drbg_free()
Dx509_crt.c79 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
1096 mbedtls_zeroize( buf, n ); in mbedtls_x509_crt_parse_file()
2340 mbedtls_zeroize( name_prv, sizeof( mbedtls_x509_name ) ); in mbedtls_x509_crt_free()
2349 mbedtls_zeroize( name_prv, sizeof( mbedtls_x509_name ) ); in mbedtls_x509_crt_free()
2358 mbedtls_zeroize( seq_prv, sizeof( mbedtls_x509_sequence ) ); in mbedtls_x509_crt_free()
2367 mbedtls_zeroize( seq_prv, sizeof( mbedtls_x509_sequence ) ); in mbedtls_x509_crt_free()
2373 mbedtls_zeroize( cert_cur->raw.p, cert_cur->raw.len ); in mbedtls_x509_crt_free()
2387 mbedtls_zeroize( cert_prv, sizeof( mbedtls_x509_crt ) ); in mbedtls_x509_crt_free()
Dpk_wrap.c54 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
470 mbedtls_zeroize( ctx, sizeof( mbedtls_rsa_alt_context ) ); in rsa_alt_free_wrap()
Dgcm.c81 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
496 mbedtls_zeroize( output, length ); in mbedtls_gcm_auth_decrypt()
506 mbedtls_zeroize( ctx, sizeof( mbedtls_gcm_context ) ); in mbedtls_gcm_free()
Dctr_drbg.c53 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() function
124 mbedtls_zeroize( ctx, sizeof( mbedtls_ctr_drbg_context ) ); in mbedtls_ctr_drbg_free()

12