bylively

Results issues of bylively

您好 ,我利用SM2_do_encrypt加密,i2o_SM2CiphertextValue得到加密数据,发送给服务端解密,服务端解密错误。解密错误的原因可能是什么那?搞不懂。。。(服务端不是利用gmssl里边的接口,是他们自己封装的。不知道他们的源码,也能得不到他们的支持,现在很困惑),希望能给我一些提示 谢谢

关老师您好 请问一下SM2CiphertextValue *o2i_SM2CiphertextValue(const EC_GROUP *group, const EVP_MD *md, SM2CiphertextValue **cv, const unsigned char **pin, long len);这个函数的len表示什么含义?我该如何传参。谢谢指导

no-issue-activity

int sm2_decrypt(EVP_PKEY *PriKey, const unsigned char *msg, unsigned int inlen, unsigned char *out, unsigned int *outlen) { int ret = 0; int i; //EC_KEY *pub_key = NULL; EC_KEY *pri_key =...

no-issue-activity

关老师您好,请教您一个问题:一分钟调用一次SM2_do_encrypt函数,会出现执行函数 ,没有返回。造成程序卡死在SM2_do_encrypt函数里边。 请问是什么原因?

no-issue-activity

gmssl x509 -req -days 3650 -sm3 -in user.req -signkey user.key -out user.crt 每次执行这条命令的时候都会报错 140107189659456:error:0D0DC0C6:asn1 encoding routines:ASN1_item_sign_ctx:digest and key type not supported:crypto/asn1/a_sign.c:183: 请问什么原因引起的错误

no-issue-activity