Prototypes for AEAD functions
This is still tentative.
This commit is contained in:
parent
428dc5aef1
commit
3b555710e2
2 changed files with 151 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue