/ohos5.0/drivers/peripheral/codec/hal/src/ |
H A D | codec_types.c | 86 if (tmpHandle == NULL) { in BufferHandleUnmarshalling() 91 if (!HdfSbufReadInt32(data, &tmpHandle->width) || !HdfSbufReadInt32(data, &tmpHandle->stride) || in BufferHandleUnmarshalling() 92 !HdfSbufReadInt32(data, &tmpHandle->height) || !HdfSbufReadInt32(data, &tmpHandle->size) || in BufferHandleUnmarshalling() 93 … !HdfSbufReadInt32(data, &tmpHandle->format) || !HdfSbufReadUint64(data, &tmpHandle->usage) || in BufferHandleUnmarshalling() 94 !HdfSbufReadUint64(data, &tmpHandle->phyAddr)) { in BufferHandleUnmarshalling() 96 FreeBufferHandle(tmpHandle); in BufferHandleUnmarshalling() 102 FreeBufferHandle(tmpHandle); in BufferHandleUnmarshalling() 107 tmpHandle->fd = HdfSbufReadFileDescriptor(data); in BufferHandleUnmarshalling() 115 if (!HdfSbufReadInt32(data, &tmpHandle->reserve[tmpHandle->reserveFds + i])) { in BufferHandleUnmarshalling() 117 FreeBufferHandle(tmpHandle); in BufferHandleUnmarshalling() [all …]
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
H A D | hks_cross_test_common.cpp | 46 uint8_t tmpHandle[sizeof(uint64_t)] = {0}; in HksCrossTestAesEncrypt() local 47 struct HksBlob handle = { sizeof(uint64_t), tmpHandle }; in HksCrossTestAesEncrypt() 71 uint8_t tmpHandle[sizeof(uint64_t)] = {0}; in HksCrossTestAesDecrypt() local 72 struct HksBlob handle = { sizeof(uint64_t), tmpHandle }; in HksCrossTestAesDecrypt() 97 uint8_t tmpHandle[sizeof(uint64_t)] = {0}; in HksCrossTestRsaEncrypt() local 98 struct HksBlob handle = { sizeof(uint64_t), tmpHandle }; in HksCrossTestRsaEncrypt() 122 uint8_t tmpHandle[sizeof(uint64_t)] = {0}; in HksCrossTestRsaDecrypt() local 123 struct HksBlob handle = { sizeof(uint64_t), tmpHandle }; in HksCrossTestRsaDecrypt() 148 uint8_t tmpHandle[sizeof(uint64_t)] = {0}; in HksCrossTestSignVerify() local 149 struct HksBlob handle = { sizeof(uint64_t), tmpHandle }; in HksCrossTestSignVerify()
|
H A D | hks_access_control_secure_sign_test.cpp | 726 uint8_t tmpHandle[sizeof(uint64_t)] = {0}; in HksTestUpdateFinishSignAuthInfo() local 727 struct HksBlob handle = { sizeof(uint64_t), tmpHandle }; in HksTestUpdateFinishSignAuthInfo() 807 uint8_t tmpHandle[sizeof(uint64_t)] = {0}; in HksTestUpdateFinishVerifySignAuthInfo() local 808 struct HksBlob handle = { sizeof(uint64_t), tmpHandle }; in HksTestUpdateFinishVerifySignAuthInfo()
|
H A D | hks_sm2_sign_verify_test.cpp | 342 uint8_t tmpHandle[sizeof(uint64_t)] = {0}; in HksTestSignVerify() local 343 struct HksBlob handle = { sizeof(uint64_t), tmpHandle }; in HksTestSignVerify()
|
H A D | hks_access_control_test_common.cpp | 485 uint8_t tmpHandle[32] = {0}; in CheckAccessCipherTest() local 486 struct HksBlob handle = { 32, tmpHandle }; in CheckAccessCipherTest()
|
H A D | hks_import_wrapped_sm2_suite_test.cpp | 421 uint8_t tmpHandle[sizeof(uint64_t)] = { 0 }; in HksTestSignVerify() local 422 struct HksBlob handle = {sizeof(uint64_t), tmpHandle}; in HksTestSignVerify()
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/ |
H A D | hks_ecc_sign_verify_test_common.cpp | 26 uint8_t tmpHandle[sizeof(uint64_t)] = {0}; in HksTestSignVerify() local 27 struct HksBlob handle = { sizeof(uint64_t), tmpHandle }; in HksTestSignVerify() 118 uint8_t tmpHandle[sizeof(uint64_t)] = {0}; in HksTestSignVerifyParamAbsent() local 119 struct HksBlob handle = { sizeof(uint64_t), tmpHandle }; in HksTestSignVerifyParamAbsent()
|
H A D | hks_ed25519_sign_verify_test.cpp | 66 uint8_t tmpHandle[sizeof(uint64_t)] = {0}; in HksTestSignVerify() local 67 struct HksBlob handleTest = { sizeof(uint64_t), tmpHandle }; in HksTestSignVerify()
|
H A D | hks_dsa_sign_verify_test.cpp | 429 uint8_t tmpHandle[sizeof(uint64_t)] = {0}; in HksTestSignVerify() local 430 struct HksBlob handle = { sizeof(uint64_t), tmpHandle }; in HksTestSignVerify()
|
/ohos5.0/base/security/code_signature/services/local_code_sign/src/ |
H A D | local_sign_key.cpp | 278 uint8_t tmpHandle[sizeof(uint64_t)] = {0}; in SignByHUKS() local 279 struct HksBlob handle = { sizeof(uint64_t), tmpHandle }; in SignByHUKS()
|