mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-22 13:31:02 +00:00
Fix return type of internal function
Fixes incomplete change in f4f01b6b7a
This commit is contained in:
parent
be78b07015
commit
26c3b0a4b1
|
@ -74,7 +74,7 @@ static int chachapoly_pad_aad( mbedtls_chachapoly_context *ctx )
|
||||||
*
|
*
|
||||||
* \param ctx The ChaCha20-Poly1305 context.
|
* \param ctx The ChaCha20-Poly1305 context.
|
||||||
*/
|
*/
|
||||||
static void chachapoly_pad_ciphertext( mbedtls_chachapoly_context *ctx )
|
static int chachapoly_pad_ciphertext( mbedtls_chachapoly_context *ctx )
|
||||||
{
|
{
|
||||||
uint32_t partial_block_len = (uint32_t) ( ctx->ciphertext_len % 16U );
|
uint32_t partial_block_len = (uint32_t) ( ctx->ciphertext_len % 16U );
|
||||||
unsigned char zeroes[15];
|
unsigned char zeroes[15];
|
||||||
|
|
Loading…
Reference in a new issue