ChaCha20 without Poly1305 on nRF Connect

Hey,

Does nRFConnect SDK support the ChaCha20 encryption library without Poly1305? 

We are currently using the mbedTLS PSA Crypto library to perform encryption/decryption but it only works if we use the 16 byte authentication tag that is part of the Poly1305 implementation, is it possible on nRFConnect to use ChaCha20 without the Poly tag?

Thanks

Parents Reply
  • There is a test that demonstrate how this should work from an API perspective, specifically psa_cipher_rfc7539_test() from modules/tee/tf-m/tf-m-tests/test/secure_fw/suites/crypto/crypto_tests_common.c. This is not Nordic code though, and I am not able to get it to work myself. I am checking with our crypto team to see if there is a way to make it work. I will update here when I know more.

Children
Related