Home
last modified time | relevance | path

Searched refs:outBuff (Results 1 – 3 of 3) sorted by relevance

/base/security/device_security_level/services/dslm/
Ddslm_credential.c101 DslmCredBuff *outBuff = (DslmCredBuff *)MALLOC(sizeof(DslmCredBuff)); in CreateDslmCred() local
102 if (outBuff == NULL) { in CreateDslmCred()
107 FREE(outBuff); in CreateDslmCred()
112 FREE(outBuff); in CreateDslmCred()
116 outBuff->credVal = outValue; in CreateDslmCred()
117 outBuff->type = type; in CreateDslmCred()
118 outBuff->credLen = len; in CreateDslmCred()
119 return outBuff; in CreateDslmCred()
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
Dkey_management_test.cpp154 Uint8Buff outBuff = { outData, BIG_PRIME_LEN_256 }; variable
157 ret = GetLoaderInstance()->bigNumExpMod(&baseBuff, &expBuff, shortNumHex, &outBuff);
159 ret = GetLoaderInstance()->bigNumExpMod(&baseBuff, &expBuff, invalidCharHex, &outBuff);
165 ret = GetLoaderInstance()->bigNumExpMod(&baseBuff, &expBuff, bigNumHex, &outBuff);
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
Ddlp_file.cpp814 uint8_t* outBuff = new (std::nothrow) uint8_t[alignSize](); in DlpFileRead() local
815 if (outBuff == nullptr) { in DlpFileRead()
823 DeleteBufs(encBuff, outBuff); in DlpFileRead()
828 DeleteBufs(encBuff, outBuff); in DlpFileRead()
833 struct DlpBlob message2 = {.size = readLen, .data = static_cast<uint8_t*>(outBuff)}; in DlpFileRead()
836 DeleteBufs(encBuff, outBuff); in DlpFileRead()
840 if (memcpy_s(buf, size, outBuff + prefixingSize, message2.size - prefixingSize) != EOK) { in DlpFileRead()
841 DeleteBufs(encBuff, outBuff); in DlpFileRead()
845 DeleteBufs(encBuff, outBuff); in DlpFileRead()