Home
last modified time | relevance | path

Searched refs:smctx (Results 1 – 1 of 1) sorted by relevance

/third_party/openssl/crypto/sm2/
Dsm2_pmeth.c34 SM2_PKEY_CTX *smctx; in pkey_sm2_init() local
36 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() local
49 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() local
176 EC_GROUP_free(smctx->gen_group); in pkey_sm2_ctrl()
[all …]