Prototypes for AEAD functions

This is still tentative.
This commit is contained in:
Gilles Peskine 2018-03-03 21:27:57 +01:00 committed by itayzafrir
parent 428dc5aef1
commit 3b555710e2
2 changed files with 151 additions and 0 deletions

View file

@ -105,4 +105,17 @@ struct psa_cipher_operation_s
} ctx;
};
struct psa_aead_operation_s
{
psa_algorithm_t alg;
int key_set : 1;
int iv_set : 1;
int ad_set : 1;
uint8_t iv_size;
uint8_t block_size;
union
{
} ctx;
};
#endif /* PSA_CRYPTO_STRUCT_H */