Searched refs:GetTmpBuffer (Results 1 - 12 of 12) sorted by relevance
/drivers/peripheral/user_auth/hdi_service/common/src/ |
H A D | user_sign_centre.c | 52 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 D | hmac_key.c | 41 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 D | buffer.h | 34 Buffer GetTmpBuffer(uint8_t *buf, uint32_t contentSize, uint32_t maxSize);
|
/drivers/peripheral/pin_auth/hdi_service/adaptor/inc/ |
H A D | buffer.h | 36 Buffer GetTmpBuffer(uint8_t *buf, uint32_t contentSize, uint32_t maxSize);
|
/drivers/peripheral/pin_auth/hdi_service/adaptor/src/ |
H A D | buffer.c | 34 Buffer GetTmpBuffer(uint8_t *buf, uint32_t contentSize, uint32_t maxSize) in GetTmpBuffer() function
|
/drivers/peripheral/user_auth/hdi_service/adaptor/src/ |
H A D | buffer.c | 36 Buffer GetTmpBuffer(uint8_t *buf, uint32_t contentSize, uint32_t maxSize) in GetTmpBuffer() function
|
/drivers/peripheral/pin_auth/hdi_service/database/src/ |
H A D | pin_db.c | 562 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 D | executor_message.c | 38 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 D | all_in_one_func.c | 121 Buffer pinData = GetTmpBuffer(pinAuthParam->pinData, CONST_PIN_DATA_LEN, CONST_PIN_DATA_LEN); in DoAuthPin()
|
H A D | collector_func.c | 354 Buffer plainText = GetTmpBuffer(pinData, pinDataSize, pinDataSize); in SetEncryptParam()
|
H A D | executor_func_common.c | 119 Buffer dataBuf = GetTmpBuffer(dataMsg.data, dataMsg.len, dataMsg.len); in GetRootMsg()
|
/drivers/peripheral/user_auth/test/unittest/base_test/src/ |
H A D | buffer_test.cpp | 78 Buffer buffer1 = GetTmpBuffer(nullptr, 0, 0); in HWTEST_F()
|
Completed in 8 milliseconds