Home
last modified time | relevance | path

Searched defs:nonce (Results 1 – 21 of 21) sorted by relevance

/base/useriam/user_auth_framework/test/unittest/services/src/
Duser_idm_session_controller_test.cpp86 std::vector<uint8_t> nonce = {1, 3, 2, 5, 7}; variable
106 std::vector<uint8_t> nonce = {1, 3, 2, 5, 7}; variable
127 std::vector<uint8_t> nonce = {1, 3, 2, 5, 7}; variable
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
Dstandard_exchange_message_util.c25 int32_t PackageNonceAndCipherToJson(const Uint8Buff *nonce, const Uint8Buff *cipher, CJson *data, c… in PackageNonceAndCipherToJson()
52 int32_t ParseNonceAndCipherFromJson(Uint8Buff *nonce, Uint8Buff *cipher, const CJson *in, const cha… in ParseNonceAndCipherFromJson()
/base/security/device_security_level/oem_property/ohos/common/
Ddslm_ohos_verify.c68 static int32_t ParseNonceOfCertChain(const char *jsonBuffer, struct NonceOfCertChain *nonce) in ParseNonceOfCertChain()
111 static void FreeNonceOfCertChain(struct NonceOfCertChain *nonce) in FreeNonceOfCertChain()
154 static int32_t CheckNonceOfCertChain(const struct NonceOfCertChain *nonce, uint64_t challenge, cons… in CheckNonceOfCertChain()
172 struct NonceOfCertChain nonce; in VerifyNonceOfCertChain() local
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/lite_exchange_task/
Diso_client_bind_exchange_task.c83 uint8_t *nonce = NULL; in DecAndImportAuthCode() local
157 uint8_t **encData, uint8_t **nonce) in ClientBindAesEncrypt()
198 uint8_t *nonce = NULL; in ClientBindExchangeStart() local
Diso_server_bind_exchange_task.c81 uint8_t *nonce = NULL; in DecryptChallenge() local
173 uint8_t *nonce = NULL; in GenerateAuthCodeAndImport() local
/base/security/device_auth/services/authenticators/inc/account_unrelated/pake_task/
Dcommon_standard_bind_exchange.h32 Uint8Buff nonce; member
Dpake_base_cur_task.h37 Uint8Buff nonce; member
/base/security/device_security_level/services/dslm/
Ddslm_inner_process.c84 uint64_t nonce = 0; in VerifyDeviceInfoResponse() local
Ddslm_msg_utils.c56 char *nonce = &challengeStr[0]; in GenerateSecInfoResponseJson() local
93 char *nonce = &challengeStr[0]; in GenerateSecInfoRequestJson() local
Ddslm_core_defines.h45 uint64_t nonce; member
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/
Diso_task_common.c79 uint8_t nonce[NONCE_SIZE] = { 0 }; in GenerateEncResult() local
210 uint8_t *nonce = NULL; in CheckEncResult() local
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
Dhks_base_check_test.cpp327 struct HksBlob nonce = { .size = strlen(aadData), .data = (uint8_t *)nonceData }; variable
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/
Dexpand_sub_session.c53 Uint8Buff nonce; member
499 int32_t CreateExpandSubSession(const Uint8Buff *nonce, const Uint8Buff *encKey, ExpandSubSession **… in CreateExpandSubSession()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_keyblob.c45 uint8_t nonce[HKS_KEY_BLOB_NONCE_SIZE]; member
294 struct HksBlob nonce = { HKS_KEY_BLOB_NONCE_SIZE, keyBlobInfo->nonce }; in InitKeyBlobInfo() local
Dhks_keyblob_lite.c108 struct HksBlob nonce = { 0, NULL }; in BuildKeyBlobUsageSpec() local
Dhks_core_service.c590 static int32_t BuildDecryptUsageSpecOfUnwrap(const struct HksBlob *aad, const struct HksBlob *nonce, in BuildDecryptUsageSpecOfUnwrap()
/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/
Dalg_defs.h62 uint8_t *nonce; member
/base/security/huks/frameworks/huks_standard/main/common/include/
Dhks_crypto_hal.h48 struct HksBlob nonce; member
/base/security/huks/interfaces/inner_api/huks_lite/
Dhks_types.h227 struct hks_blob nonce; /* Nonce value or iv vector */ member
/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/
Dhuks_adapter.c475 struct random_value *nonce, struct aes_aad *aad, uint32_t key_byte_size) in init_aes_gcm_encrypt_param_set()
515 struct random_value nonce = generate_random(HC_AES_GCM_NONCE_LEN); in aes_gcm_encrypt() local
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_aes.c48 uint8_t *nonce; member