Rename poly1305_setkey() to poly1305_starts()
For consistency with the existing CMAC and HMAC APIs
This commit is contained in:
parent
b7e99006f9
commit
4edd51babe
3 changed files with 4 additions and 4 deletions
|
@ -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] );
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue