File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -219,11 +219,11 @@ GetReservedSQLCipherCipher(void* cipher)
219219 {
220220 switch (sqlCipherCipher -> m_hmacAlgorithm )
221221 {
222- case SQLCIPHER_HMAC_ALGORITHM_SHA1 :
223- case SQLCIPHER_HMAC_ALGORITHM_SHA256 :
222+ case SQLCIPHER_ALGORITHM_SHA1 :
223+ case SQLCIPHER_ALGORITHM_SHA256 :
224224 reserved += SHA256_DIGEST_SIZE ;
225225 break ;
226- case SQLCIPHER_HMAC_ALGORITHM_SHA512 :
226+ case SQLCIPHER_ALGORITHM_SHA512 :
227227 default :
228228 reserved += SHA512_DIGEST_SIZE ;
229229 break ;
@@ -337,13 +337,13 @@ GetHmacSizeSQLCipherCipher(int algorithm)
337337 int hmacSize = SHA512_DIGEST_SIZE ;
338338 switch (algorithm )
339339 {
340- case SQLCIPHER_HMAC_ALGORITHM_SHA1 :
340+ case SQLCIPHER_ALGORITHM_SHA1 :
341341 hmacSize = SHA1_DIGEST_SIZE ;
342342 break ;
343- case SQLCIPHER_HMAC_ALGORITHM_SHA256 :
343+ case SQLCIPHER_ALGORITHM_SHA256 :
344344 hmacSize = SHA256_DIGEST_SIZE ;
345345 break ;
346- case SQLCIPHER_HMAC_ALGORITHM_SHA512 :
346+ case SQLCIPHER_ALGORITHM_SHA512 :
347347 default :
348348 hmacSize = SHA512_DIGEST_SIZE ;
349349 break ;
You can’t perform that action at this time.
0 commit comments