Home
last modified time | relevance | path

Searched defs:randomKey (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
H A Dopenssl_aes_helper.c31 int32_t GenerateAesKey(const int keyLen, struct HksBlob *randomKey) in GenerateAesKey()
126 const struct HksBlob *randomKey) in AesEncrypt()
180 const struct HksBlob *randomKey) in AesDecrypt()
234 const struct HksBlob *randomKey, const struct HksBlob *tagAead) in AesGcmEncrypt()
289 const struct HksBlob *randomKey, const struct HksBlob *tagDec) in AesGcmDecrypt()
/ohos5.0/foundation/communication/dsoftbus/adapter/common/mbedtls/
H A Dsoftbus_aes_encrypt_virtual.c20const EncryptKey *randomKey, const uint8_t *rootKey, uint32_t rootKeyLen, uint8_t *hash, uint32_t … in SoftBusGenerateHmacHash()
30 int32_t SoftBusAesCfbRootEncrypt(const AesInputData *inData, const EncryptKey *randomKey, EncryptKe… in SoftBusAesCfbRootEncrypt()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dcrypto_manager_test.cpp31 static std::vector<uint8_t> randomKey; member in CryptoManagerTest
37 std::vector<uint8_t> CryptoManagerTest::randomKey; member in CryptoManagerTest
H A Dkvdb_general_store_test.cpp182 std::vector<uint8_t> randomKey = Random(KEY_LENGTH); variable
/ohos5.0/foundation/communication/dsoftbus/adapter/common/openssl/
H A Dsoftbus_aes_encrypt.c40const EncryptKey *randomKey, const uint8_t *rootKey, uint32_t rootKeyLen, uint8_t *hash, uint32_t … in SoftBusGenerateHmacHash()
126 static int32_t RootKeyGenerateIvAndSessionKey(const EncryptKey *randomKey, EncryptKey *rootKey, Aes… in RootKeyGenerateIvAndSessionKey()
148 static int32_t GenerateIvAndSessionKey(const EncryptKey *randomKey, EncryptKey *rootKey, AesCipherK… in GenerateIvAndSessionKey()
176 int32_t SoftBusAesCfbRootEncrypt(const AesInputData *inData, const EncryptKey *randomKey, EncryptKe… in SoftBusAesCfbRootEncrypt()
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/fuzztest/softbusaescrypto_fuzzer/
H A Dsoftbusaescrypto_fuzzer.cpp30 EncryptKey randomKey = { data, size }; in SoftBusGenerateHmacHashFuzzTest() local
41 EncryptKey randomKey = { data, size }; in SoftBusAesCfbRootEncryptFuzzTest() local
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/unittest/
H A Ddsoftbus_aes_crypto_test.cpp61 EncryptKey randomKey = { randStr, randLen }; variable
86 EncryptKey randomKey = { randStr, randLen }; variable
117 EncryptKey randomKey = { randStr, randLen }; variable
149 EncryptKey randomKey = { randStr, randLen }; variable
188 EncryptKey randomKey = { randStr, randLen }; variable
240 EncryptKey randomKey = { randStr, randLen }; variable
285 EncryptKey randomKey = { randStr, randLen }; variable
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/unittest/
H A Dlnn_huks_test.cpp101 uint8_t randomKey[LNN_HUKS_AES_COMMON_SIZE] = {0}; variable
/ohos5.0/foundation/communication/dsoftbus/tests/core/discovery/ble/softbus_ble_mock/
H A Dbus_center_mock.cpp52 int32_t LnnGenerateRandomByHuks(uint8_t *randomKey, uint32_t len) in LnnGenerateRandomByHuks()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/
H A Dlnn_decision_db_deps_mock.cpp84 int32_t LnnGenerateRandomByHuks(uint8_t *randomKey, uint32_t len) in LnnGenerateRandomByHuks()