Home
last modified time | relevance | path

Searched defs:nonce (Results 1 - 25 of 26) sorted by relevance

12

/base/security/device_auth/services/legacy/authenticators/inc/account_unrelated/pake_task/
H A Dcommon_standard_bind_exchange.h32 Uint8Buff nonce; member
H A Dpake_base_cur_task.h53 Uint8Buff nonce; member
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
H A Dstandard_exchange_message_util.c25 int32_t PackageNonceAndCipherToJson(const Uint8Buff *nonce, const Uint8Buff *cipher, CJson *data, const char *key) in PackageNonceAndCipherToJson() argument
52 int32_t ParseNonceAndCipherFromJson(Uint8Buff *nonce, Uint8Buff *cipher, const CJson *in, const char *key) in ParseNonceAndCipherFromJson() argument
[all...]
/base/security/device_security_level/services/dslm/
H A Ddslm_inner_process.c86 uint64_t nonce = 0; in VerifyDeviceInfoResponse() local
[all...]
H A Ddslm_core_defines.h44 uint64_t nonce; member
H A Ddslm_msg_utils.c56 char *nonce = &challengeStr[0]; in GenerateSecInfoResponseJson() local
93 char *nonce = &challengeStr[0]; in GenerateSecInfoRequestJson() local
/base/useriam/user_auth_framework/test/unittest/services/src/
H A Duser_idm_session_controller_test.cpp86 std::vector<uint8_t> nonce = {1, 3, 2, 5, 7}; in HWTEST_F() local
106 std::vector<uint8_t> nonce = {1, 3, 2, 5, 7}; in HWTEST_F() local
127 std::vector<uint8_t> nonce = {1, 3, 2, 5, 7}; in HWTEST_F() local
[all...]
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
H A Dhks_base_check_test.cpp325 struct HksBlob nonce = { .size = strlen(aadData), .data = (uint8_t *)nonceData }; in HWTEST_F() local
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/lite_exchange_task/
H A Diso_client_bind_exchange_task.c89 uint8_t *nonce = NULL; in DecAndImportAuthCode() local
162 ClientBindAesEncrypt(IsoClientBindExchangeTask *task, const IsoParams *params, uint8_t **encData, uint8_t **nonce) ClientBindAesEncrypt() argument
208 uint8_t *nonce = NULL; ClientBindExchangeStart() local
[all...]
H A Diso_server_bind_exchange_task.c81 uint8_t *nonce = NULL; in DecryptChallenge() local
189 uint8_t *nonce = NULL; in GenerateAuthCodeAndImport() local
[all...]
/base/security/device_security_level/oem_property/ohos/common/
H A Ddslm_ohos_verify.c68 static int32_t ParseNonceOfCertChain(const char *jsonBuffer, struct NonceOfCertChain *nonce) in ParseNonceOfCertChain() argument
111 static void FreeNonceOfCertChain(struct NonceOfCertChain *nonce) in FreeNonceOfCertChain() argument
154 CheckNonceOfCertChain(const struct NonceOfCertChain *nonce, uint64_t challenge, const char *pbkInfoList) CheckNonceOfCertChain() argument
172 struct NonceOfCertChain nonce; VerifyNonceOfCertChain() local
[all...]
/base/security/asset/services/crypto_manager/src/
H A Dhuks_wrapper.c257 struct HksBlob nonce = { NONCE_SIZE, inData->data + (inData->size - NONCE_SIZE) }; in DecryptData() local
322 struct HksBlob nonce = { NONCE_SIZE, inData->data + (inData->size - NONCE_SIZE) }; in ExecCrypt() local
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/iso_task_common/
H A Diso_task_common.c88 uint8_t nonce[NONCE_SIZE] = { 0 }; in GenerateEncResult() local
223 uint8_t *nonce = NULL; in CheckEncResult() local
[all...]
/base/security/huks/frameworks/huks_standard/main/common/include/
H A Dhks_crypto_hal.h48 struct HksBlob nonce; member
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_mbedtls_des.c47 uint8_t *nonce; member
H A Dhks_mbedtls_aes.c48 uint8_t *nonce; member
[all...]
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_keyblob_lite.c108 struct HksBlob nonce = { 0, NULL }; in BuildKeyBlobUsageSpec() local
H A 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
[all...]
H A Dhks_core_service_key_generate.c345 static int32_t BuildDecryptUsageSpecOfUnwrap(const struct HksBlob *aad, const struct HksBlob *nonce, in BuildDecryptUsageSpecOfUnwrap() argument
/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/
H A Dalg_defs.h62 uint8_t *nonce; member
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/
H A Dexpand_sub_session.c54 Uint8Buff nonce; member
503 int32_t CreateExpandSubSession(const Uint8Buff *nonce, const Uint8Buff *encKey, ExpandSubSession **returnObj) in CreateExpandSubSession() argument
[all...]
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
H A Dhks_aes_cipher_ccm_test.cpp414 static int32_t HksAesSetNonceLen(HksParam *param, uint32_t cnt, uint32_t len, const uint8_t *nonce) in HksAesSetNonceLen() argument
[all...]
/base/security/huks/interfaces/inner_api/huks_lite/
H A Dhks_types.h227 struct hks_blob nonce; /* Nonce value or iv vector */ member
/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/
H A Dhuks_adapter.c555 struct random_value nonce = generate_random(HC_AES_GCM_NONCE_LEN); in aes_gcm_encrypt() local
502 init_aes_gcm_encrypt_param_set(struct HksParamSet **param_set, struct random_value *nonce, struct aes_aad *aad, uint32_t key_byte_size) init_aes_gcm_encrypt_param_set() argument
[all...]
/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/unittest_mock/
H A Dhuks_adapter_mock_for_pake.c509 struct random_value nonce = generate_random(HC_AES_GCM_NONCE_LEN); in aes_gcm_encrypt() local
468 init_aes_gcm_encrypt_param_set(struct HksParamSet **param_set, struct random_value *nonce, struct aes_aad *aad, uint32_t key_byte_size) init_aes_gcm_encrypt_param_set() argument
[all...]

Completed in 22 milliseconds

12