Home
last modified time | relevance | path

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

/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/lite_exchange_task/
H A Diso_client_bind_exchange_task.c55 gcmParam.nonceLen = nonceBuf->length; in DecAndImportInner()
190 gcmParams.nonceLen = NONCE_SIZE; in ClientBindAesEncrypt()
H A Diso_server_bind_exchange_task.c100 gcmParam.nonceLen = NONCE_SIZE; in DecryptChallenge()
/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/
H A Dalg_defs.h63 uint32_t nonceLen; member
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_core_service_three_stage.c742 uint32_t nonceLen = isCcm ? HKS_AES_CCM_NONCE_LEN : HKS_AES_GCM_NONCE_LEN; local
743 uint8_t* data = (uint8_t *)HksMalloc(nonceLen);
750 .blob.size = nonceLen
845 const struct HksBlob *inData, const uint32_t nonceLen, struct HksBlob *outData, struct HksBlob tag)
859 if (nonceParam->blob.size != nonceLen) {
863 if (memcpy_s(outData->data + inData->size + tag.size, nonceLen,
844 AppendNonceWhenNeeded(const struct HuksKeyNode *keyNode, const struct HksBlob *inData, const uint32_t nonceLen, struct HksBlob *outData, struct HksBlob tag) global() argument
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/iso_task_common/
H A Diso_task_common.c100 encryptInfo.nonceLen = NONCE_SIZE; in GenerateEncResult()
244 gcmParam.nonceLen = NONCE_SIZE; in CheckEncResult()
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
H A Dcommon_standard_bind_exchange.c258 .nonceLen = exchangeParams->nonce.length in EncryptAuthAndSignInfo()
292 .nonceLen = exchangeParams->nonce.length in DecryptAuthAndSignInfo()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
H A Dhuks_adapter.c980 CHECK_LEN_LOWER_RETURN(encryptInfo->nonceLen, HKS_AE_NONCE_LEN, "nonceLen"); in CheckAesGcmEncryptParam()
989 struct HksBlob nonceBlob = { encryptInfo->nonceLen, encryptInfo->nonce }; in ConstructAesGcmEncryptParamSet()
1068 CHECK_LEN_LOWER_RETURN(decryptInfo->nonceLen, HKS_AE_NONCE_LEN, "nonceLen"); in CheckAesGcmDecryptParam()
1077 struct HksBlob nonceBlob = { decryptInfo->nonceLen, decryptInfo->nonce }; in ConstructAesGcmDecryptParamSet()

Completed in 15 milliseconds