commit | 5d1888ebc547535294f20e9041680911b5d99e1b | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Thu Jul 12 00:32:42 2018 +0200 |
committer | itayzafrir <itay.zafrir@arm.com> | Wed Sep 12 16:41:11 2018 +0300 |
tree | 1f95ff53427f6e329b3b0717d4d43c35527aba14 | |
parent | 2853849498e8a69ff237c52cea29b23d488cb307 [diff] [blame] |
Rename PSA_ALG_STREAM_CIPHER -> PSA_ALG_STREAM_CIPHER_BASE Follow the usual naming convention: PSA_ALG_xxx_BASE for a constant that isn't an algorithm, just used to build one.
diff --git a/library/psa_crypto.c b/library/psa_crypto.c index 9145a6d..50a9990 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c
@@ -1191,7 +1191,7 @@ switch( alg ) { - case PSA_ALG_STREAM_CIPHER: + case PSA_ALG_STREAM_CIPHER_BASE: mode = MBEDTLS_MODE_STREAM; break; case PSA_ALG_CBC_BASE: