Home
last modified time | relevance | path

Searched defs:outKey (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_import_sign_verify_test.cpp320 static int32_t CopyKey(const uint8_t *key, uint32_t size, struct HksBlob *outKey) in CopyKey()
334 static int32_t CopyToInner(uint32_t alg, uint32_t importType, struct HksBlob *outKey) in CopyToInner()
349 struct HksBlob *outKey) in ConstructImportedCurve25519Key()
399 …2_t ConstructImportedDsaPriOrPairKey(uint32_t keySize, uint32_t importType, struct HksBlob *outKey) in ConstructImportedDsaPriOrPairKey()
466 …atic int32_t ConstructImportedDsaKey(uint32_t keySize, uint32_t importType, struct HksBlob *outKey) in ConstructImportedDsaKey()
475 …_t ConstructEcPrivateKey(const struct HksBlob *zDataBlob, uint32_t keySize, struct HksBlob *outKey) in ConstructEcPrivateKey()
508 static int32_t ConstructEccPubKey(uint32_t keySize, struct HksBlob *outKey) in ConstructEccPubKey()
535 const struct HksBlob *zDataBlob, uint32_t keySize, struct HksBlob *outKey) in ConstructEcKey()
593 …atic int32_t ConstructImportedSm2Key(uint32_t keySize, uint32_t importType, struct HksBlob *outKey, in ConstructImportedSm2Key()
648 …t ConstructImportedSm2KeyForOpenssl1(uint32_t keySize, uint32_t importType, struct HksBlob *outKey) in ConstructImportedSm2KeyForOpenssl1()
[all …]
H A Dhks_import_agree_test.cpp628 static int32_t CopyKey(const uint8_t *key, uint32_t size, struct HksBlob *outKey) in CopyKey()
642 …tic int32_t CopyToInner(struct TestImportKeyData *key, uint32_t importType, struct HksBlob *outKey) in CopyToInner()
652 uint32_t alg, uint32_t keySize, uint32_t importType, struct HksBlob *outKey) in ConstructCurve25519Key()
697 uint32_t keySize, uint32_t importType, struct HksBlob *outKey) in ConstructEccKey()
753 uint32_t keySize, uint32_t importType, struct HksBlob *outKey) in ConstructDhKey()
802 struct HksBlob *outKey) in ConstructImportedCurve25519Key()
822 struct HksBlob *outKey) in ConstructImportedEccKey()
916 struct HksBlob *outKey) in ConstructImportedDhKey()
934 struct HksBlob *outKey) in ConstructImportedKey()
H A Dhks_import_wrapped_x25519_suite_test.cpp278 uint32_t alg, uint32_t keySize, uint32_t importType, struct HksBlob *outKey) in ConstructCurve25519Key()
319 struct HksBlob *outKey) in ConstructImportedCurve25519Key()
333 uint32_t keySize, struct HksBlob *outKey, bool isPriKey) in ConstructRsaKey()
H A Dhks_import_rsa_test.cpp330 static int32_t CopyKey(const struct HksBlob *key, struct HksBlob *outKey) in CopyKey()
344 static int32_t ConstructPubKey(uint32_t keySize, struct HksBlob *outKey) in ConstructPubKey()
379 uint32_t keySize, struct HksBlob *outKey, bool isPriKey) in ConstructKey()
428 static int32_t ConstructImportedKey(uint32_t keySize, uint32_t importType, struct HksBlob *outKey) in ConstructImportedKey()
H A Dhks_access_control_test_common.cpp705 const struct HksBlob *eDataBlob, uint32_t keySize, struct HksBlob *outKey) in ConstructRsaKeyPair()
753 struct HksBlob *ed25519PrivData, struct HksBlob *outKey) in ConstructEd25519KeyPair()
793 …onstructDsaKeyPair(uint32_t keySize, const struct TestDsaKeyParams *params, struct HksBlob *outKey) in ConstructDsaKeyPair()
H A Dhks_import_wrapped_sm2_suite_test.cpp694 static int32_t CopyKey(const uint8_t *key, uint32_t size, struct HksBlob *outKey) in CopyKey()
709 uint32_t keySize, uint32_t importType, struct HksBlob *outKey) in ConstructEccKey()
767 struct HksBlob *outKey) in ConstructImportedSm2Key()
H A Dhks_import_wrapped_ecdh_suite_test.cpp270 uint32_t keySize, struct HksBlob *outKey, bool isPriKey) in ConstructKey()
/ohos5.0/base/security/huks/utils/crypto_adapter/
H A Dhks_client_service_adapter_common.c33 int32_t CopyToInnerKey(const struct HksBlob *key, struct HksBlob *outKey) in CopyToInnerKey()
78 const struct HksBlob *key, struct HksBlob *outKey) in GetHksPubKeyInnerFormat()
/ohos5.0/drivers/peripheral/huks/test/unittest/
H A Dhdi_ihuks_api_function_test.cpp284 struct HuksBlob outKey = { variable
319 struct HuksBlob outKey = { variable
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_mbedtls_hmac.c52 uint8_t *outKey = (uint8_t *)HksMalloc(keyByteLen); in HksMbedtlsHmacGenerateKey() local
H A Dhks_mbedtls_aes.c64 uint8_t *outKey = (uint8_t *)HksMalloc(keyByteLen); in HksMbedtlsAesGenerateKey() local
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_core_service_key_generate.c656 static int32_t AppendRsaPublicExponent(const struct HksBlob *key, struct HksBlob *outKey) in AppendRsaPublicExponent()
688 …GetRsaPrivateOrPairInnerFormat(uint32_t keyType, const struct HksBlob *key, struct HksBlob *outKey) in GetRsaPrivateOrPairInnerFormat()
702 const struct HksBlob *key, struct HksBlob *outKey) in GetCurve25519PrivateOrPairInnerFormat()
732 const struct HksParamSet *paramSet, struct HksBlob *outKey) in GetPrivateOrPairInnerFormat()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_related/auth/iso_auth_task/
H A Diso_auth_task_common.c142 static int32_t GenerateAuthTokenForAccessory(const IsoAuthParams *params, Uint8Buff *outKey) in GenerateAuthTokenForAccessory()