[riot-notifications] [RIOT-OS/RIOT] cpu/esp32: modules crypto and hashes cannot be used together with module esp_wifi (#10787)

Gunar Schorcht notifications at github.com
Wed Jan 16 16:48:03 CET 2019


#### Description

[`wpa_supplicant`](https://w1.fi/wpa_supplicant) required by module `esp_wifi` includes its own `crypto` library. Therefore, using RIOT modules `sys/crypto` or `sys/hashes` together with module `esp_wifi` leads to multiple definitions of some functions. On the other hand, RIOT modules `sys/crypto` and `sys/hashes` cannot be used to replace the `crypto` libary of `wpa_supplicant` for the following reasons:

- a number of functions used by `wpa_supplicant` are missing
- function signatures expected by `wpa_supplicant` are slightly different

A first incomplete list of missing functions are
```
aes_wrap
aes_encrypt_init
aes_encrypt_deinit
aes_decrypt_init
aes_decrypt_deinit
hmac_md5_vector
hmac_sha256_vector
md5_vector
sha1_prf = sha1_prf,
sha1_vector = sha1_vector,
sha256_prf
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/10787
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190116/46b3c09b/attachment.html>


More information about the notifications mailing list