diff options
author | Arvind Sankar <[email protected]> | 2020-06-16 18:56:47 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-06-18 12:21:38 -0700 |
commit | eebba5d8f486fd069e9fccd9e653894a7d635cdd (patch) | |
tree | 69f2d6c2fa950784cbc6fec2724f4967aa376b90 /module/icp/algs/skein/skein.c | |
parent | 0ce2de637bf73e2c7e483e644aa09797439734ef (diff) |
Make Skein_{Get,Put}64_LSB_First inline functions
Turn the generic versions into inline functions and avoid
SKEIN_PORT_CODE trickery.
Also drop the PLATFORM_MUST_ALIGN check for using the fast bcopy
variants. bcopy doesn't assume alignment, and the userspace version is
currently different because the _ALIGNMENT_REQUIRED macro is only
defined by the kernelspace headers.
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Arvind Sankar <[email protected]>
Closes #10470
Diffstat (limited to 'module/icp/algs/skein/skein.c')
-rw-r--r-- | module/icp/algs/skein/skein.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/module/icp/algs/skein/skein.c b/module/icp/algs/skein/skein.c index 39a0bff35..83fe84260 100644 --- a/module/icp/algs/skein/skein.c +++ b/module/icp/algs/skein/skein.c @@ -5,8 +5,6 @@ */ /* Copyright 2013 Doug Whiting. This code is released to the public domain. */ -#define SKEIN_PORT_CODE /* instantiate any code in skein_port.h */ - #include <sys/sysmacros.h> #include <sys/types.h> #include <sys/skein.h> /* get the Skein API definitions */ |