diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-07-14 17:32:57 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-11-08 23:21:21 +0100 |
commit | bbc738c490bcd691151c28f971e0e153777fb255 (patch) | |
tree | 81d6c3dbca12021fc8dd9563462c19836f5591a6 /src/Common/Crypto.h | |
parent | 8bf58486af14c662ed63abea093886bfcf2ddbe5 (diff) | |
download | VeraCrypt-bbc738c490bcd691151c28f971e0e153777fb255.tar.gz VeraCrypt-bbc738c490bcd691151c28f971e0e153777fb255.zip |
Static Code Analysis : Add various NULL pointers checks
Diffstat (limited to 'src/Common/Crypto.h')
-rw-r--r-- | src/Common/Crypto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Crypto.h b/src/Common/Crypto.h index dd35eeca..4f47ec04 100644 --- a/src/Common/Crypto.h +++ b/src/Common/Crypto.h | |||
@@ -269,7 +269,7 @@ int CipherGetBlockSize (int cipher); | |||
269 | int CipherGetKeySize (int cipher); | 269 | int CipherGetKeySize (int cipher); |
270 | int CipherGetKeyScheduleSize (int cipher); | 270 | int CipherGetKeyScheduleSize (int cipher); |
271 | BOOL CipherSupportsIntraDataUnitParallelization (int cipher); | 271 | BOOL CipherSupportsIntraDataUnitParallelization (int cipher); |
272 | char * CipherGetName (int cipher); | 272 | const char * CipherGetName (int cipher); |
273 | 273 | ||
274 | int CipherInit (int cipher, unsigned char *key, unsigned char *ks); | 274 | int CipherInit (int cipher, unsigned char *key, unsigned char *ks); |
275 | int EAInit (int ea, unsigned char *key, unsigned char *ks); | 275 | int EAInit (int ea, unsigned char *key, unsigned char *ks); |
@@ -302,7 +302,7 @@ int EAGetPreviousCipher (int ea, int previousCipherId); | |||
302 | int EAIsFormatEnabled (int ea); | 302 | int EAIsFormatEnabled (int ea); |
303 | BOOL EAIsModeSupported (int ea, int testedMode); | 303 | BOOL EAIsModeSupported (int ea, int testedMode); |
304 | 304 | ||
305 | char *HashGetName (int hash_algo_id); | 305 | const char *HashGetName (int hash_algo_id); |
306 | BOOL HashIsDeprecated (int hashId); | 306 | BOOL HashIsDeprecated (int hashId); |
307 | 307 | ||
308 | int GetMaxPkcs5OutSize (void); | 308 | int GetMaxPkcs5OutSize (void); |