Nicolai Stange 81771ff241 lib/mpi: export mpi_rshift
A subsequent patch will make the crypto/dh's dh_is_pubkey_valid() to
calculate a safe-prime groups Q parameter from P: Q = (P - 1) / 2. For
implementing this, mpi_rshift() will be needed. Export it so that it's
accessible from crypto/dh.

Signed-off-by: Nicolai Stange <nstange@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2022-03-03 10:47:52 +12:00
..
2020-10-30 17:34:45 +11:00
2021-07-01 11:06:05 -07:00
2020-09-25 17:48:53 +10:00
2022-03-03 10:47:52 +12:00
2020-09-25 17:48:53 +10:00
2020-09-25 17:48:53 +10:00
2020-07-31 18:08:59 +10:00
2021-07-01 11:06:05 -07:00
2020-09-25 17:48:53 +10:00
2021-08-12 19:17:00 +08:00