Lines Matching refs:signature_len
4502 size_t signature_len; in dpp_build_conf_obj_dpp() local
4620 if (EVP_DigestSignFinal(md_ctx, NULL, &signature_len) != 1) { in dpp_build_conf_obj_dpp()
4625 signature = os_malloc(signature_len); in dpp_build_conf_obj_dpp()
4628 if (EVP_DigestSignFinal(md_ctx, signature, &signature_len) != 1) { in dpp_build_conf_obj_dpp()
4634 signature, signature_len); in dpp_build_conf_obj_dpp()
4637 sig = d2i_ECDSA_SIG(NULL, &p, signature_len); in dpp_build_conf_obj_dpp()
4645 signature_len = 2 * curve->prime_len; in dpp_build_conf_obj_dpp()
4647 signature, signature_len); in dpp_build_conf_obj_dpp()
4648 signed3 = (char *) base64_url_encode(signature, signature_len, in dpp_build_conf_obj_dpp()
5468 size_t prot_hdr_len = 0, signature_len = 0; in dpp_process_signed_connector() local
5547 os_strlen(pos), &signature_len); in dpp_process_signed_connector()
5555 signature, signature_len); in dpp_process_signed_connector()
5562 if (signature_len & 0x01) { in dpp_process_signed_connector()
5565 (int) signature_len); in dpp_process_signed_connector()
5572 r = BN_bin2bn(signature, signature_len / 2, NULL); in dpp_process_signed_connector()
5573 s = BN_bin2bn(signature + signature_len / 2, signature_len / 2, NULL); in dpp_process_signed_connector()
8192 size_t signature_len = 0, signed3_len; in dpp_corrupt_connector_signature() local
8211 os_strlen(pos), &signature_len); in dpp_corrupt_connector_signature()
8212 if (!signature || signature_len == 0) in dpp_corrupt_connector_signature()
8215 signature, signature_len); in dpp_corrupt_connector_signature()
8216 signature[signature_len - 1] ^= 0x01; in dpp_corrupt_connector_signature()
8218 signature, signature_len); in dpp_corrupt_connector_signature()
8219 signed3 = (char *) base64_url_encode(signature, signature_len, in dpp_corrupt_connector_signature()