#include <crypto/internal/hash.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/types.h>
#include <crypto/sha.h>
#include <asm/byteorder.h>
Go to the source code of this file.
|
#define | e0(x) (ror32(x, 2) ^ ror32(x,13) ^ ror32(x,22)) |
|
#define | e1(x) (ror32(x, 6) ^ ror32(x,11) ^ ror32(x,25)) |
|
#define | s0(x) (ror32(x, 7) ^ ror32(x,18) ^ (x >> 3)) |
|
#define | s1(x) (ror32(x,17) ^ ror32(x,19) ^ (x >> 10)) |
|
#define e0 |
( |
|
x | ) |
(ror32(x, 2) ^ ror32(x,13) ^ ror32(x,22)) |
#define e1 |
( |
|
x | ) |
(ror32(x, 6) ^ ror32(x,11) ^ ror32(x,25)) |
#define s0 |
( |
|
x | ) |
(ror32(x, 7) ^ ror32(x,18) ^ (x >> 3)) |
#define s1 |
( |
|
x | ) |
(ror32(x,17) ^ ror32(x,19) ^ (x >> 10)) |
MODULE_ALIAS |
( |
"sha224" |
| ) |
|
MODULE_ALIAS |
( |
"sha256" |
| ) |
|
MODULE_DESCRIPTION |
( |
"SHA-224 and SHA-256 Secure Hash Algorithm" |
| ) |
|
module_exit |
( |
sha256_generic_mod_fini |
| ) |
|
module_init |
( |
sha256_generic_mod_init |
| ) |
|