hi,
i am a programmer working on RSA signature. Now I met a question,Anybody can
help me? :-)
I want to get RSA private key's BN respectively. i use i2d_RSAPrivateKey()
to get its char buf. it is ASN1 bit string which begins with 0x30,and a length.
why some BN data begin with 0x00,and size is 1 bigger than RSA key length or
half of it? I want these BN (like p,q,..)as a length of (length/2), Can first
0x00 be ignored?
for example, i want to store these p,q,.. to smart card,it required p q have
half of RSA key Length, what can i do? is there some better solutions?
thanks in advance.
leo
_____________________________________________
������--�Ƚ��й��˵����ϼ� http://www.263.net
������� �ʼ���־ ǩ���ʼ� �ʼ����� �ʼ�����
�������� ����վ�� ������Ϸ �������� ���ϹҺ�
�������� ����ɱ�� �����г� �������� ��������
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]