Home
last modified time | relevance | path

Searched refs:KEY_SIZE (Results 1 - 14 of 14) sorted by relevance

/foundation/communication/netstack/frameworks/js/napi/socket/constant/include/
H A Dcontext_key.h47 #define KEY_SIZE "size" macro
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/crypto/include/
H A Dcrypto_manager.h39 static constexpr int KEY_SIZE = 32; member in OHOS::DistributedData::CryptoManager
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/include/
H A Dsecurity_manager.h35 static constexpr int KEY_SIZE = 32; member in OHOS::DistributedKv::SecurityManager
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Dexif_metadata.cpp48 const auto KEY_SIZE = 2; member
121 if ((key.size() > KEY_SIZE && key.substr(0, KEY_SIZE) == "Hw") || IsSpecialHwKey(key)) { in GetValue()
585 if ((key.size() > KEY_SIZE && key.substr(0, KEY_SIZE) == "Hw") || in SetValue()
722 if ((key.size() > KEY_SIZE && key.substr(0, KEY_SIZE) == "Hw") || in RemoveEntry()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dsecurity_manager.cpp82 key = Random(KEY_SIZE); in GetDBPassword()
145 if (content.size() < (sizeof(time_t) / sizeof(uint8_t)) + KEY_SIZE + 1) { in LoadKeyFromFile()
150 if (content[offset] != char((sizeof(time_t) / sizeof(uint8_t)) + KEY_SIZE)) { in LoadKeyFromFile()
176 content.push_back(char((sizeof(time_t) / sizeof(uint8_t)) + KEY_SIZE)); in SaveKeyToFile()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_le_sec.c98 (void)memcpy_s(param.peerIrk, KEY_SIZE, device->remoteIdentityResolvingKey.key, KEY_SIZE); in BtmAddToResolvingList()
99 (void)memcpy_s(param.localIrk, KEY_SIZE, g_localIdentityResolvingKey.key, KEY_SIZE); in BtmAddToResolvingList()
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/adaptor/
H A Djs_distributedobject.cpp29 constexpr size_t KEY_SIZE = 64; member
49 char key[KEY_SIZE] = { 0 }; in JSGet()
54 status = napi_get_value_string_utf8(env, argv[0], key, KEY_SIZE, &keyLen); in JSGet()
76 char key[KEY_SIZE] = { 0 }; in JSPut()
82 status = napi_get_value_string_utf8(env, argv[0], key, KEY_SIZE, &keyLen); in JSPut()
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/
H A Dsecurity_manager.cpp35 secKey = Random(KEY_SIZE); in GetDBPassword()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/
H A Dsecurity_manager.h91 static constexpr int KEY_SIZE = 32; member in OHOS::DistributedKv::SecurityManager
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dbtm.h535 #define KEY_SIZE 16 macro
538 uint8_t key[KEY_SIZE];
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_adapter.cpp443 if (memcpy_s(btmKey.key, KEY_SIZE, &vec[0], vec.size()) != EOK) { in SetLocalIrkAndIdentityAddrToBtm()
1219 if (memcpy_s(pairedDevice.remoteIdentityResolvingKey.key, KEY_SIZE, &vec[0], vec.size()) != EOK) { in SavePeerDevices2BTM()
1382 (void)memcpy_s(pairedDevice.remoteIdentityResolvingKey.key, KEY_SIZE, &vec[0], vec.size()); in LePairComplete()
/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/
H A Dlocal_socket_exec.cpp177 NapiUtils::SetUint32Property(env, obj, KEY_SIZE, msg->len); in MakeJsLocalSocketMessageParam()
H A Dsocket_exec.cpp280 NapiUtils::SetUint32Property(env, jsRemoteInfo, KEY_SIZE, remoteInfo->GetSize()); in MakeJsMessageParam()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp306 const auto KEY_SIZE = 2; member
1650 if (key.substr(0, KEY_SIZE) == "Hw") {

Completed in 19 milliseconds