Lines Matching refs:s
375 mbedtls_mpi r, s; in mbedtls_psa_ecdsa_sign_hash() local
388 mbedtls_mpi_init(&s); in mbedtls_psa_ecdsa_sign_hash()
400 &ecp->grp, &r, &s, in mbedtls_psa_ecdsa_sign_hash()
411 MBEDTLS_MPI_CHK(mbedtls_ecdsa_sign(&ecp->grp, &r, &s, &ecp->d, in mbedtls_psa_ecdsa_sign_hash()
420 MBEDTLS_MPI_CHK(mbedtls_mpi_write_binary(&s, in mbedtls_psa_ecdsa_sign_hash()
425 mbedtls_mpi_free(&s); in mbedtls_psa_ecdsa_sign_hash()
460 mbedtls_mpi r, s; in mbedtls_psa_ecdsa_verify_hash() local
475 mbedtls_mpi_init(&s); in mbedtls_psa_ecdsa_verify_hash()
489 status = mbedtls_to_psa_error(mbedtls_mpi_read_binary(&s, in mbedtls_psa_ecdsa_verify_hash()
503 &r, &s)); in mbedtls_psa_ecdsa_verify_hash()
506 mbedtls_mpi_free(&s); in mbedtls_psa_ecdsa_verify_hash()