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 D | iso_client_bind_exchange_task.c | 55 gcmParam.nonceLen = nonceBuf->length; in DecAndImportInner() 190 gcmParams.nonceLen = NONCE_SIZE; in ClientBindAesEncrypt()
|
H A D | iso_server_bind_exchange_task.c | 100 gcmParam.nonceLen = NONCE_SIZE; in DecryptChallenge()
|
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/ |
H A D | alg_defs.h | 63 uint32_t nonceLen; member
|
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
H A D | hks_core_service_three_stage.c | 677 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 D | common_standard_bind_exchange.c | 258 .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 D | iso_task_common.c | 100 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 D | huks_adapter.c | 980 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()
|