1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

aesni_gcm_mult() now returns void

This commit is contained in:
Manuel Pégourié-Gonnard
2013-12-30 13:54:23 +01:00
parent bfa3c9a85f
commit d4588cfb6a
3 changed files with 7 additions and 9 deletions

View File

@ -107,9 +107,9 @@ int aesni_crypt_ecb( aes_context *ctx,
* GCM multiplication: c = a times b in GF(2^128)
* Based on [CLMUL-WP] algorithms 1 (with equation 27) and 5.
*/
int aesni_gcm_mult( unsigned char c[16],
const unsigned char a[16],
const unsigned char b[16] )
void aesni_gcm_mult( unsigned char c[16],
const unsigned char a[16],
const unsigned char b[16] )
{
unsigned char aa[16], bb[16], cc[16];
size_t i;