DPP: Auto-generate Initiator bootstrapping info if needed
Instead of using the all-zeros Initiator Bootstrapping Key Hash when no local bootstrapping key is configuref for the Initiator, automatically generate a temporary bootstrapping key for the same curve that the Responder uses. If the Responder indicates that it wants to do mutual authentication, provide the URI for the auto-generated bootstrapping key in the DPP-RESPONSE-PENDING event for upper layers to display the QR Code. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
b098542cd4
commit
73f21929a7
2 changed files with 47 additions and 10 deletions
|
@ -164,6 +164,7 @@ struct dpp_authentication {
|
|||
const struct dpp_curve_params *curve;
|
||||
struct dpp_bootstrap_info *peer_bi;
|
||||
struct dpp_bootstrap_info *own_bi;
|
||||
struct dpp_bootstrap_info *tmp_own_bi;
|
||||
u8 waiting_pubkey_hash[SHA256_MAC_LEN];
|
||||
int response_pending;
|
||||
enum dpp_status_error auth_resp_status;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue