ivguard
ivguard
I have SM2 private key string, like "C9F699DC1EB82AC8A0F508F045D70D70887AF5D532C7C08A8F6AB3A6243978B3". How to generate 64 length SM2 signatures use private key string without userid? Thanks very much.
The result length of SM2_sign is 70~72. How can i get the R & S from it's sig parameter? thanks.
I have use SM2_sign to generate SM2 signatures successful. The main code is: ``` sig_len = ECDSA_size(key); sign = (unsigned char *)OPENSSL_malloc(sig_len); SM2_sign(NID_sm3, hash, sizeof(hash), sign, &sig_len, key); ``` When...
Jira Link: [DB-2096](https://yugabyte.atlassian.net/browse/DB-2096) ```C++ if (cc_type == consensus::REMOVE_SERVER && leader_uuid == peer_uuid) { string old_leader_uuid = leader_uuid; RETURN_NOT_OK(LeaderStepDown( leader_uuid, tablet_id, /* new_leader_uuid */ std::string(), &consensus_proxy)); sleep(5); // TODO - election...
Jira Link: [DB-1554](https://yugabyte.atlassian.net/browse/DB-1554) The traversal lookup is used here, and if there are many methods, considering the frequent use of RPC, it is bound to have a significant impact on...
```C++ for (const auto& r : reactors_) { if (r->IsCurrentThread()) { chosen = r.get(); break; // +++++++++ should be added } } ```
Jira Link: [DB-4849](https://yugabyte.atlassian.net/browse/DB-4849) There are some files about file_fdw in folder .../extension and .../lib, but the extension can't be used. How can i use this extension?
tag: 2.3.2 ```sql CREATE TABLE t (id1 INT, id2 INT, val INT, PRIMARY KEY(id1, id2)); INSERT INTO t SELECT random()*1000::INTEGER, random()*1000::INTEGER, generate_series(1, 200000) ON CONFLICT DO NOTHING; EXPLAIN SELECT *...
1. Construct or select two rows that are not in the same node, and the two rows are called R1 and R2; 2. The T1 thread starts the transaction, modifies...
Jira Link: [DB-2475](https://yugabyte.atlassian.net/browse/DB-2475) Two tables of very different sizes have the same joint primary key.When an associated query is used against these two tables, the system scans the first table...