Merge remote-tracking branch 'upstream/development' into psa-m-aead-merge
Also fiixed the following merge problems:
crypto_struct.h : Added MBEDTLS_PRIVATE to psa_aead_operation_s
members (merge conflict)
psa_crypto_aead.c : Added ciphertext_length to mbedtls_gcm_finish
call (change of API during development)
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
diff --git a/library/psa_crypto_aead.c b/library/psa_crypto_aead.c
index 01d5d19..9000abf 100644
--- a/library/psa_crypto_aead.c
+++ b/library/psa_crypto_aead.c
@@ -643,7 +643,7 @@
status = mbedtls_to_psa_error(
mbedtls_gcm_finish( &operation->ctx.gcm,
- ciphertext, ciphertext_size,
+ ciphertext, ciphertext_size, ciphertext_length,
tag, operation->tag_length ) );
}
else