Home
last modified time | relevance | path

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

/drivers/peripheral/user_auth/hdi_service/common/src/
H A Duser_sign_centre.c52 const Buffer data = GetTmpBuffer((uint8_t *)userAuthToken, AUTH_TOKEN_DATA_LEN, AUTH_TOKEN_DATA_LEN); in UserAuthTokenHmac()
53 const Buffer key = GetTmpBuffer(tokenKey->macKey, sizeof(tokenKey->macKey), sizeof(tokenKey->macKey)); in UserAuthTokenHmac()
97 const Buffer tag = GetTmpBuffer((uint8_t *)userAuthToken->tag, sizeof(userAuthToken->tag), in DecryptTokenCipher()
99 const Buffer ciphertext = GetTmpBuffer((uint8_t *)userAuthToken->tokenDataCipher, in DecryptTokenCipher()
127 const Buffer data = GetTmpBuffer((uint8_t *)userAuthToken, AUTH_TOKEN_DATA_LEN, AUTH_TOKEN_DATA_LEN); in CheckUserAuthTokenHmac()
128 const Buffer key = GetTmpBuffer(tokenKey->macKey, sizeof(tokenKey->macKey), sizeof(tokenKey->macKey)); in CheckUserAuthTokenHmac()
134 const Buffer sign = GetTmpBuffer((uint8_t *)userAuthToken->sign, SHA256_DIGEST_SIZE, SHA256_DIGEST_SIZE); in CheckUserAuthTokenHmac()
241 const Buffer plaintext = GetTmpBuffer((uint8_t *)data, sizeof(TokenDataToEncrypt), sizeof(TokenDataToEncrypt)); in GetTokenDataCipherResult()
/drivers/peripheral/user_auth/hdi_service/key_mgr/src/
H A Dhmac_key.c41 Buffer localUdidBuf = GetTmpBuffer(localUdidArray.data, localUdidArray.len, localUdidArray.len); in GenerateHmacKey()
75 Buffer peerUdidBuf = GetTmpBuffer(signParam.peerUdid.data, signParam.peerUdid.len, signParam.peerUdid.len); in HmacSign()
107 Buffer peerUdidBuf = GetTmpBuffer(signParam.peerUdid.data, signParam.peerUdid.len, signParam.peerUdid.len); in HmacVerify()
/drivers/peripheral/user_auth/hdi_service/adaptor/inc/
H A Dbuffer.h34 Buffer GetTmpBuffer(uint8_t *buf, uint32_t contentSize, uint32_t maxSize);
/drivers/peripheral/pin_auth/hdi_service/adaptor/inc/
H A Dbuffer.h36 Buffer GetTmpBuffer(uint8_t *buf, uint32_t contentSize, uint32_t maxSize);
/drivers/peripheral/pin_auth/hdi_service/adaptor/src/
H A Dbuffer.c34 Buffer GetTmpBuffer(uint8_t *buf, uint32_t contentSize, uint32_t maxSize) in GetTmpBuffer() function
/drivers/peripheral/user_auth/hdi_service/adaptor/src/
H A Dbuffer.c36 Buffer GetTmpBuffer(uint8_t *buf, uint32_t contentSize, uint32_t maxSize) in GetTmpBuffer() function
/drivers/peripheral/pin_auth/hdi_service/database/src/
H A Dpin_db.c562 Buffer pinDataBuffer = GetTmpBuffer(pinEnrollParam->pinData, CONST_PIN_DATA_LEN, CONST_PIN_DATA_LEN); in ProcessAddPin()
599 Buffer pinCredData = GetTmpBuffer(pinEnrollParam->pinData, CONST_PIN_DATA_LEN, CONST_PIN_DATA_LEN); in AddPin()
921 Buffer iv = GetTmpBuffer(pinData->buf, AES_GCM_256_IV_SIZE, AES_GCM_256_IV_SIZE); in GenerateDecodeCredential()
928 Buffer tag = GetTmpBuffer(pinData->buf + AES_GCM_256_IV_SIZE, AES_GCM_256_TAG_SIZE, AES_GCM_256_TAG_SIZE); in GenerateDecodeCredential()
930 Buffer cipherText = GetTmpBuffer( in GenerateDecodeCredential()
1086 Buffer sourceData = GetTmpBuffer(sourceDataTemp, SOURCE_DATA_LENGTH, SOURCE_DATA_LENGTH); in GenerateSalt()
/drivers/peripheral/user_auth/hdi_service/coauth/src/
H A Dexecutor_message.c38 Buffer data = GetTmpBuffer(dataTlv->data, dataTlv->len, dataTlv->len); in SignData()
167 Buffer data = GetTmpBuffer(dataTlv.data, dataTlv.len, dataTlv.len); in Ed25519VerifyData()
168 Buffer sign = GetTmpBuffer(signTlv.data, signTlv.len, signTlv.len); in Ed25519VerifyData()
203 Buffer data = GetTmpBuffer(dataTlv.data, dataTlv.len, dataTlv.len); in VerifyDataTlvSignature()
204 Buffer sign = GetTmpBuffer(signTlv.data, signTlv.len, signTlv.len); in VerifyDataTlvSignature()
/drivers/peripheral/pin_auth/hdi_service/main/src/
H A Dall_in_one_func.c121 Buffer pinData = GetTmpBuffer(pinAuthParam->pinData, CONST_PIN_DATA_LEN, CONST_PIN_DATA_LEN); in DoAuthPin()
H A Dcollector_func.c354 Buffer plainText = GetTmpBuffer(pinData, pinDataSize, pinDataSize); in SetEncryptParam()
H A Dexecutor_func_common.c119 Buffer dataBuf = GetTmpBuffer(dataMsg.data, dataMsg.len, dataMsg.len); in GetRootMsg()
/drivers/peripheral/user_auth/test/unittest/base_test/src/
H A Dbuffer_test.cpp78 Buffer buffer1 = GetTmpBuffer(nullptr, 0, 0); in HWTEST_F()

Completed in 8 milliseconds