Hi Niels,

When we look into the realization of sm4 codes, we found that there is no check 
of input ctx and key in sm4_set_encrypt_key and sm4_set_decrypt_key, also the 
problem exist in sm4_crypt. So we wonder if there is necessary to check if the 
input pointer is NULL. We would like to hear your reply.

By the way, we are realizing sm2 in nettle, and as you known it's a y^2 = x^3 + 
ax + b curve ,we wonder, if you are planning to provide more ecc curves 
support, is there any plan to add a parameter 'a' in struct ecc_curve ?4

Best regards

_______________________________________________
nettle-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to