Home
last modified time | relevance | path

Searched refs:PutData (Results 1 - 12 of 12) sorted by relevance

/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
H A Dhap_byte_buffer_test.cpp108 testBuffer.PutData(0, &testChar, sizeof(testChar)); in HWTEST_F()
130 testBuffer2.PutData(sizeof(char), testUInt16, sizeof(testUInt16)); in HWTEST_F()
137 testBuffer2.PutData(TEST_HAPBYTEBUFFER_LENGTH - sizeof(testInt64), testInt64, sizeof(testInt64)); in HWTEST_F()
201 buffer1.PutData(0, testChar, TEST_HAPBYTEBUFFER_LENGTH); in HWTEST_F()
H A Dhap_signing_block_utils_test.cpp95 signInfo.hapSignatureBlock.PutData(0, block, sizeof(block)); in CreatTestZipFile()
H A Dhap_cert_verify_openssl_utils_test.cpp48 output.PutData(0, decodeBuffer.get(), len); in Base64StringDecode()
/base/security/code_signature/utils/src/
H A Dcert_utils.cpp100 if (!buffer.PutData(0, CastToUint8Ptr(&certsCount), sizeof(uint32_t))) { in FormattedCertChain()
105 if (!buffer.PutData(pos, CastToUint8Ptr(&certChain->certs[i].size), sizeof(uint32_t))) { in FormattedCertChain()
109 if (!buffer.PutData(pos, certChain->certs[i].data, certChain->certs[i].size)) { in FormattedCertChain()
/base/security/access_token/frameworks/test/unittest/
H A Daccesstoken_parcel_test.cpp339 static void PutData(Parcel& out, uint32_t deviceSize, uint32_t statusSize, uint32_t flagSize) in PutData() function
366 PutData(out, MAX_DEVICE_ID_SIZE, MAX_DEVICE_ID_SIZE, MAX_DEVICE_ID_SIZE + 1); in HWTEST_F()
371 PutData(out1, MAX_DEVICE_ID_SIZE, MAX_DEVICE_ID_SIZE + 1, MAX_DEVICE_ID_SIZE + 1); in HWTEST_F()
376 PutData(out2, MAX_DEVICE_ID_SIZE + 1, MAX_DEVICE_ID_SIZE + 1, MAX_DEVICE_ID_SIZE + 1); in HWTEST_F()
381 PutData(out3, MAX_DEVICE_ID_SIZE, MAX_DEVICE_ID_SIZE, MAX_DEVICE_ID_SIZE); in HWTEST_F()
/base/security/code_signature/test/unittest/
H A Dcert_chain_verifier_test.cpp164 if (!buffer.PutData(0, CastToUint8Ptr(&certsCount), sizeof(uint32_t))) { in FormattedCertChain()
170 if (!buffer.PutData(pos, CastToUint8Ptr(&size), sizeof(uint32_t))) { in FormattedCertChain()
174 if (!buffer.PutData(pos, certChain[i].GetBuffer(), certChain[i].GetSize())) { in FormattedCertChain()
/base/security/appverify/interfaces/innerkits/appverify/include/common/
H A Dhap_byte_buffer.h51 DLL_EXPORT void PutData(int32_t offset, const char data[], int32_t len);
/base/security/code_signature/interfaces/innerkits/common/include/
H A Dbyte_buffer.h68 bool PutData(uint32_t pos, const uint8_t *srcData, uint32_t srcSize) in PutData() function in OHOS::Security::CodeSign::ByteBuffer
/base/security/appverify/interfaces/innerkits/appverify/src/common/
H A Drandom_access_file.cpp140 buffer.PutData(0, mmapInfo.mapAddr + mmapInfo.readMoreLen, bufCapacity); in ReadFileFullyFromOffset()
H A Dhap_byte_buffer.cpp220 void HapByteBuffer::PutData(int32_t offset, const char data[], int32_t len) in PutData() function in OHOS::Security::Verify::HapByteBuffer
/base/security/appverify/interfaces/innerkits/appverify/src/util/
H A Dhap_signing_block_utils.cpp469 finalDigest.PutData(0, reinterpret_cast<char*>(out), digestParam.digestOutputSizeBytes); in ComputeDigestsWithOptionalBlock()
536 result.PutData(offset, reinterpret_cast<char*>(out), digestParam.digestOutputSizeBytes); in ComputeDigestsForEachChunk()
H A Dhap_verify_openssl_utils.cpp506 content.PutData(0, reinterpret_cast<char*>(strContentInfoData), strContentInfoLen); in GetContentInfo()

Completed in 8 milliseconds