Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
rsa.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include "public_key.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   "RSA: "fmt
 
#define kenter(FMT,...)   pr_devel("==> %s("FMT")\n", __func__, ##__VA_ARGS__)
 
#define kleave(FMT,...)   pr_devel("<== %s()"FMT"\n", __func__, ##__VA_ARGS__)
 
#define _(X)   { RSA_digest_info_##X, sizeof(RSA_digest_info_##X) }
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("RSA Public Key Algorithm")
 
 EXPORT_SYMBOL_GPL (RSA_public_key_algorithm)
 

Variables

struct public_key_algorithm RSA_public_key_algorithm
 

Macro Definition Documentation

#define _ (   X)    { RSA_digest_info_##X, sizeof(RSA_digest_info_##X) }
#define kenter (   FMT,
  ... 
)    pr_devel("==> %s("FMT")\n", __func__, ##__VA_ARGS__)

Definition at line 21 of file rsa.c.

#define kleave (   FMT,
  ... 
)    pr_devel("<== %s()"FMT"\n", __func__, ##__VA_ARGS__)

Definition at line 23 of file rsa.c.

#define pr_fmt (   fmt)    "RSA: "fmt

Definition at line 12 of file rsa.c.

Function Documentation

EXPORT_SYMBOL_GPL ( RSA_public_key_algorithm  )
MODULE_DESCRIPTION ( "RSA Public Key Algorithm"  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

Definition at line 72 of file rsa.c.

struct public_key_algorithm RSA_public_key_algorithm
Initial value:
= {
.name = "RSA",
.n_pub_mpi = 2,
.n_sec_mpi = 3,
.n_sig_mpi = 1,
.verify_signature = RSA_verify_signature,
}

Definition at line 270 of file rsa.c.

size_t size

Definition at line 73 of file rsa.c.