Prototypes for symmetric cipher functions

This commit is contained in:
Gilles Peskine 2018-03-03 21:27:18 +01:00 committed by itayzafrir
parent 7e4acc5ef8
commit 428dc5aef1
2 changed files with 141 additions and 2 deletions

View file

@ -93,4 +93,16 @@ struct psa_mac_operation_s
} ctx;
};
struct psa_cipher_operation_s
{
psa_algorithm_t alg;
int key_set : 1;
int iv_set : 1;
uint8_t iv_size;
uint8_t block_size;
union
{
} ctx;
};
#endif /* PSA_CRYPTO_STRUCT_H */