commit | 428dc5aef19fb191e528eece58089273b3da7897 | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Sat Mar 03 21:27:18 2018 +0100 |
committer | itayzafrir <itay.zafrir@arm.com> | Wed Sep 05 11:53:25 2018 +0300 |
tree | 6a8f2cd18608b906d19a7d0b2d000e760bd19991 | |
parent | 7e4acc5ef859f7b677d989d3d75d21fa3890b0d9 [diff] [blame] |
Prototypes for symmetric cipher functions
diff --git a/include/psa/crypto_struct.h b/include/psa/crypto_struct.h index 6bd4ed2..ffa835e 100644 --- a/include/psa/crypto_struct.h +++ b/include/psa/crypto_struct.h
@@ -93,4 +93,16 @@ } 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 */