VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Crypto.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-07-14 17:32:57 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:21:21 +0100
commitbbc738c490bcd691151c28f971e0e153777fb255 (patch)
tree81d6c3dbca12021fc8dd9563462c19836f5591a6 /src/Common/Crypto.h
parent8bf58486af14c662ed63abea093886bfcf2ddbe5 (diff)
downloadVeraCrypt-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.h4
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);
269int CipherGetKeySize (int cipher); 269int CipherGetKeySize (int cipher);
270int CipherGetKeyScheduleSize (int cipher); 270int CipherGetKeyScheduleSize (int cipher);
271BOOL CipherSupportsIntraDataUnitParallelization (int cipher); 271BOOL CipherSupportsIntraDataUnitParallelization (int cipher);
272char * CipherGetName (int cipher); 272const char * CipherGetName (int cipher);
273 273
274int CipherInit (int cipher, unsigned char *key, unsigned char *ks); 274int CipherInit (int cipher, unsigned char *key, unsigned char *ks);
275int EAInit (int ea, unsigned char *key, unsigned char *ks); 275int EAInit (int ea, unsigned char *key, unsigned char *ks);
@@ -302,7 +302,7 @@ int EAGetPreviousCipher (int ea, int previousCipherId);
302int EAIsFormatEnabled (int ea); 302int EAIsFormatEnabled (int ea);
303BOOL EAIsModeSupported (int ea, int testedMode); 303BOOL EAIsModeSupported (int ea, int testedMode);
304 304
305char *HashGetName (int hash_algo_id); 305const char *HashGetName (int hash_algo_id);
306BOOL HashIsDeprecated (int hashId); 306BOOL HashIsDeprecated (int hashId);
307 307
308int GetMaxPkcs5OutSize (void); 308int GetMaxPkcs5OutSize (void);