Home
last modified time | relevance | path

Searched refs:priKey (Results 1 - 12 of 12) sorted by relevance

/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/
H A Dmodify_time_cursor.cpp45 auto priKey = ConvertPRIKey(); in GetText() local
46 auto *val = Traits::get_if<std::string>(&priKey); in GetText()
66 auto priKey = ConvertPRIKey(); in GetInt64() local
67 auto *val = Traits::get_if<int64_t>(&priKey); in GetInt64()
80 auto priKey = ConvertPRIKey(); in GetReal() local
81 auto *val = Traits::get_if<double>(&priKey); in GetReal()
H A Drelational_store.cpp686 OHOS::NativeRdb::RdbStore::PRIKey priKey; in OH_Rdb_FindModifyTime() local
687 OHOS::NativeRdb::RawDataParser::Convert(std::move(object.value), priKey); in OH_Rdb_FindModifyTime() local
688 keys.push_back(std::move(priKey)); in OH_Rdb_FindModifyTime()
/drivers/peripheral/user_auth/hdi_service/adaptor/src/
H A Dadaptor_algorithm.c57 keyPair->priKey = CreateBufferBySize(ED25519_FIX_PRIKEY_BUFFER_SIZE); in CreateEd25519KeyPair()
58 if (keyPair->priKey == NULL) { in CreateEd25519KeyPair()
75 if (keyPair->priKey != NULL) { in DestoryKeyPair()
76 DestoryBuffer(keyPair->priKey); in DestoryKeyPair()
91 if (!CheckBufferWithSize(keyPair->priKey, ED25519_FIX_PRIKEY_BUFFER_SIZE)) { in IsEd25519KeyPairValid()
125 size_t priKeySize = keyPair->priKey->maxSize; in GenerateEd25519KeyPair()
126 if (EVP_PKEY_get_raw_private_key(key, keyPair->priKey->buf, &priKeySize) != OPENSSL_SUCCESS) { in GenerateEd25519KeyPair()
130 keyPair->priKey->contentSize = priKeySize; in GenerateEd25519KeyPair()
154 keyPair->priKey->buf, keyPair->priKey in Ed25519Sign()
[all...]
/drivers/peripheral/pin_auth/hdi_service/adaptor/src/
H A Dadaptor_algorithm.c48 keyPair->priKey = CreateBufferBySize(ED25519_FIX_PRIKEY_BUFFER_SIZE); in CreateEd25519KeyPair()
49 if (keyPair->priKey == NULL) { in CreateEd25519KeyPair()
66 if (keyPair->priKey != NULL) { in DestroyKeyPair()
67 DestroyBuffer(keyPair->priKey); in DestroyKeyPair()
82 if (!CheckBufferWithSize(keyPair->priKey, ED25519_FIX_PRIKEY_BUFFER_SIZE)) { in IsEd25519KeyPairValid()
116 size_t priKeySize = keyPair->priKey->maxSize; in GenerateEd25519KeyPair()
117 if (EVP_PKEY_get_raw_private_key(key, keyPair->priKey->buf, &priKeySize) != OPENSSL_SUCCESS) { in GenerateEd25519KeyPair()
121 keyPair->priKey->contentSize = priKeySize; in GenerateEd25519KeyPair()
145 keyPair->priKey->buf, keyPair->priKey in Ed25519Sign()
[all...]
/drivers/peripheral/pin_auth/test/unittest/pin_auth/adaptor/src/
H A Dadaptor_algorithm_test.cpp59 keyPair2.priKey = CopyBuffer(data); in HWTEST_F()
60 EXPECT_NE(keyPair2.priKey, nullptr); in HWTEST_F()
63 DestroyBuffer(keyPair2.priKey); in HWTEST_F()
66 keyPair3.priKey = nullptr; in HWTEST_F()
141 result = Ed25519Verify(keyPair->priKey, data, signContent); in HWTEST_F()
/drivers/peripheral/user_auth/test/unittest/base_test/src/
H A Dadaptor_algorithm_test.cpp58 keyPair2.priKey = CopyBuffer(data); in HWTEST_F()
59 EXPECT_NE(keyPair2.priKey, nullptr); in HWTEST_F()
62 DestoryBuffer(keyPair2.priKey); in HWTEST_F()
65 keyPair3.priKey = nullptr; in HWTEST_F()
140 result = Ed25519Verify(keyPair->priKey, data, signContent); in HWTEST_F()
/drivers/peripheral/user_auth/hdi_service/key_mgr/src/
H A Ded25519_key.c44 return g_keyPair->priKey; in GetPriKey()
/drivers/peripheral/user_auth/hdi_service/adaptor/inc/
H A Dadaptor_algorithm.h38 Buffer *priKey; member
/drivers/peripheral/pin_auth/hdi_service/adaptor/inc/
H A Dadaptor_algorithm.h41 Buffer *priKey; member
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/metadata/
H A Dmeta_data_manager.cpp128 for (const auto &priKey : priData) { in HandleChanges()
129 if (priKey.empty()) { in HandleChanges()
132 auto strValue = std::get_if<std::string>(&priKey[0]); in HandleChanges()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_utils.cpp238 std::string priKey(key); in MakeNonce()
240 std::string nonce = timeStamp + ":" + priKey; in MakeNonce()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_store.cpp25 for (auto &[_, priKey] : hash_) { in ModifyTime()
26 if (priKey.index() != Traits::variant_index_of_v<std::string, PRIKey>) { in ModifyTime()
29 auto *val = Traits::get_if<std::string>(&priKey); in ModifyTime()

Completed in 10 milliseconds