Searched refs:pbytes (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.10/crypto/ |
| D | sm2.c | 222 MPI m, unsigned int pbytes) in sm2_z_digest_update() argument 232 if (inlen < pbytes) { in sm2_z_digest_update() 234 crypto_sm3_update(desc, zero, pbytes - inlen); in sm2_z_digest_update() 236 } else if (inlen > pbytes) { in sm2_z_digest_update() 238 crypto_sm3_update(desc, in + inlen - pbytes, pbytes); in sm2_z_digest_update() 248 MPI_POINT point, struct mpi_ec_ctx *ec, unsigned int pbytes) in sm2_z_digest_update_point() argument 257 !sm2_z_digest_update(desc, x, pbytes) && in sm2_z_digest_update_point() 258 !sm2_z_digest_update(desc, y, pbytes)) in sm2_z_digest_update_point() 274 unsigned int pbytes; in sm2_compute_z_digest() local 283 pbytes = MPI_NBYTES(ec->p); in sm2_compute_z_digest() [all …]
|