ivguard
ivguard
Thanks very much. You've solved my problem perfectly. @mattcaswell
My sm2 private key is a string, so i use following code to load pkey: ``` key = EC_KEY_new_by_curve_name(NID_sm2); BIGNUM *rawkey = NULL; BN_hex2bn(&rawkey, privkey_hex); EC_KEY_set_private_key(key, rawkey); group = EC_KEY_get0_group(key);...
I added this function, but the signature is wrong again: ``` key = EC_KEY_new_by_curve_name(NID_sm2); BIGNUM *rawkey = NULL; BN_hex2bn(&rawkey, privkey_hex); EC_KEY_set_private_key(key, rawkey); group = EC_KEY_get0_group(key); pubkey = EC_POINT_new(group); EC_POINT_mul(group, pubkey,...
Thanks mattcaswell and everyone. You've solved my problem perfectly. @mattcaswell The last code is: ``` EVP_PKEY_CTX *ctx = EVP_PKEY_CTX_new(pkey, NULL); if (!ctx) goto err; if (EVP_PKEY_sign_init(ctx)
In traditional database applications, this is a very important function.
[https://github.com/yugabyte/yugabyte-db/pull/5997](https://github.com/yugabyte/yugabyte-db/pull/5997)
[https://github.com/yugabyte/yugabyte-db/pull/5996](https://github.com/yugabyte/yugabyte-db/pull/5996)
What's the w/e metadata?
When PG is used for comparison, ROWS is only 2, consistent with the reality
I feel that this may be an inherent flaw in the use of hybrid logic clocks, causing the nodes to fail to find records that meet the ht_read time.