tabudz 6c30ff6831
mt7615d: fix possible infinite loop in BN_mod_sqrt() (#13346)
The calculation in some cases does not finish for non-prime p.

This fixes CVE-2022-0778.

Based on patch by David Benjamin <davidben@google.com>.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>

Co-authored-by: Su Yindu <yindusu@smu.edu.sg>
2025-02-17 10:57:45 +08:00
..
2021-10-29 00:15:23 +08:00