[PATCH 08/21] dpp: use crypto_ec_key_get_subject_public_key when possible

Jouni Malinen j at w1.fi
Tue Oct 26 10:00:03 PDT 2021


On Mon, Jun 28, 2021 at 06:25:25PM +0200, Cedric Izoard wrote:
> Unless I miss something I don't see any difference between the locally
> defined ASN.1 sequence DPP_BOOTSTRAPPING_KEY and SubjectPublicKeyInfo
> so use the latter one instead.

That special construction routine was added to work around an issue wuth
BoringSSL. See
https://w1.fi/cgit/hostap/commit/?id=746c1792ac285a67431cfa5e0c3b10ed3b806b13
for more details. Unless this version described here is known to work
with BoringSSL, I'm not keen on applying this patch since I don't want
to risk breaking DPP functionality on Android.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list