Jouni Malinen ac882374a5 SAE: Fix error path handling for SSWU
crypto_bignum_init_set() might fail in case of memory allocation
failures. These two cases within sswu() did not handle that properly,
i.e., a memory allocation failure could have resulted in dereferencing a
NULL pointer. Check the return value before proceeding to fix this.

Fixes: aeb022f8e51e ("SAE: Implement hash-to-element PT/PWE crypto routines")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2020-10-01 09:35:58 +03:00
..
2020-09-22 23:31:20 +03:00
2020-04-24 17:06:50 +03:00
2020-04-24 17:06:50 +03:00
2020-06-15 20:19:19 +03:00
2020-06-09 12:48:13 +03:00