Files
wolfssl/src
Daniel Pouzzner 625f39f665 src/internal.c:
* in AllocKey capture and propagate the return of the per-type wc_*_init_ex
  calls (ed25519, ed448, falcon, ML-DSA, ML-KEM, ...) instead of discarding it,
  so an init failure surfaces rather than leaving a partially-constructed key
  for later use.

* The `default:` arm of the type switch now sets `ret = BAD_FUNC_ARG` and
  breaks, instead of returning directly, so it reaches the common cleanup.

* The failure cleanup distinguishes the two states: if the key was initialized,
  FreeKey(); otherwise XFREE(*pKey) and NULL the caller's pointer -- previously
  an allocation that failed before init leaked.

* Two mis-copied #endif comments corrected: HAVE_CURVE25519 -> HAVE_ED25519 and
  HAVE_CURVE448 -> HAVE_ED448.
2026-08-05 13:53:45 -05:00
..
2026-08-05 13:53:45 -05:00
2026-05-28 16:19:44 +02:00
2026-07-30 10:50:52 +10:00
2026-07-22 17:08:26 +10:00
2026-02-25 15:19:13 +01:00
2026-07-08 09:33:47 +10:00