Home
last modified time | relevance | path

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

/drivers/peripheral/pin_auth/hdi_service/database/src/
H A Dpin_db.c467 Buffer *cipherInfo = CreateBufferBySize(iv->contentSize + tag->contentSize + ciphertext->contentSize); in SplicePinCiperInfo() local
468 if (cipherInfo == NULL) { in SplicePinCiperInfo()
469 LOG_ERROR("create cipherInfo fail"); in SplicePinCiperInfo()
472 if (memcpy_s(cipherInfo->buf, cipherInfo->maxSize, iv->buf, iv->contentSize) != EOK) { in SplicePinCiperInfo()
476 cipherInfo->contentSize += iv->contentSize; in SplicePinCiperInfo()
477 if (memcpy_s(cipherInfo->buf + cipherInfo->contentSize, cipherInfo->maxSize - cipherInfo in SplicePinCiperInfo()
500 Buffer *cipherInfo = NULL; GetPinCiperInfo() local
563 Buffer *cipherInfo = GetPinCiperInfo(key, &pinDataBuffer); ProcessAddPin() local
[all...]

Completed in 2 milliseconds