Lines Matching refs:payload
565 hdr.payload, hdr.length); in dpp_parse_recipient_infos()
566 pos = hdr.payload; in dpp_parse_recipient_infos()
582 pos = hdr.payload; in dpp_parse_recipient_infos()
600 pos = hdr.payload; in dpp_parse_recipient_infos()
633 pos = hdr.payload; in dpp_parse_recipient_infos()
642 hdr.payload, hdr.length); in dpp_parse_recipient_infos()
648 data->salt = hdr.payload; in dpp_parse_recipient_infos()
649 pos = hdr.payload + hdr.length; in dpp_parse_recipient_infos()
667 asn1_get_oid(hdr.payload, hdr.length, &oid, &pos) < 0) { in dpp_parse_recipient_infos()
720 hdr.payload, hdr.length); in dpp_parse_recipient_infos()
721 data->enc_key = hdr.payload; in dpp_parse_recipient_infos()
743 hdr.payload, hdr.length); in dpp_parse_encrypted_content_info()
752 pos = hdr.payload; in dpp_parse_encrypted_content_info()
792 hdr.payload, hdr.length); in dpp_parse_encrypted_content_info()
793 data->enc_cont = hdr.payload; in dpp_parse_encrypted_content_info()
828 pos = hdr.payload; in dpp_parse_enveloped_data()
849 if (dpp_parse_recipient_infos(hdr.payload, hdr.length, data) < 0) in dpp_parse_enveloped_data()
851 return dpp_parse_encrypted_content_info(hdr.payload + hdr.length, end, in dpp_parse_enveloped_data()
887 pos = hdr.payload; in dpp_parse_one_asymmetric_key()
939 hdr.payload, hdr.length); in dpp_parse_one_asymmetric_key()
940 pos = hdr.payload + hdr.length; in dpp_parse_one_asymmetric_key()
941 key->csign = crypto_ec_key_parse_priv(hdr.payload, hdr.length); in dpp_parse_one_asymmetric_key()
958 hdr.payload, hdr.length); in dpp_parse_one_asymmetric_key()
959 if (hdr.payload + hdr.length < end) { in dpp_parse_one_asymmetric_key()
962 hdr.payload + hdr.length, in dpp_parse_one_asymmetric_key()
963 end - (hdr.payload + hdr.length)); in dpp_parse_one_asymmetric_key()
965 pos = hdr.payload; in dpp_parse_one_asymmetric_key()
966 end = hdr.payload + hdr.length; in dpp_parse_one_asymmetric_key()
972 if (hdr.payload + hdr.length < end) { in dpp_parse_one_asymmetric_key()
975 hdr.payload + hdr.length, in dpp_parse_one_asymmetric_key()
976 end - (hdr.payload + hdr.length)); in dpp_parse_one_asymmetric_key()
978 pos = hdr.payload; in dpp_parse_one_asymmetric_key()
979 end = hdr.payload + hdr.length; in dpp_parse_one_asymmetric_key()
1004 pos = hdr.payload; in dpp_parse_one_asymmetric_key()
1019 pos = hdr.payload; in dpp_parse_one_asymmetric_key()
1020 end = hdr.payload + hdr.length; in dpp_parse_one_asymmetric_key()
1039 pos = hdr.payload; in dpp_parse_one_asymmetric_key()
1051 hdr.payload, hdr.length); in dpp_parse_one_asymmetric_key()
1052 pos = hdr.payload + hdr.length; in dpp_parse_one_asymmetric_key()
1053 key->pp_key = crypto_ec_key_parse_priv(hdr.payload, hdr.length); in dpp_parse_one_asymmetric_key()
1067 hdr.payload, hdr.length); in dpp_parse_one_asymmetric_key()
1071 os_memcpy(key->config_template, hdr.payload, hdr.length); in dpp_parse_one_asymmetric_key()
1073 pos = hdr.payload + hdr.length; in dpp_parse_one_asymmetric_key()
1083 hdr.payload, hdr.length); in dpp_parse_one_asymmetric_key()
1087 os_memcpy(key->connector_template, hdr.payload, hdr.length); in dpp_parse_one_asymmetric_key()
1115 !(key = dpp_parse_one_asymmetric_key(hdr.payload, in dpp_parse_dpp_asymmetric_key_package()