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>
4 lines
150 B
Text
4 lines
150 B
Text
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.
|