diff options
| author | Alex Cope <alexcope@google.com> | 2017-01-10 16:47:49 -0800 |
|---|---|---|
| committer | Eric Biggers <ebiggers@google.com> | 2017-02-10 20:08:52 +0000 |
| commit | ce2ace45d931f46e79e8e3c2e857c083e67be554 (patch) | |
| tree | 401fa7494f7ee0f9f789747d212563efb25afb60 /crypto/testmgr.c | |
| parent | 3eaf06b785a603e0258af10ef1f98d8a511874a8 (diff) | |
ANDROID: crypto: gf128mul - Add ble multiplication functions
Adding ble multiplication to GF128mul, and fixing up comments.
The ble multiplication functions multiply GF(2^128) elements in the
ble format. This format is preferable because the bits within each
byte map to polynomial coefficients in the natural order (lowest order
bit = coefficient of lowest degree polynomial term), and the bytes are
stored in little endian order which matches the endianness of most
modern CPUs.
These new functions will be used by the HEH algorithm.
Signed-off-by: Alex Cope <alexcope@google.com>
Bug: 32975945
Signed-off-by: Eric Biggers <ebiggers@google.com>
Change-Id: I39a58e8ee83e6f9b2e6bd51738f816dbfa2f3a47
Diffstat (limited to 'crypto/testmgr.c')
0 files changed, 0 insertions, 0 deletions
