Searched refs:ctx_ecdsa (Results 1 – 2 of 2) sorted by relevance
33 #define ECDSACTX(_c, _ins) _c->u.ctx_ecdsa->MBEDTLS_PRIVATE(_ins)36 #define ECDSACTX(_c, _ins) _c->u.ctx_ecdsa->_ins131 if (mbedtls_ecdsa_from_keypair(ctx->u.ctx_ecdsa, &kp)) in lws_genec_keypair_import()183 ctx->u.ctx_ecdsa = lws_zalloc(sizeof(*ctx->u.ctx_ecdsa), "genecdsa"); in lws_genecdsa_create()184 if (!ctx->u.ctx_ecdsa) in lws_genecdsa_create()187 mbedtls_ecdsa_init(ctx->u.ctx_ecdsa); in lws_genecdsa_create()225 if (ctx->u.ctx_ecdsa) { in lws_genec_destroy()226 mbedtls_ecdsa_free(ctx->u.ctx_ecdsa); in lws_genec_destroy()227 lws_free(ctx->u.ctx_ecdsa); in lws_genec_destroy()228 ctx->u.ctx_ecdsa = NULL; in lws_genec_destroy()[all …]
36 mbedtls_ecdsa_context *ctx_ecdsa; member