diff --git a/trunk/CardSaveDataMover/Imp/source/main.cpp b/trunk/CardSaveDataMover/Imp/source/main.cpp index 8ca59a3..4d1f190 100644 --- a/trunk/CardSaveDataMover/Imp/source/main.cpp +++ b/trunk/CardSaveDataMover/Imp/source/main.cpp @@ -138,23 +138,6 @@ bool VeriRsa(u8* src,size_t sz,u8* sig,u8* pub) } -//署名作成 -bool SigRsa(u8* src,size_t sz,u8* sig,u8* priv) -{ - nn::crypto::RsaKey key; - //nn::crypto::Initialize(); - nn::ps::CTR::Initialize(); - nn::Result res = key.InitializePrivateKey(priv,KEY_LENGTH); - NN_LOG("iniprvkey desc= %d\n",res.GetDescription()); - if (res.IsSuccess()) - { - res = nn::ps::CTR::SignRsaSha256(src,sz,sig,key); - NN_LOG("sig desc= %d\n",res.GetDescription()); - } - //nn::crypto::Finalize(); - nn::ps::CTR::Finalize(); - return res.IsSuccess(); -} void ErrorStop(char *s) {