| /base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
| H A D | napi_key_pair.cpp | 47 static bool WrapPubKey(napi_env env, napi_value instance, HcfPubKey *key) in WrapPubKey() argument 72 static bool WrapPriKey(napi_env env, napi_value instance, HcfPriKey *key) in WrapPriKey() argument
|
| H A D | napi_sym_key.cpp | 52 HcfSymKey *key = napiSymKey->GetSymKey(); in JsClearMem() local
|
| /base/security/crypto_framework/frameworks/native/src/ |
| H A D | sym_key.c | 40 HcfKey key; member [all...] |
| /base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/hmac/src/ |
| H A D | mac_openssl.c | 69 static HcfResult OpensslEngineInitMac(HcfMacSpi *self, const HcfSymKey *key) in OpensslEngineInitMac() argument
|
| /base/security/crypto_framework/test/unittest/src/aes_cipher/ |
| H A D | crypto_aes_cipher_test.cpp | 49 HcfSymKey *key = nullptr; in HWTEST_F() local 111 HcfSymKey *key = nullptr; in HWTEST_F() local 142 HcfSymKey *key = nullptr; in HWTEST_F() local 172 HcfSymKey *key = nullptr; HWTEST_F() local 198 HcfSymKey *key = nullptr; HWTEST_F() local 229 HcfSymKey *key = nullptr; HWTEST_F() local 260 HcfSymKey *key = nullptr; HWTEST_F() local 285 HcfSymKey *key = nullptr; HWTEST_F() local 316 HcfSymKey *key = nullptr; HWTEST_F() local 363 HcfSymKey *key = nullptr; HWTEST_F() local 402 HcfSymKey *key = nullptr; HWTEST_F() local 441 HcfSymKey *key = nullptr; HWTEST_F() local 486 HcfSymKey *key = nullptr; HWTEST_F() local 601 HcfSymKey *key = nullptr; HWTEST_F() local 623 HcfSymKey *key = nullptr; HWTEST_F() local 651 HcfSymKey *key = nullptr; HWTEST_F() local 681 HcfSymKey *key = nullptr; HWTEST_F() local 718 HcfSymKey *key = nullptr; HWTEST_F() local 755 HcfSymKey *key = nullptr; HWTEST_F() local 861 HcfSymKey *key = nullptr; HWTEST_F() local 884 HcfSymKey *key = nullptr; HWTEST_F() local [all...] |
| /base/security/crypto_framework/test/unittest/src/ |
| H A D | crypto_hkdf_test.cpp | 66 HcfBlob key = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_keyData)), in HWTEST_F() local 91 HcfBlob key = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_keyData)), in HWTEST_F() local 118 HcfBlob key = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_keyData)), in HWTEST_F() local 147 HcfBlob key in HWTEST_F() local 186 HcfBlob key = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_keyData)), HWTEST_F() local 207 HcfBlob key = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_keyData)), HWTEST_F() local 231 HcfBlob key = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_keyData)), HWTEST_F() local 256 HcfBlob key = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_keyData)), HWTEST_F() local 281 HcfBlob key = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_keyData)), HWTEST_F() local 306 HcfBlob key = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_keyData)), HWTEST_F() local 331 HcfBlob key = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_keyData)), HWTEST_F() local 356 HcfBlob key = {.data = nullptr, .len = 0}; HWTEST_F() local 377 HcfBlob key = {.data = nullptr, .len = 0}; HWTEST_F() local 398 HcfBlob key = {.data = nullptr, .len = 0}; HWTEST_F() local 422 HcfBlob key = {.data = nullptr, .len = 0}; HWTEST_F() local 443 HcfBlob key = {.data = nullptr, .len = 0}; HWTEST_F() local 518 HcfBlob key = {.data = keyData, .len = sizeof(keyData)}; HWTEST_F() local 566 HcfBlob key = {.data = keyData, .len = sizeof(keyData)}; HWTEST_F() local 590 HcfBlob key = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_keyData)), HWTEST_F() local [all...] |
| H A D | crypto_sm4_cipher_test.cpp | 54 HcfSymKey *key = nullptr; in HWTEST_F() local 102 HcfSymKey *key = nullptr; in HWTEST_F() local 149 HcfSymKey *key = nullptr; HWTEST_F() local 195 HcfSymKey *key = nullptr; HWTEST_F() local 244 HcfSymKey *key = nullptr; HWTEST_F() local 290 HcfSymKey *key = nullptr; HWTEST_F() local 338 HcfSymKey *key = nullptr; HWTEST_F() local 386 HcfSymKey *key = nullptr; HWTEST_F() local 433 HcfSymKey *key = nullptr; HWTEST_F() local 480 HcfSymKey *key = nullptr; HWTEST_F() local 528 HcfSymKey *key = nullptr; HWTEST_F() local 575 HcfSymKey *key = nullptr; HWTEST_F() local 623 HcfSymKey *key = nullptr; HWTEST_F() local 672 HcfSymKey *key = nullptr; HWTEST_F() local 720 HcfSymKey *key = nullptr; HWTEST_F() local 811 HcfSymKey *key = nullptr; HWTEST_F() local 850 HcfSymKey *key = nullptr; HWTEST_F() local 887 HcfSymKey *key = nullptr; HWTEST_F() local 978 HcfSymKey *key = nullptr; HWTEST_F() local 1015 HcfSymKey *key = nullptr; HWTEST_F() local 1035 HcfSymKey *key = nullptr; HWTEST_F() local 1061 HcfSymKey *key = nullptr; HWTEST_F() local 1084 HcfSymKey *key = nullptr; HWTEST_F() local 1212 HcfSymKey *key = nullptr; HWTEST_F() local 1250 HcfSymKey *key = nullptr; HWTEST_F() local 1288 HcfSymKey *key = nullptr; HWTEST_F() local [all...] |
| H A D | crypto_sm4_generator_test.cpp | 56 static int32_t GenerateSymKey(const char *algoName, HcfSymKey **key) in GenerateSymKey() argument 78 HcfSymKey *key = nullptr; in HWTEST_F() local 140 HcfSymKey *key = nullptr; in HWTEST_F() local 171 HcfSymKey *key in HWTEST_F() local 197 HcfSymKey *key = nullptr; HWTEST_F() local 228 HcfSymKey *key = nullptr; HWTEST_F() local 253 HcfSymKey *key = nullptr; HWTEST_F() local 284 HcfSymKey *key = nullptr; HWTEST_F() local 323 HcfSymKey *key = nullptr; HWTEST_F() local 362 HcfSymKey *key = nullptr; HWTEST_F() local 407 HcfSymKey *key = nullptr; HWTEST_F() local 508 HcfSymKey *key = nullptr; HWTEST_F() local 530 HcfSymKey *key = nullptr; HWTEST_F() local 559 HcfSymKey *key = nullptr; HWTEST_F() local 587 HcfSymKey *key = nullptr; HWTEST_F() local 622 HcfSymKey *key = nullptr; HWTEST_F() local [all...] |
| H A D | sm4_common.cpp | 35 HcfResult GenerateSm4SymKey(HcfSymKey **key) in GenerateSm4SymKey() argument 53 int32_t GenerateSymKeyForSm4(const char *algoName, HcfSymKey **key) in GenerateSymKeyForSm4() argument 73 int32_t Sm4EncryptWithInput(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in Sm4EncryptWithInput() argument 116 int32_t Sm4DecryptEmptyMsg(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in Sm4DecryptEmptyMsg() argument 142 Sm4Encrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, uint8_t *cipherText, int *cipherTextLen) Sm4Encrypt() argument 185 Sm4Decrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, uint8_t *cipherText, int cipherTextLen) Sm4Decrypt() argument 232 Sm4NoUpdateEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, uint8_t *cipherText, int *cipherTextLen) Sm4NoUpdateEncrypt() argument 262 Sm4NoUpdateDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, uint8_t *cipherText, int cipherTextLen) Sm4NoUpdateDecrypt() argument [all...] |
| /base/security/crypto_framework/test/unittest/src/native/ |
| H A D | native_sym_cipher_test.cpp | 52 OH_Crypto_ErrCode AesEncrypt(OH_CryptoSymCipher *cipher, OH_CryptoSymKey *key, OH_CryptoSymCipherParams *params, in AesEncrypt() argument 96 OH_Crypto_ErrCode AesDecrypt(OH_CryptoSymCipher *cipher, OH_CryptoSymKey *key, OH_CryptoSymCipherParams *params, in AesDecrypt() argument
|
| /base/security/device_auth/frameworks/deviceauth_lite/source/auth_info/ |
| H A D | remove_auth_info.c | 107 const struct sts_session_key *key = get_sts_session_key(hichain); in build_remove_response_data() local
|
| /base/security/device_auth/services/legacy/authenticators/src/account_related/ |
| H A D | account_module.c | 43 const char *key = NULL; in IsAccountMsgNeedIgnore() local
|
| /base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/ |
| H A D | dlp_zip_test.cpp | 46 struct DlpBlob key = { in initDlpFileCiper() local
|
| /base/security/huks/frameworks/crypto_lite/cipher/include/ |
| H A D | cipher.h | 45 char *key;
member 72 char *key;
member
|
| /base/startup/init/interfaces/innerkits/syspara/ |
| H A D | param_wrapper.cpp | 34 bool SetParameter(const std::string& key, const std::string& value) in SetParameter() argument 68 std::string GetParameter(const std::string& key, const std::string& def) in GetParameter() argument 85 bool GetBoolParameter(const std::string& key, bool def) in GetBoolParameter() argument 103 int GetStringParameter(const std::string &key, std::string &value, const std::string def) in GetStringParameter() argument 123 GetIntParameter(const std::string& key, T def, T min, T max) GetIntParameter() argument 142 GetUintParameter(const std::string& key, T def, T max) GetUintParameter() argument 180 GetIntParameter(const std::string &key, int def) GetIntParameter() argument [all...] |
| H A D | param_comm.c | 69 INIT_LOCAL_API int GetParameter_(const char *key, const char *def, char *value, uint32_t len)
in GetParameter_() argument 97 INIT_LOCAL_API const char *GetProperty(const char *key, const char **paramHolder)
in GetProperty() argument
|
| /base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/ |
| H A D | hks_ipc_slice.c | 45 static uint32_t GetParamSize(const struct HksBlob *key, const struct HksParamSet *paramSet, uint32_t *bufSize) in GetParamSize() argument 75 static int32_t ProcessDataOnce(uint32_t cmdId, const struct HksBlob *key, const struct HksParamSet *paramSet, in ProcessDataOnce() argument 118 int32_t HksSliceDataEntry(uint32_t cmdId, const struct HksBlob *key, const struct HksParamSet *paramSet, in HksSliceDataEntry() argument [all...] |
| /base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/ |
| H A D | hks_mac_test.c | 103 static int32_t Mac(const struct HksBlob *key, const struct HksBlob *srcData, struct HksBlob *macData, in Mac() argument 135 struct HksBlob *key = NULL; in BaseTestMac() local [all...] |
| /base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
| H A D | hks_inner_test.cpp | 138 HksBlob key = {0}; in HWTEST_F() local 185 HksBlob key = {0}; in HWTEST_F() local
|
| H A D | hks_mac_test.cpp | 101 static int32_t Mac(const struct HksBlob *key, const struct HksBlob *srcData, struct HksBlob *macData, in Mac() argument 136 struct HksBlob *key = NULL; in BaseTestMac() local [all...] |
| /base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
| H A D | hks_openssl_hmac.c | 43 static int32_t HmacCheckBuffer(const struct HksBlob *key, const struct HksBlob *msg, const struct HksBlob *mac)
in HmacCheckBuffer() argument 61 int32_t HksOpensslHmacGenerateKey(const struct HksKeySpec *spec, struct HksBlob *key)
in HksOpensslHmacGenerateKey() argument 94 int32_t HksOpensslHmac(const struct HksBlob *key, uint32_t digestAlg, const struct HksBlob *msg, struct HksBlob *mac)
in HksOpensslHmac() argument 70 HmacCheckParam( const struct HksBlob *key, uint32_t alg, const struct HksBlob *msg, const struct HksBlob *mac) HmacCheckParam() argument 112 HksOpensslHmacInit(void **cryptoCtx, const struct HksBlob *key, uint32_t digestAlg) HksOpensslHmacInit() argument [all...] |
| /base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
| H A D | hks_mbedtls_hmac.c | 44 int32_t HksMbedtlsHmacGenerateKey(const struct HksKeySpec *spec, struct HksBlob *key)
in HksMbedtlsHmacGenerateKey() argument 87 int32_t HksMbedtlsHmac(const struct HksBlob *key,
in HksMbedtlsHmac() argument 115 int32_t HksMbedtlsHmacInit(void **cryptoCtx, const struct HksBlob *key, uint32_t digestAlg)
in HksMbedtlsHmacInit() argument
|
| /base/security/huks/interfaces/kits/napi/src/v8/ |
| H A D | huks_napi_export_key.cpp | 41 struct HksBlob *key = nullptr; member [all...] |
| H A D | huks_napi_import_key.cpp | 41 struct HksBlob *key = nullptr; member [all...] |
| /base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/ |
| H A D | hks_base_check_test.cpp | 259 struct HksBlob key = { .size = 0, .data = nullptr}; in HWTEST_F() local 273 struct HksBlob key = { .size = sizeof(struct HksParamSet), .data = nullptr}; in HWTEST_F() local 352 struct HksBlob key = { .size = sizeof(paramSet), .data = (uint8_t *)paramSet}; in HWTEST_F() local
|