Lines Matching refs:kid
4518 const char *kid, const struct dpp_curve_params *curve)
4543 if (kid) {
4544 wpabuf_put_str(buf, "\",\"kid\":\"");
4545 wpabuf_put_str(buf, kid);
4684 "{\"typ\":\"dppCon\",\"kid\":\"%s\",\"alg\":\"%s\"}",
4685 auth->conf->kid, curve->jws_alg);
4748 tailroom += 2 * curve->prime_len * 4 / 3 + os_strlen(auth->conf->kid);
4768 if (dpp_build_jwk(buf, "csign", auth->conf->csign, auth->conf->kid,
5106 struct wpabuf *kid = NULL;
5166 kid = json_get_member_base64url(root, "kid");
5167 if (!kid) {
5168 wpa_printf(MSG_DEBUG, "DPP: No kid string value found");
5171 wpa_hexdump_buf(MSG_DEBUG, "DPP: JWS Protected Header kid (decoded)",
5172 kid);
5176 return kid;
5560 struct wpabuf *kid = NULL;
5606 kid = dpp_parse_jws_prot_hdr(curve, prot_hdr, prot_hdr_len, &sign_md);
5607 if (!kid) {
5611 if (wpabuf_len(kid) != SHA256_MAC_LEN) {
5613 "DPP: Unexpected signedConnector JWS Protected Header kid length: %u (expected %u)",
5614 (unsigned int) wpabuf_len(kid), SHA256_MAC_LEN);
5651 if (dpp_check_pubkey_match(csign_pub, kid) < 0) {
5710 wpabuf_free(kid);
6157 os_free(conf->kid);
6226 /* kid = SHA256(ANSI X9.63 uncompressed C-sign-key) */
6231 "DPP: Failed to derive kid for C-sign-key");
6235 conf->kid = (char *) base64_url_encode(kid_hash, sizeof(kid_hash),
6237 if (!conf->kid)