Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
signature.c File Reference
#include <keys/asymmetric-subtype.h>
#include <linux/module.h>
#include <linux/err.h>
#include <crypto/public_key.h>
#include "asymmetric_keys.h"

Go to the source code of this file.

Functions

int verify_signature (const struct key *key, const struct public_key_signature *sig)
 
 EXPORT_SYMBOL_GPL (verify_signature)
 

Function Documentation

EXPORT_SYMBOL_GPL ( verify_signature  )
int verify_signature ( const struct key key,
const struct public_key_signature sig 
)

verify_signature - Initiate the use of an asymmetric key to verify a signature : The asymmetric key to verify against : The signature to check

Returns 0 if successful or else an error.

Definition at line 27 of file signature.c.