Searched refs:smctx (Results 1 – 1 of 1) sorted by relevance
34 SM2_PKEY_CTX *smctx; in pkey_sm2_init() local36 if ((smctx = OPENSSL_zalloc(sizeof(*smctx))) == NULL) { in pkey_sm2_init()41 ctx->data = smctx; in pkey_sm2_init()47 SM2_PKEY_CTX *smctx = ctx->data; in pkey_sm2_cleanup() local49 if (smctx != NULL) { in pkey_sm2_cleanup()50 EC_GROUP_free(smctx->gen_group); in pkey_sm2_cleanup()51 OPENSSL_free(smctx->id); in pkey_sm2_cleanup()52 OPENSSL_free(smctx); in pkey_sm2_cleanup()165 SM2_PKEY_CTX *smctx = ctx->data; in pkey_sm2_ctrl() local176 EC_GROUP_free(smctx->gen_group); in pkey_sm2_ctrl()[all …]