Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genec.c400 mbedtls_mpi mpi_r, mpi_s; in lws_genecdsa_hash_sign_jws() local
425 mbedtls_mpi_init(&mpi_r); in lws_genecdsa_hash_sign_jws()
428 n = mbedtls_ecdsa_sign(&ECDSACTX(ctx, grp), &mpi_r, &mpi_s, in lws_genecdsa_hash_sign_jws()
438 if (mbedtls_mpi_write_binary(&mpi_r, sig, (unsigned int)keybytes)) in lws_genecdsa_hash_sign_jws()
440 mbedtls_mpi_free(&mpi_r); in lws_genecdsa_hash_sign_jws()
448 mbedtls_mpi_free(&mpi_r); in lws_genecdsa_hash_sign_jws()
462 mbedtls_mpi mpi_r, mpi_s; in lws_genecdsa_hash_sig_verify_jws() local
484 mbedtls_mpi_init(&mpi_r); in lws_genecdsa_hash_sig_verify_jws()
487 if (mbedtls_mpi_read_binary(&mpi_r, sig, (unsigned int)keybytes)) in lws_genecdsa_hash_sig_verify_jws()
493 &ECDSACTX(ctx, Q), &mpi_r, &mpi_s); in lws_genecdsa_hash_sig_verify_jws()
[all …]