Rename md_init_ctx() to md_setup()

This commit is contained in:
Manuel Pégourié-Gonnard 2015-03-25 16:29:51 +01:00
parent d4b9173269
commit abb674467b
16 changed files with 32 additions and 32 deletions

View file

@ -140,7 +140,7 @@ void md_free( md_context_t *ctx );
* parameter failure, \c POLARSSL_ERR_MD_ALLOC_FAILED if
* allocation of the digest-specific context failed.
*/
int md_init_ctx( md_context_t *ctx, const md_info_t *md_info, int hmac );
int md_setup( md_context_t *ctx, const md_info_t *md_info, int hmac );
/**
* \brief Returns the size of the message digest output.