5#include <linux/kernel.h>
7#include <linux/string.h>
8#include <linux/types.h>
12#define PASSWD_HASH_SIZE SHA256_DIGEST_SIZE
u8 access_code_hash[SHA256_DIGEST_SIZE]
int passwd_set(const char *new_password)
Set a new password by updating the stored hash.
int passwd_verify(const char *password)
Verify the provided password against the stored hash.