Searched refs:sha1sum (Results 1 – 4 of 4) sorted by relevance
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | sha1.c | 488 unsigned char sha1sum[20]; in mbedtls_sha1_self_test() local 523 if( ( ret = mbedtls_sha1_finish_ret( &ctx, sha1sum ) ) != 0 ) in mbedtls_sha1_self_test() 526 if( memcmp( sha1sum, sha1_test_sum[i], 20 ) != 0 ) in mbedtls_sha1_self_test()
|
A D | ssl_tls.c | 352 unsigned char sha1sum[20]; in ssl3_prf() local 378 if( ( ret = mbedtls_sha1_finish_ret( &sha1, sha1sum ) ) != 0 ) in ssl3_prf() 385 if( ( ret = mbedtls_md5_update_ret( &md5, sha1sum, 20 ) ) != 0 ) in ssl3_prf() 396 mbedtls_platform_zeroize( sha1sum, sizeof( sha1sum ) ); in ssl3_prf() 3142 unsigned char sha1sum[20]; in ssl_calc_finished_ssl() local 3188 mbedtls_sha1_finish_ret( &sha1, sha1sum ); in ssl_calc_finished_ssl() 3201 mbedtls_sha1_update_ret( &sha1, sha1sum, 20 ); in ssl_calc_finished_ssl() 3211 mbedtls_platform_zeroize( sha1sum, sizeof( sha1sum ) ); in ssl_calc_finished_ssl()
|
A D | rsa.c | 2470 unsigned char sha1sum[20]; in mbedtls_rsa_self_test() local 2550 if( mbedtls_sha1_ret( rsa_plaintext, PT_LEN, sha1sum ) != 0 ) in mbedtls_rsa_self_test() 2560 sha1sum, rsa_ciphertext ) != 0 ) in mbedtls_rsa_self_test() 2574 sha1sum, rsa_ciphertext ) != 0 ) in mbedtls_rsa_self_test()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/ |
A D | ChangeLog | 4535 * Added a few demonstration programs: md5sum, sha1sum,
|
Completed in 39 milliseconds