commit | 3b555710e2d14876a0ef708b6ed1b24c51f00582 | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Sat Mar 03 21:27:57 2018 +0100 |
committer | itayzafrir <itay.zafrir@arm.com> | Wed Sep 05 11:53:25 2018 +0300 |
tree | 76b67aef0738170ac7cae05b4ab70143cd59f996 | |
parent | 428dc5aef19fb191e528eece58089273b3da7897 [diff] [blame] |
Prototypes for AEAD functions This is still tentative.
diff --git a/include/psa/crypto_struct.h b/include/psa/crypto_struct.h index ffa835e..9e70512 100644 --- a/include/psa/crypto_struct.h +++ b/include/psa/crypto_struct.h
@@ -105,4 +105,17 @@ } 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 */