Home
last modified time | relevance | path

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

/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter_common.c33 int32_t CopyToInnerKey(const struct HksBlob *key, struct HksBlob *outKey) in CopyToInnerKey()
78 struct HksParam *algParam, const struct HksBlob *key, struct HksBlob *outKey) in HksSymmetricKeySizeCheck()
112 const struct HksBlob *key, struct HksBlob *outKey) in GetHksPubKeyInnerFormat()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
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 …]
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()
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()
Dhks_import_rsa_test.cpp378 static int32_t CopyKey(const struct HksBlob *key, struct HksBlob *outKey) in CopyKey()
392 static int32_t ConstructPubKey(uint32_t keySize, struct HksBlob *outKey) in ConstructPubKey()
431 uint32_t keySize, struct HksBlob *outKey, bool isPriKey) in ConstructKey()
531 static int32_t ConstructImportedKey(uint32_t keySize, uint32_t importType, struct HksBlob *outKey) in ConstructImportedKey()
Dhks_import_wrapped_sm2_suite_test.cpp696 static int32_t CopyKey(const uint8_t *key, uint32_t size, struct HksBlob *outKey) in CopyKey()
711 uint32_t keySize, uint32_t importType, struct HksBlob *outKey) in ConstructEccKey()
769 struct HksBlob *outKey) in ConstructImportedSm2Key()
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()
Dhks_import_wrapped_ecdh_suite_test.cpp270 uint32_t keySize, struct HksBlob *outKey, bool isPriKey) in ConstructKey()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_key_generate.c655 static int32_t AppendRsaPublicExponent(const struct HksBlob *key, struct HksBlob *outKey) in AppendRsaPublicExponent()
687 …GetRsaPrivateOrPairInnerFormat(uint32_t keyType, const struct HksBlob *key, struct HksBlob *outKey) in GetRsaPrivateOrPairInnerFormat()
701 const struct HksBlob *key, struct HksBlob *outKey) in GetCurve25519PrivateOrPairInnerFormat()
731 const struct HksParamSet *paramSet, struct HksBlob *outKey) in GetPrivateOrPairInnerFormat()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_hmac.c53 uint8_t *outKey = (uint8_t *)HksMalloc(keyByteLen); in HksMbedtlsHmacGenerateKey() local
Dhks_mbedtls_des.c73 uint8_t *outKey = (uint8_t *)HksMalloc(keyByteLen); in HksMbedtlsDesGenerateKey() local
Dhks_mbedtls_3des.c69 uint8_t *outKey = (uint8_t *)HksMalloc(keyByteLen); in HksMbedtls3DesGenerateKey() local
Dhks_mbedtls_aes.c65 uint8_t *outKey = (uint8_t *)HksMalloc(keyByteLen); in HksMbedtlsAesGenerateKey() local
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_3des.c53 uint8_t *outKey = (uint8_t *)HksMalloc(keyByteLen); in HksOpenssl3DesGenerateKey() local
Dhks_openssl_des.c51 uint8_t *outKey = (uint8_t *)HksMalloc(keyByteLen); in HksOpensslDesGenerateKey() local
/base/security/device_auth/services/legacy/authenticators/src/account_related/auth/iso_auth_task/
Diso_auth_task_common.c142 static int32_t GenerateAuthTokenForAccessory(const IsoAuthParams *params, Uint8Buff *outKey) in GenerateAuthTokenForAccessory()