Home
last modified time | relevance | path

Searched refs:mbedtls_md_finish (Results 1 – 9 of 9) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_md.function66 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 ) );
Dtest_suite_entropy.function489 TEST_ASSERT( mbedtls_md_finish( &accumulator, buf ) == 0 );
508 TEST_ASSERT( mbedtls_md_finish( &accumulator, buf ) == 0 );
/third_party/mbedtls/library/
Dmd.c503 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()
Dconstant_time.c496 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()
Dpkcs12.c295 if( ( ret = mbedtls_md_finish( &md_ctx, hash_output ) ) != 0 ) in mbedtls_pkcs12_derivation()
Drsa.c1131 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()
Dssl_tls.c7071 if( ( ret = mbedtls_md_finish( &ctx, hash ) ) != 0 ) in mbedtls_ssl_get_key_exchange_md_tls1_2()
/third_party/mbedtls/programs/aes/
Dcrypt_and_hash.c296 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/
Dmd.h302 int mbedtls_md_finish( mbedtls_md_context_t *ctx, unsigned char *output );