openssl是否支持RSASSA-PPS和RSA EMSA-PSS编码?
|
我需要使用SHA256 HASH函数和具有RSA EMSA-PSS编码的RSASSA-PSS创建数据字符串的签名。openssl是否支持此功能。
我正在使用API创建签名
int RSA_sign_ASN1_OCTET_STRING(int type,const unsigned char *m,
unsigned int m_length,unsigned char *sigret,
unsigned int*siglen, RSA *rsa);
和
int RSA_verify_ASN1_OCTET_STRING(int type,const unsigned char *m,
unsigned int _length,unsigned char *sigbuf,
unsigned int siglen, RSA *rsa);
我不确定它使用哪种填充技术和编码方法作为默认方法。.谁能说出它使用的默认方法是什么,它将支持RSASSA-PSS和RSA EMSA-pss吗?
没有找到相关结果
已邀请:
1 个回复
舶啥戚