mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 01:05:40 +01:00
aes: xts: Fix description of gf128mul
THe function `mbedtls_gf128mul_x_ble()` doesn't multiply by x, x^4, and x^8. Update the function description to properly describe what the function does.
This commit is contained in:
parent
f167deb6e0
commit
5f0b06aeda
@ -1105,10 +1105,10 @@ typedef unsigned char mbedtls_be128[16];
|
||||
/*
|
||||
* GF(2^128) multiplication function
|
||||
*
|
||||
* This function multiplies a field element by x, by x^4 and by x^8 in the
|
||||
* polynomial field representation. It uses 64-bit word operations to gain
|
||||
* speed but compensates for machine endianess and hence works correctly on
|
||||
* both big and little endian machines.
|
||||
* This function multiplies a field element by x in the polynomial field
|
||||
* representation. It uses 64-bit word operations to gain speed but compensates
|
||||
* for machine endianess and hence works correctly on both big and little
|
||||
* endian machines.
|
||||
*/
|
||||
static void mbedtls_gf128mul_x_ble( unsigned char r[16],
|
||||
const unsigned char x[16])
|
||||
|
Loading…
Reference in New Issue
Block a user