Home
last modified time | relevance | path

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

/external/libwebsockets/lib/tls/mbedtls/
Dlws-genec.c118 if (mbedtls_ecdsa_from_keypair(ctx->u.ctx_ecdsa, &kp)) in lws_genec_keypair_import()
122 mbedtls_ecp_check_privkey(&ctx->u.ctx_ecdsa->grp, in lws_genec_keypair_import()
123 &ctx->u.ctx_ecdsa->d)) in lws_genec_keypair_import()
125 if (mbedtls_ecp_check_pubkey(&ctx->u.ctx_ecdsa->grp, in lws_genec_keypair_import()
126 &ctx->u.ctx_ecdsa->Q)) in lws_genec_keypair_import()
170 ctx->u.ctx_ecdsa = lws_zalloc(sizeof(*ctx->u.ctx_ecdsa), "genecdsa"); in lws_genecdsa_create()
171 if (!ctx->u.ctx_ecdsa) in lws_genecdsa_create()
174 mbedtls_ecdsa_init(ctx->u.ctx_ecdsa); in lws_genecdsa_create()
212 if (ctx->u.ctx_ecdsa) { in lws_genec_destroy()
213 mbedtls_ecdsa_free(ctx->u.ctx_ecdsa); in lws_genec_destroy()
[all …]
/external/libwebsockets/include/libwebsockets/
Dlws-genec.h36 mbedtls_ecdsa_context *ctx_ecdsa; member