刘群

Results 17 comments of 刘群

rc: 655370 == 0xA000A TSS2_TCTI_RC_IO_ERROR 0xA000A was defined in https://github.com/tpm2-software/tpm2-tss/blob/master/include/tss2/tss2_common.h - `tpm2_rc_decode 0xA000A` ``` error layer hex: 0xa0000 identifier: TSS2_TCTI_ERROR_LEVEL description: Error from the TCTI base error code identifier: TSS2_BASE_RC_IO_ERROR...

It seems to be a bug related to p11tool or libgnutls.so. Code of `gnutls_pkcs11_obj_list_import_url4()` is maintained by [Nikos Mavrogiannopoulos](https://gitlab.com/nmav) on gitlab: https://gitlab.com/gnutls/gnutls/blob/master/lib/pkcs11.c

PATCH CODE ``` void session_close(struct session* session) { TSS2_TCTI_CONTEXT *tcti_ctx; object_free(session->objects); tcti_ctx = NULL; if (Tss2_Sys_GetTctiContext(session->context, &tcti_ctx) != TSS2_RC_SUCCESS) { tcti_ctx = NULL; } Tss2_Sys_Finalize(session->context); free(session->context); session->context = NULL; if...

github已经被微软收购了,很快会支持在线浏览docx文档的 😂

参考[杨洋](https://github.com/InfoHunter)整理的GB/T 33560-2017国密算法OID列表: - https://github.com/InfoHunter/misc/blob/master/GBT33560-2017-A1.md This file contains the English translation of appendix 1 of GB/T 33560-2017 - the 'OIDs' defined for Chinese commercial crypto algorithms. |OID|Definition| |---|----| |Generic OIDs|...| |1.2|ISO...

@Whitlynn 建议参考 OpenSSL 1.1.1预览版pre5 中SM2算法 NID 的具体取值