cryptlib
3.4.1
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
device
hardware.h
Go to the documentation of this file.
1
/****************************************************************************
2
* *
3
* cryptlib Generic Crypto HW Header *
4
* Copyright Peter Gutmann 1998-2009 *
5
* *
6
****************************************************************************/
7
8
/* The access functions that must be provided by each HAL module */
9
10
int
hwGetCapabilities
(
const
CAPABILITY_INFO
**capabilityInfo,
11
int
*noCapabilities );
12
int
hwGetRandom
(
void
*
buffer
,
const
int
length
);
13
int
hwLookupItem
(
const
void
*
keyID
,
const
int
keyIDlength
,
int
*keyHandle );
14
int
hwDeleteItem
(
const
int
keyHandle );
15
int
hwInitialise
(
void
);
16
17
/* Helper functions in hardware.c that may be used by HAL modules */
18
19
int
setPersonalityMapping
(
CONTEXT_INFO
*
contextInfoPtr
,
const
int
keyHandle,
20
void
*storageID,
const
int
storageIDlength );
21
int
generatePKCcomponents
(
CONTEXT_INFO
*
contextInfoPtr
,
void
*
keyInfo
,
22
const
int
keySizeBits );
23
int
setPKCinfo
(
CONTEXT_INFO
*
contextInfoPtr
,
24
const
CRYPT_ALGO_TYPE
cryptAlgo
,
const
void
*
keyInfo
);
25
int
setConvInfo
(
const
CRYPT_CONTEXT
iCryptContext
,
const
int
keySize
);
26
int
cleanupHardwareContext
(
const
CONTEXT_INFO
*
contextInfoPtr
);
Generated on Thu Jan 10 2013 10:00:46 for cryptlib by
1.8.2