]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP: Use a helper function to DER encode bootstrapping key
authorJouni Malinen <jouni@qca.qualcomm.com>
Sat, 18 Nov 2017 10:14:21 +0000 (12:14 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 18 Nov 2017 10:14:21 +0000 (12:14 +0200)
commitf2d27ef94c06848cc8aa6e3589003538934db49b
treea44a1f69ccf767c2cb3ef94183353a6cd0b59c7b
parentc1564149a612efca80123bd6a458a9fbc5886559
DPP: Use a helper function to DER encode bootstrapping key

This routine was previously implemented twice using i2d_EC_PUBKEY().
There is no need to duplicate that implementation and especially since
it looks like this implementation needs to be replaced for BoringSSL,
start by using a shared helper function for both locations so that there
is only a single place that uses i2d_EC_PUBKEY() to build the special
DPP bootstrapping key DER encoding.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/common/dpp.c