This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to use CC310 ChaChaPoly with zero-length data or adata?

Hello there,

It seems the CC310 backend for ChaChaPoly does not allow zero-length data or adata (associated data). I am implementing a protocol that requires this (Wireguard, based on the Noise-IK handshake),

I have tried removing the error checks in the nrf_crypto wrapper, but it seems the actual CC310 library also does checks.

Is there any way to get this to work?

Thanks

Related