1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

psa: cipher: Pass Mbed TLS implementation its operation ctx

As per drivers, pass to the Mbed TLS implementation of
the cipher multi-part operation its operation context
and not the PSA operation context.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron
2021-03-10 09:58:47 +01:00
parent 937dfee92c
commit 6e412a71ee
4 changed files with 51 additions and 59 deletions

View File

@ -31,7 +31,7 @@
#include <psa/crypto.h>
#include "mbedtls/cipher.h"
typedef psa_cipher_operation_t test_transparent_cipher_operation_t;
typedef mbedtls_psa_cipher_operation_t test_transparent_cipher_operation_t;
typedef struct{
unsigned int initialised : 1;