Home
last modified time | relevance | path

Searched refs:mpi_s (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
426 mbedtls_mpi_init(&mpi_s); in lws_genecdsa_hash_sign_jws()
428 n = mbedtls_ecdsa_sign(&ECDSACTX(ctx, grp), &mpi_r, &mpi_s, in lws_genecdsa_hash_sign_jws()
441 if (mbedtls_mpi_write_binary(&mpi_s, sig + keybytes, (unsigned int)keybytes)) in lws_genecdsa_hash_sign_jws()
443 mbedtls_mpi_free(&mpi_s); in lws_genecdsa_hash_sign_jws()
450 mbedtls_mpi_free(&mpi_s); in lws_genecdsa_hash_sign_jws()
462 mbedtls_mpi mpi_r, mpi_s; in lws_genecdsa_hash_sig_verify_jws() local
485 mbedtls_mpi_init(&mpi_s); in lws_genecdsa_hash_sig_verify_jws()
489 if (mbedtls_mpi_read_binary(&mpi_s, sig + keybytes, (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 …]