| /base/security/huks/test/unittest/huks_standard_test/storage_multithread_test/src/ |
| D | hks_storage_test.cpp | 71 HksBlob keyBlob = { in PrepareBlob() local 98 HksBlob keyBlob = { variable 128 HksBlob keyBlob = { variable
|
| /base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/ |
| D | hks_teec.c | 315 int32_t HksTeeGenerateKey(const struct HksBlob *keyBlob, const struct HksParamSet *paramSetIn, stru… in HksTeeGenerateKey() 464 int32_t ProcessInit(uint32_t cmdId, const struct HksBlob *keyBlob, const struct HksParamSet *paramS… in ProcessInit() 524 int32_t ProcessOnce(uint32_t cmdId, const struct HksBlob *keyBlob, const struct HksParamSet *paramS… in ProcessOnce() 561 int32_t HksTeeSign(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet, in HksTeeSign() 567 int32_t HksTeeVerify(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet, in HksTeeVerify() 573 int32_t HksTeeMac(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet, in HksTeeMac() 579 int32_t HksTeeEncrypt(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet, in HksTeeEncrypt() 585 int32_t HksTeeDecrypt(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet, in HksTeeDecrypt()
|
| D | hks_ca_access.c | 34 int32_t HksAccessGenerateKey(const struct HksBlob *keyBlob, const struct HksParamSet *paramSetIn, in HksAccessGenerateKey()
|
| /base/security/huks/services/huks_standard/huks_service/main/core/src/ |
| D | hks_storage_lite.c | 382 static int32_t AdjustImageBuffer(uint32_t totalLenAdded, const struct HksBlob *keyBlob) in AdjustImageBuffer() 418 static int32_t AppendNewKey(const struct HksBlob *keyBlob) in AppendNewKey() 454 static int32_t GetLenAfterAddKey(const struct HksBlob *keyBlob, uint32_t totalLen, uint32_t *totalL… in GetLenAfterAddKey() 499 static int32_t StoreKeyBlob(bool needDeleteKey, uint32_t offset, const struct HksBlob *keyBlob) in StoreKeyBlob() 594 enum HksStorageType storageType, const struct HksBlob *keyBlob) in HksStoreKeyBlob() 673 const struct HksBlob *keyAlias, uint32_t storageType, struct HksBlob *keyBlob) in HksStoreGetKeyBlob()
|
| D | hks_storage.c | 423 static int32_t GetKeyBlobFromFile(const char *path, const char *fileName, struct HksBlob *keyBlob) in GetKeyBlobFromFile() 445 const struct HksBlob *keyBlob) in SaveKeyBlob() 485 static int32_t GetKeyBlob(const struct HksStoreFileInfo *fileInfo, struct HksBlob *keyBlob) in GetKeyBlob() 853 enum HksStorageType storageType, const struct HksBlob *keyBlob) in HksStoreKeyBlob() 920 const struct HksBlob *keyAlias, uint32_t storageType, struct HksBlob *keyBlob) in HksStoreGetKeyBlob()
|
| /base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/ |
| D | hks_core_service_test.cpp | 287 …struct HksBlob keyBlob = { .size = KEY_BLOB_DEFAULT_SIZE, .data = (uint8_t *)HksMalloc(KEY_BLOB_DE… variable 319 …struct HksBlob keyBlob = { .size = KEY_BLOB_DEFAULT_SIZE, .data = (uint8_t *)HksMalloc(KEY_BLOB_DE… variable
|
| /base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/hmac/src/ |
| D | mac_openssl.c | 80 HcfBlob keyBlob = ((SymKeyImpl *)key)->keyMaterial; in OpensslEngineInitMac() local
|
| /base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
| D | hks_openssl_sm2.c | 105 static EC_KEY *Sm2InitKey(const struct HksBlob *keyBlob, bool private) in Sm2InitKey()
|
| D | hks_openssl_ecc.c | 301 static EC_KEY *EccInitKey(const struct HksBlob *keyBlob, bool private) in EccInitKey() 346 static int32_t GetEvpKey(const struct HksBlob *keyBlob, EVP_PKEY *key, bool private) in GetEvpKey()
|
| /base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/ |
| D | huks_adapter.c | 170 struct HksBlob keyBlob = { key->length, key->val }; in ComputeHmac() local 289 struct HksBlob keyBlob = { key->length, key->val }; in AesGcmEncrypt() local 364 struct HksBlob keyBlob = { key->length, key->val }; in AesGcmDecrypt() local 791 struct HksBlob keyBlob = { outPubKey->length, outPubKey->val }; in ExportPublicKey() local
|
| /base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/ |
| D | huks_adapter.c | 201 struct HksBlob keyBlob = { key->length, key->val }; in ComputeHmac() local 320 struct HksBlob keyBlob = { key->length, key->val }; in AesGcmEncrypt() local 395 struct HksBlob keyBlob = { key->length, key->val }; in AesGcmDecrypt() local
|
| /base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
| D | hks_keyblob.c | 359 uint8_t *keyBlob = (uint8_t *)HksMalloc(inData->size); in GetAadAndParamSet() local 360 HKS_IF_NULL_LOGE_RETURN(keyBlob, HKS_ERROR_MALLOC_FAIL, "malloc keyBlob failed") in GetAadAndParamSet() local
|
| /base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/ |
| D | huks_adapter.c | 182 struct HksBlob keyBlob = { key->length, key->val }; in ComputeHmac() local 301 struct HksBlob keyBlob = { key->length, key->val }; in AesGcmEncrypt() local 376 struct HksBlob keyBlob = { key->length, key->val }; in AesGcmDecrypt() local 919 struct HksBlob keyBlob = { outPubKey->length, outPubKey->val }; in ExportPublicKey() local
|
| /base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/ |
| D | hks_modify_key_test.c | 302 enum HksStorageType storageType, const struct HksBlob *keyBlob) in HksStoreKeyBlob()
|
| /base/security/huks/test/unittest/huks_lite_test/common/ |
| D | hks_test_aes.c | 531 struct HksBlob keyBlob; in TestAes256ByLocal() local
|
| /base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
| D | openssl_ecc_helper.c | 235 static EC_KEY *EccInitKey(const struct HksBlob *keyBlob, bool sign) in EccInitKey()
|