#include <linux/err.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/key.h>
#include <linux/crypto.h>
#include <crypto/hash.h>
#include <crypto/sha.h>
#include <keys/user-type.h>
#include <linux/mpi.h>
#include <linux/digsig.h>
Go to the source code of this file.
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
digsig_verify() - digital signature verification with public key : keyring to search key in : digital signature : length of the signature : data : length of the data
- Returns
- : 0 on success, -EINVAL otherwise
Verifies data integrity against digital signature. Currently only RSA is supported. Normally hash of the content is used as a data for this function.
Definition at line 199 of file digsig.c.
module_exit |
( |
digsig_cleanup |
| ) |
|
module_init |
( |
digsig_init |
| ) |
|