diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-04-06 17:19:58 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-04-07 13:45:09 (GMT) |
commit | 95d1c8951e5bd50bb89654a99a7012b1e75646bd (patch) | |
tree | 80f1e3f656c80f7ef27c0159418f69cce68ce731 /crypto/gcm.c | |
parent | 6edac6fde59e231bd297ebcbc3d1bd395006cd1d (diff) | |
download | linux-95d1c8951e5bd50bb89654a99a7012b1e75646bd.tar.xz |
HID: simplify implement() a bit
The 'size' variable is not really needed, and we can also shift constant
in the loop body when masking off existing bits.
Also we do not have to use 64 bit calculations if we take an extra
branch.
[jkosina@suse.cz: fix a small error in changelog]
Suggested-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'crypto/gcm.c')
0 files changed, 0 insertions, 0 deletions