zhy2020
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...