Hanno Becker f133640475 Add AEAD tag length to new mbedtls_cipher_setup_psa()
For AEAD ciphers, the information contained in mbedtls_cipher_info
is not enough to deduce a PSA algorithm value of type psa_algorithm_t.
This is because mbedtls_cipher_info doesn't contain the AEAD tag
length, while values of type psa_algorithm_t do.

This commit adds the AEAD tag length as a separate parameter
to mbedtls_cipher_setup_psa(). For Non-AEAD ciphers, the value
must be 0.

This approach is preferred over passing psa_algorithm_t directly
in order to keep the changes in existing code using the cipher layer
small.
2018-11-22 14:03:39 +00:00
..
2018-11-09 15:01:07 +00:00
2018-11-09 15:01:07 +00:00
2018-11-09 15:01:07 +00:00
2018-11-09 15:01:07 +00:00
2018-11-09 15:01:07 +00:00
2018-11-09 15:01:07 +00:00
2018-11-09 15:01:07 +00:00
2018-10-15 13:22:41 +02:00
2018-05-15 09:21:57 +01:00
2018-11-09 15:01:07 +00:00
2018-11-09 13:57:37 +00:00
2018-11-09 15:01:07 +00:00
2018-08-14 16:08:38 +01:00
2018-11-09 15:01:07 +00:00
2018-11-09 15:01:07 +00:00
2018-11-09 15:01:07 +00:00
2018-11-09 15:01:07 +00:00
2018-07-24 16:43:20 +01:00
2018-11-09 15:01:07 +00:00
2018-11-21 21:08:43 +00:00
2018-11-09 15:01:07 +00:00
2018-11-09 15:01:07 +00:00
2018-11-09 15:01:07 +00:00