Home
last modified time | relevance | path

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

/ohos5.0/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()
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/
H A Dalg_defs.h63 uint32_t nonceLen; member
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_core_service_three_stage.c677 uint32_t nonceLen = isCcm ? HKS_AES_CCM_NONCE_LEN : HKS_AES_GCM_NONCE_LEN; in UpdateNonceForAesAeMode() local
678 uint8_t* data = (uint8_t *)HksMalloc(nonceLen); in UpdateNonceForAesAeMode()
685 .blob.size = nonceLen in UpdateNonceForAesAeMode()
780 …const struct HksBlob *inData, const uint32_t nonceLen, struct HksBlob *outData, struct HksBlob tag) in AppendNonceWhenNeeded() argument
794 if (nonceParam->blob.size != nonceLen) { in AppendNonceWhenNeeded()
798 if (memcpy_s(outData->data + inData->size + tag.size, nonceLen, in AppendNonceWhenNeeded()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()