Home
last modified time | relevance | path

Searched refs:HKS_AE_NONCE_LEN (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/security/huks/interfaces/inner_api/huks_standard/main/include/
H A Dhks_type.h60 #define HKS_AE_NONCE_LEN 12 macro
245 uint8_t iv[HKS_AE_NONCE_LEN];
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_access_control_test_common.cpp24 static const uint8_t NONCE[HKS_AE_NONCE_LEN + 1] = "hahahahahaha";
107 .size = HKS_AE_NONCE_LEN,
152 (void)memcpy_s(authTokenHal->iv, HKS_AE_NONCE_LEN, NONCE, HKS_AE_NONCE_LEN); in AssignAuthToken()
/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()
1068 CHECK_LEN_LOWER_RETURN(decryptInfo->nonceLen, HKS_AE_NONCE_LEN, "nonceLen"); in CheckAesGcmDecryptParam()