zhy2020

Results 11 comments of zhy2020

> @zhy2020我很抱歉错过了这个。你有进步吗?如果没有,我这周会试着看看。 > > 同时:通过在[wolfSSL](https://github.com/wolfSSL/wolfssl/)上提交您的问题,您会得到更快的答复。 > > [此外,如#16](https://github.com/espressif/esp-wolfssl/issues/16)中所述,此 repo 有一个有点旧的 wolfssl 子模块。使用[最新的代码](https://github.com/wolfSSL/wolfssl/releases/)甚至可能已经解决了您遇到的问题。 So far there has been no progress

> my_private_key my_private_key is imported through the.pem file -----BEGIN EC PRIVATE KEY----- MHcCAQEEIGXOdeNRODqoWF2G1Pv5c/9606thVSgAR2b0MDRZErxwoAoGCCqGSM49 AwEHoUQDQgAEJJOl0J2L60fM3o+sGHuGrQCZEMlBIv2N6uOYYE2JfllBg5OIYGsi jzV60X62bCasAXcLYOSGmyDHmdN2W1/BdA== -----END EC PRIVATE KEY----- The hexadecimal value of my_public_key is 042493a5d09d8beb47ccde8fac187b86ad009910c94122fd8deae398604d897e5941839388606b228f357ad17eb66c26ac01770b60e4869b20c799d3 765b5fc174 ephemeral_key.data is b'04f3476fb37270eef09966fd17ca7967ede63a2bb3d23b4aee6e8b459482aebd7a939a95cbbbd01a1ec46b1976509e1cb82990d8eec34c98d14b69c5d8f7cee21c'...

> Hi @zhy2020 - I've updated my [demo app](https://github.com/gojimmypi/wolfssl/blob/ED25519_SHA2_fix/IDE/Espressif/ESP-IDF5/examples/wolfssl_esp_21/main/main.c) that seems to be working a bit better. > > I found the key to success is to use the [wc_ecc_check_key](https://www.wolfssl.com/documentation/manuals/wolfssl/group__ECC.html#function-wc_ecc_check_key)....

sorry, I was too anxious and neglected the correctness of the value. I have been able to generate shared_key by using the wc_ecc_set_rng and wc_ecc_check_key methods. It is not the...

> Sorry I forgot to synchronize my progress, the program has not returned -170, I was mistaken private_key.pem file, I can get the correct shared_key. But when I used the...

> Sorry, I am an amateur developer on esp32 platform, I don't know how to test as you said, do you have time to help me solve this problem? thank...

> hi, When I use this code, I get these errors ![43bc05511895cd371e2ff21cb58e3db](https://user-images.githubusercontent.com/61862986/215272596-ed412a1a-f3a1-486e-b1d0-ce50e1cd0f0e.jpg) ![45a4192d634edc45835e10d28754472](https://user-images.githubusercontent.com/61862986/215272680-72f6a68e-b37e-4019-8524-f395d175902c.jpg) ![45a4192d634edc45835e10d28754472](https://user-images.githubusercontent.com/61862986/215272784-06bce050-53a4-4088-b940-7c3f00cd5b35.jpg)

> I'm using the code in the 'example/Main.py'.

> When I changed write_command to write_request, the program reported an error ![9c8261d0af20c8fdc8d90a54ffd3942](https://user-images.githubusercontent.com/61862986/215333148-3bbbf3aa-dc0c-4873-87e9-7b7878b46a8b.jpg)