Searched refs:ECDSACTX (Results 1 – 1 of 1) sorted by relevance
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | lws-genec.c | 33 #define ECDSACTX(_c, _ins) _c->u.ctx_ecdsa->MBEDTLS_PRIVATE(_ins) macro 36 #define ECDSACTX(_c, _ins) _c->u.ctx_ecdsa->_ins macro 135 mbedtls_ecp_check_privkey(&ECDSACTX(ctx, grp), in lws_genec_keypair_import() 136 &ECDSACTX(ctx, d))) in lws_genec_keypair_import() 138 if (mbedtls_ecp_check_pubkey(&ECDSACTX(ctx, grp), in lws_genec_keypair_import() 139 &ECDSACTX(ctx, Q))) in lws_genec_keypair_import() 428 n = mbedtls_ecdsa_sign(&ECDSACTX(ctx, grp), &mpi_r, &mpi_s, in lws_genecdsa_hash_sign_jws() 429 &ECDSACTX(ctx, d), in, hlen, in lws_genecdsa_hash_sign_jws() 492 n = mbedtls_ecdsa_verify(&ECDSACTX(ctx, grp), in, hlen, in lws_genecdsa_hash_sig_verify_jws() 493 &ECDSACTX(ctx, Q), &mpi_r, &mpi_s); in lws_genecdsa_hash_sig_verify_jws()
|