Rename poly1305_setkey() to poly1305_starts()

For consistency with the existing CMAC and HMAC APIs
This commit is contained in:
Manuel Pégourié-Gonnard 2018-05-07 10:21:56 +02:00
parent b7e99006f9
commit 4edd51babe
3 changed files with 4 additions and 4 deletions

View file

@ -81,7 +81,7 @@ void mbedtls_poly1305_free( mbedtls_poly1305_context *ctx );
* or key are NULL.
* Otherwise, 0 is returned to indicate success.
*/
int mbedtls_poly1305_setkey( mbedtls_poly1305_context *ctx,
int mbedtls_poly1305_starts( mbedtls_poly1305_context *ctx,
const unsigned char key[32] );
/**