Searched refs:mbedtls_md_finish (Results 1 – 9 of 9) sorted by relevance
/third_party/mbedtls/tests/suites/ |
D | test_suite_md.function | 66 TEST_ASSERT( mbedtls_md_finish( NULL, buf ) == MBEDTLS_ERR_MD_BAD_INPUT_DATA ); 67 TEST_ASSERT( mbedtls_md_finish( &ctx, buf ) == MBEDTLS_ERR_MD_BAD_INPUT_DATA ); 212 TEST_ASSERT ( 0 == mbedtls_md_finish( &ctx, output ) ); 221 TEST_ASSERT ( 0 == mbedtls_md_finish( &ctx_copy, output ) ); 261 TEST_ASSERT ( 0 == mbedtls_md_finish( &ctx, output ) ); 270 TEST_ASSERT ( 0 == mbedtls_md_finish( &ctx_copy, output ) );
|
D | test_suite_entropy.function | 489 TEST_ASSERT( mbedtls_md_finish( &accumulator, buf ) == 0 ); 508 TEST_ASSERT( mbedtls_md_finish( &accumulator, buf ) == 0 );
|
/third_party/mbedtls/library/ |
D | md.c | 503 int mbedtls_md_finish( mbedtls_md_context_t *ctx, unsigned char *output ) in mbedtls_md_finish() function 614 ret = mbedtls_md_finish( &ctx, output ); in mbedtls_md_file() 641 if( ( ret = mbedtls_md_finish( ctx, sum ) ) != 0 ) in mbedtls_md_hmac_starts() 691 if( ( ret = mbedtls_md_finish( ctx, tmp ) ) != 0 ) in mbedtls_md_hmac_finish() 701 return( mbedtls_md_finish( ctx, output ) ); in mbedtls_md_hmac_finish()
|
D | constant_time.c | 496 MD_CHK( mbedtls_md_finish( &aux, aux_out ) ); in mbedtls_ct_hmac() 506 MD_CHK( mbedtls_md_finish( ctx, aux_out ) ); in mbedtls_ct_hmac() 512 MD_CHK( mbedtls_md_finish( ctx, output ) ); in mbedtls_ct_hmac()
|
D | pkcs12.c | 295 if( ( ret = mbedtls_md_finish( &md_ctx, hash_output ) ) != 0 ) in mbedtls_pkcs12_derivation()
|
D | rsa.c | 1131 if( ( ret = mbedtls_md_finish( md_ctx, mask ) ) != 0 ) in mgf_mask() 1643 if( ( ret = mbedtls_md_finish( &md_ctx, p ) ) != 0 ) in rsa_rsassa_pss_sign() 2072 ret = mbedtls_md_finish( &md_ctx, result ); in mbedtls_rsa_rsassa_pss_verify_ext()
|
D | ssl_tls.c | 7071 if( ( ret = mbedtls_md_finish( &ctx, hash ) ) != 0 ) in mbedtls_ssl_get_key_exchange_md_tls1_2()
|
/third_party/mbedtls/programs/aes/ |
D | crypt_and_hash.c | 296 if( mbedtls_md_finish( &md_ctx, digest ) != 0 ) in main() 340 if( mbedtls_md_finish( &md_ctx, digest ) != 0 ) in main() 515 if( mbedtls_md_finish( &md_ctx, digest ) != 0 ) in main()
|
/third_party/mbedtls/include/mbedtls/ |
D | md.h | 302 int mbedtls_md_finish( mbedtls_md_context_t *ctx, unsigned char *output );
|