Home
last modified time | relevance | path

Searched refs:PayloadProtect (Results 1 - 8 of 8) sorted by relevance

/developtools/hdc/hdc_rust/src/cffi/
H A Dserial_struct.h49 struct PayloadProtect { // reserve for encrypt and decrypt struct
100 struct PayloadProtect { // reserve for encrypt and decrypt struct
231 template<> struct Descriptor<BaseStruct::PayloadProtect> {
234 return Message(Field<fieldOne, &BaseStruct::PayloadProtect::channelId>("channelId"), in type()
235 Field<fieldTwo, &BaseStruct::PayloadProtect::commandFlag>("commandFlag"), in type()
236 Field<fieldThree, &BaseStruct::PayloadProtect::checkSum>("checkSum"), in type()
237 Field<fieldFour, &BaseStruct::PayloadProtect::vCode>("vCode")); in type()
H A Dserial_struct.cpp50 extern "C" SerializedBuffer SerializePayloadProtect(const RustStruct::PayloadProtect &value) in SerializePayloadProtect()
52 BaseStruct::PayloadProtect pp = { in SerializePayloadProtect()
166 extern "C" uint8_t ParsePayloadProtect(RustStruct::PayloadProtect &value, SerializedBuffer buf) in ParsePayloadProtect()
168 BaseStruct::PayloadProtect pp = {}; in ParsePayloadProtect()
/developtools/hdc/src/common/
H A Dserial_struct.h89 template<> struct Descriptor<Hdc::HdcSessionBase::PayloadProtect> {
92 return Message(Field<fieldOne, &Hdc::HdcSessionBase::PayloadProtect::channelId>("channelId"), in type()
93 Field<fieldTwo, &Hdc::HdcSessionBase::PayloadProtect::commandFlag>("commandFlag"), in type()
94 Field<fieldThree, &Hdc::HdcSessionBase::PayloadProtect::checkSum>("checkSum"), in type()
95 Field<fieldFour, &Hdc::HdcSessionBase::PayloadProtect::vCode>("vCode")); in type()
H A Dsession.h55 struct PayloadProtect { // reserve for encrypt and decrypt struct in Hdc::HdcSessionBase
H A Dsession.cpp840 PayloadProtect protectBuf; // noneed convert to big-endian in Send()
893 PayloadProtect protectBuf = {}; in DecryptPayload()
/developtools/hdc/hdc_rust/src/serializer/
H A Dpack_assemble.rs50 pub fn unpack_payload_protect(data: Vec<u8>) -> io::Result<native_struct::PayloadProtect> { in unpack_payload_protect()
51 let mut payload_protect = native_struct::PayloadProtect::default(); in unpack_payload_protect()
69 let payload_protect = native_struct::PayloadProtect { in concat_pack()
H A Dnative_struct.rs29 pub struct PayloadProtect { structure names
H A Dserialize.rs21 use crate::serializer::native_struct::{PayloadHead, PayloadProtect, SessionHandShake};
142 impl Serialization for PayloadProtect {

Completed in 6 milliseconds