Searched refs:priKey (Results 1 - 12 of 12) sorted by relevance
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/ |
H A D | modify_time_cursor.cpp | 45 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 D | relational_store.cpp | 686 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 D | adaptor_algorithm.c | 57 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 D | adaptor_algorithm.c | 48 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 D | adaptor_algorithm_test.cpp | 59 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 D | adaptor_algorithm_test.cpp | 58 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 D | ed25519_key.c | 44 return g_keyPair->priKey; in GetPriKey()
|
/drivers/peripheral/user_auth/hdi_service/adaptor/inc/ |
H A D | adaptor_algorithm.h | 38 Buffer *priKey; member
|
/drivers/peripheral/pin_auth/hdi_service/adaptor/inc/ |
H A D | adaptor_algorithm.h | 41 Buffer *priKey; member
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/metadata/ |
H A D | meta_data_manager.cpp | 128 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 D | obex_utils.cpp | 238 std::string priKey(key); in MakeNonce() 240 std::string nonce = timeStamp + ":" + priKey; in MakeNonce()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_store.cpp | 25 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 9 milliseconds