hostap/src
Jouni Malinen ee76493bbd ASN.1: Reject invalid definite long form length values in DER encoding
The definite long form for the length is allowed only for cases where
the definite short form cannot be used, i.e., if the length is 128 or
greater. This was not previously enforced and as such, multiple
different encoding options for the same length could have been accepted.

Perform more strict checks to reject invalid cases for the definite long
form for the length. This is needed for a compliant implementation and
this is especially important for the case of verifying DER encoded
signatures to prevent potential forging attacks.

Signed-off-by: Jouni Malinen <j@w1.fi>
2021-03-14 11:37:58 +02:00
..
ap Fix hostapd PMKSA_ADD with Authenticator disabled 2021-03-07 12:33:30 +02:00
common Add support to return bandwidth for channel 2 of the 6 GHz band 2021-03-12 00:12:16 +02:00
crypto EAP-TTLS/PEAP peer: Fix failure when using session tickets under TLS 1.3 2021-02-20 17:02:35 +02:00
drivers nl80211: Restore station mode on deinit only if station when started 2021-03-12 11:00:15 +02:00
eap_common build: Make more library things common 2020-10-12 20:20:35 +03:00
eap_peer Fix dynamic EAP library building 2021-02-27 23:42:21 +02:00
eap_server EAP server: Extend EAP-TLS Commitment Message use to PEAP and EAP-TTLS 2021-02-20 17:53:52 +02:00
eapol_auth build: Make more library things common 2020-10-12 20:20:35 +03:00
eapol_supp build: Make more library things common 2020-10-12 20:20:35 +03:00
fst FST: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
l2_packet build: Make more library things common 2020-10-12 20:20:35 +03:00
p2p P2P: Clear pending_listen_freq when stopping listen 2021-03-12 10:38:14 +02:00
pae MACsec: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
radius RADIUS client: Support SO_BINDTODEVICE 2021-02-27 10:51:15 +02:00
rsn_supp OCV: Fix OCV-FAILURE event address for FT Reassociation Response frame 2021-02-28 23:50:50 +02:00
tls ASN.1: Reject invalid definite long form length values in DER encoding 2021-03-14 11:37:58 +02:00
utils wpabuf: Add helper functions for writing 64-bit integers 2021-03-07 21:31:41 +02:00
wps WPS: Reconfigure credentials on hostapd config reload 2021-02-06 17:15:31 +02:00
build.rules build: Rebuild libs all the time 2020-10-12 20:18:02 +03:00
lib.rules build: lib.rules: Add common-clean 2020-10-16 12:51:12 +03:00
Makefile build: Add a common-clean target 2020-10-10 12:48:41 +03:00
objs.mk build: Fix dependency file inclusion 2020-10-12 11:05:16 +03:00