D | ecjpake.c | 199 mbedtls_mpi *h) in ecjpake_hash() argument 232 MBEDTLS_MPI_CHK(mbedtls_mpi_read_binary(h, hash, in ecjpake_hash() 234 MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(h, h, &grp->N)); in ecjpake_hash() 254 mbedtls_mpi r, h; in ecjpake_zkp_read() local 260 mbedtls_mpi_init(&h); in ecjpake_zkp_read() 292 MBEDTLS_MPI_CHK(ecjpake_hash(md_type, grp, pf, G, &V, X, id, &h)); in ecjpake_zkp_read() 294 &VV, &h, X, &r, G)); in ecjpake_zkp_read() 305 mbedtls_mpi_free(&h); in ecjpake_zkp_read() 328 mbedtls_mpi h; /* later recycled to hold r */ in ecjpake_zkp_write() local 337 mbedtls_mpi_init(&h); in ecjpake_zkp_write() [all …]
|