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 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()
|
/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/ |
H A D | alg_defs.h | 63 uint32_t nonceLen; member
|
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
H A D | hks_core_service_three_stage.c | 742 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 D | iso_task_common.c | 100 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 D | common_standard_bind_exchange.c | 258 .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 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()
|
Completed in 11 milliseconds