1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Rename the PSA driver context structure headers to _primitives

This is a preparatory step in order to be able to organize the include
chain from crypto_struct in such a way that the MAC operation structure
for the PSA 'software' driver can make use of the hash operation structure.

Conceptually:
* Primitives:
  * Hash
  * Cipher
* Composites:
  * AEAD (can use cipher)
  * MAC (can use cipher and/or hash)

Signed-off-by: Steven Cooreman <steven.cooreman@silabs.com>
This commit is contained in:
Steven Cooreman
2021-04-26 11:54:58 +02:00
parent 85bb47596c
commit 040d1cea15
4 changed files with 14 additions and 11 deletions

View File

@ -77,7 +77,7 @@ extern "C" {
#include "mbedtls/gcm.h"
/* Include the context definition for the compiled-in drivers */
#include "psa/crypto_driver_contexts.h"
#include "psa/crypto_driver_contexts_primitives.h"
struct psa_hash_operation_s
{