mirror of
https://github.com/rvtr/ctr_eFuse.git
synced 2025-11-02 00:11:04 -04:00
create_rsa_pss_cert を削除。 sign_verify_rsa_pkcs1_sha256 を追加。 git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@229 ff987cc8-cf2f-4642-8568-d52cce064691
46 lines
937 B
C
46 lines
937 B
C
/*
|
|
* my_hsm_setup.h
|
|
*/
|
|
|
|
#ifndef MY_HSM_SETUP_H
|
|
#define MY_HSM_SETUP_H
|
|
|
|
#include "nfastapp.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// HSM の初期化, M_Status を返す
|
|
int my_hsm_initialize(
|
|
NFast_AppHandle *pHandle,
|
|
NFastApp_Connection *pConnection,
|
|
NFKM_WorldInfo **ppWorld,
|
|
RQCard *pCard,
|
|
RQCard_FIPS *pFips,
|
|
NFKM_ModuleInfo **ppModuleinfo );
|
|
|
|
int my_hsm_initialize_ex(
|
|
NFast_AppHandle *pHandle,
|
|
NFastApp_Connection *pConnection,
|
|
NFKM_WorldInfo **ppWorld,
|
|
RQCard *pCard,
|
|
RQCard_FIPS *pFips,
|
|
NFKM_ModuleInfo **ppModuleinfo,
|
|
NFKM_FIPS140AuthHandle fipsHandle,
|
|
M_SlotID *pSlotId );
|
|
|
|
// HSM の終了処理, M_Status を返す
|
|
int my_hsm_finalize(
|
|
NFast_AppHandle *pHandle,
|
|
NFastApp_Connection *pConnection,
|
|
NFKM_WorldInfo **ppWorld,
|
|
RQCard *pCard,
|
|
RQCard_FIPS *pFips );
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // MY_HSM_SETUP_H
|