mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
crypto: Add generic 32-bit carry-less multiply routines
Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
a2c67342ee
commit
9a65a570fa
2 changed files with 20 additions and 0 deletions
|
@ -54,4 +54,11 @@ uint64_t clmul_16x2_even(uint64_t, uint64_t);
|
|||
*/
|
||||
uint64_t clmul_16x2_odd(uint64_t, uint64_t);
|
||||
|
||||
/**
|
||||
* clmul_32:
|
||||
*
|
||||
* Perform a 32x32->64 carry-less multiply.
|
||||
*/
|
||||
uint64_t clmul_32(uint32_t, uint32_t);
|
||||
|
||||
#endif /* CRYPTO_CLMUL_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue