mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-27 02:24:16 +01:00
9edff740e1
Fix function mbedtls_ecp_mul_shortcuts() to skip multiplication when m is 0 and simply assignt 0 to R. Additionally fix ecjpake_zkp_read() to return MBEDTLS_ERR_ECP_INVALID_KEY when the above condintion is met. Fix #1792 Signed-off-by: TRodziewicz <rodziewicz@gmail.com>
5 lines
150 B
Plaintext
5 lines
150 B
Plaintext
Bugfix
|
|
* Fix a bug in EC J-PAKE that would cause it fail when the payload is all-
|
|
bits-zero.
|
|
Found by Gilles Peskine, reported in #1792.
|