hsm_utils:AES 鍵名変更。各種インポート時の ident 名を変更。

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@224 ff987cc8-cf2f-4642-8568-d52cce064691
This commit is contained in:
n2460 2013-10-08 12:15:55 +00:00
parent b568d4f2e3
commit 12a56cbd3c
4 changed files with 7 additions and 6 deletions

View File

@ -17,8 +17,9 @@
#define MODULE_ID 1
#define DATA_LEN 256 // bytes
#define KEY_FILE "/opt/nfast/work/ctr_eFuse/hsm_utils/real_key/dev/eFuse_aesKey.bin"
const NFKM_KeyIdent keyident = { (char*)"simple", (char*)"efuse-aes-dev" };
#define KEY_FILE "./test_key/test-aes-key.bin"
const NFKM_KeyIdent keyident = { (char*)"simple", (char*)"test-aes-key" };
//#define CARD_PROTECT
//#define EXPORT_KEY

View File

@ -61,8 +61,8 @@ RQCard_FIPS fips;
M_KeyID ltid = 0; // the cardset loaded into the module
NFKM_CardSet *cardset = NULL;
NFKM_ModuleInfo *moduleinfo = NULL;
const NFKM_KeyIdent priv_keyident = { (char*)"simple", (char*)"nct2-priv-hoge" };
const NFKM_KeyIdent pub_keyident = { (char*)"simple", (char*)"nct2-pub-hoge" };
const NFKM_KeyIdent priv_keyident = { (char*)"simple", (char*)"test-ecdsa-privkey" };
const NFKM_KeyIdent pub_keyident = { (char*)"simple", (char*)"test-ecdsa-pubkey" };
unsigned char save_enc[DATA_LEN];

View File

@ -60,8 +60,8 @@ RQCard_FIPS fips;
M_KeyID ltid = 0; // the cardset loaded into the module
NFKM_CardSet *cardset = NULL;
NFKM_ModuleInfo *moduleinfo = NULL;
const NFKM_KeyIdent priv_keyident = { (char*)"simple", (char*)"rsa-import-privkey" };
const NFKM_KeyIdent pub_keyident = { (char*)"simple", (char*)"rsa-import-pubkey" };
const NFKM_KeyIdent priv_keyident = { (char*)"simple", (char*)"test-rsa-privkey2048" };
const NFKM_KeyIdent pub_keyident = { (char*)"simple", (char*)"test-rsa-pubkey2048" };
unsigned char save_enc[DATA_LEN];