diff options
| author | Dave Watson <[email protected]> | 2018-12-10 19:56:45 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2018-12-23 11:52:41 +0800 |
| commit | f9b1d64678607e132051d232c7a2127f32947d64 (patch) | |
| tree | 89ea87ec7b0e97b67ecb999bf7f4f6adca0fe604 /lib/mpi/mpi-inline.h | |
| parent | 00c9fe37a7f27a306bcaa5737f0787fe139f8aba (diff) | |
crypto: aesni - Merge GCM_ENC_DEC
The GCM_ENC_DEC routines for AVX and AVX2 are identical, except they
call separate sub-macros. Pass the macros as arguments, and merge them.
This facilitates additional refactoring, by requiring changes in only
one place.
The GCM_ENC_DEC macro was moved above the CONFIG_AS_AVX* ifdefs,
since it will be used by both AVX and AVX2.
Signed-off-by: Dave Watson <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions