#include <crypto/internal/hash.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/crypto.h>
#include <linux/types.h>
#include <crypto/sha.h>
#include <linux/percpu.h>
#include <asm/byteorder.h>
Go to the source code of this file.
|
#define | e0(x) (ror64(x,28) ^ ror64(x,34) ^ ror64(x,39)) |
|
#define | e1(x) (ror64(x,14) ^ ror64(x,18) ^ ror64(x,41)) |
|
#define | s0(x) (ror64(x, 1) ^ ror64(x, 8) ^ (x >> 7)) |
|
#define | s1(x) (ror64(x,19) ^ ror64(x,61) ^ (x >> 6)) |
|
#define e0 |
( |
|
x | ) |
(ror64(x,28) ^ ror64(x,34) ^ ror64(x,39)) |
#define e1 |
( |
|
x | ) |
(ror64(x,14) ^ ror64(x,18) ^ ror64(x,41)) |
#define s0 |
( |
|
x | ) |
(ror64(x, 1) ^ ror64(x, 8) ^ (x >> 7)) |
#define s1 |
( |
|
x | ) |
(ror64(x,19) ^ ror64(x,61) ^ (x >> 6)) |
MODULE_ALIAS |
( |
"sha384" |
| ) |
|
MODULE_ALIAS |
( |
"sha512" |
| ) |
|
MODULE_DESCRIPTION |
( |
"SHA-512 and SHA-384 Secure Hash Algorithms" |
| ) |
|
module_exit |
( |
sha512_generic_mod_fini |
| ) |
|
module_init |
( |
sha512_generic_mod_init |
| ) |
|