Text je v anglictine, lebo pisem na vela for. dikes. ...
Hi
I have a problem with the base interface for the EC algorithm's private and public key implementations
I want to verify my sign array with OpenSSL library (c++) , but I have a problem:
I am using in JavaCard (java): ALG_ECDSA_SHA and for generate keys LENGTH_EC_F2M_163 , ALG_EC_F2M
result for this:
Kód: Vybrať všetko
private key: 21B,
public key 43B
signDataLenght 48B r,s sequnce
hash diggest is 20B.
NID_sect163k1 for Elliptic Curve.
Kód: Vybrať všetko
#define SN_sect163k1 "sect163k1"
#define NID_sect163k1 721
#define OBJ_sect163k1 OBJ_secg_ellipticCurve,1L
Kód: Vybrať všetko
private key: 202B
public key: 43B
sign: 42B r,s sequnce
hash diggest: 20B
http://www.openssl.org/docs/crypto/ecdsa.html
question is: How can I approve my verify and signature in javacard, what i will have to use? Can I use OpenSSL lib ? If yes which algorithm I will have to use in OpenSSL when I use (ALG_EC_F2M, ALG_ECDSA_SHA) in java card ....
Thanks.....