Searched refs:PayloadProtect (Results 1 - 8 of 8) sorted by relevance
/developtools/hdc/hdc_rust/src/cffi/ |
H A D | serial_struct.h | 49 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 D | serial_struct.cpp | 50 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 D | serial_struct.h | 89 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 D | session.h | 55 struct PayloadProtect { // reserve for encrypt and decrypt struct in Hdc::HdcSessionBase
|
H A D | session.cpp | 840 PayloadProtect protectBuf; // noneed convert to big-endian in Send() 893 PayloadProtect protectBuf = {}; in DecryptPayload()
|
/developtools/hdc/hdc_rust/src/serializer/ |
H A D | pack_assemble.rs | 50 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 D | native_struct.rs | 29 pub struct PayloadProtect { structure names
|
H A D | serialize.rs | 21 use crate::serializer::native_struct::{PayloadHead, PayloadProtect, SessionHandShake}; 142 impl Serialization for PayloadProtect {
|
Completed in 5 milliseconds