![]() |
EpiRootkit
By STDBOOL
|
#include <linux/err.h>#include <linux/kernel.h>#include <linux/slab.h>#include <linux/string.h>#include <linux/types.h>#include "crypto.h"Go to the source code of this file.
Macros | |
| #define | PASSWD_HASH_SIZE SHA256_DIGEST_SIZE |
Functions | |
| int | passwd_load (void) |
| int | passwd_verify (const char *password) |
| Verify the provided password against the stored hash. | |
| int | passwd_set (const char *new_password) |
| Set a new password by updating the stored hash. | |
Variables | |
| u8 | access_code_hash [SHA256_DIGEST_SIZE] |
| #define PASSWD_HASH_SIZE SHA256_DIGEST_SIZE |
| int passwd_load | ( | void | ) |
Definition at line 22 of file passwd.c.
| int passwd_set | ( | const char * | new_password | ) |
Set a new password by updating the stored hash.
| new_password | The new password to set. |
Definition at line 73 of file passwd.c.
| int passwd_verify | ( | const char * | password | ) |
Verify the provided password against the stored hash.
| password | The password to verify. |
Definition at line 57 of file passwd.c.
|
extern |