lint fixes discussed in #199

This commit is contained in:
Karel Miko
2017-04-29 19:58:24 +02:00
parent 253f3c45e1
commit 87142382da
7 changed files with 7 additions and 8 deletions
+1 -2
View File
@@ -52,8 +52,7 @@ int gcm_memory( int cipher,
}
if (cipher_descriptor[cipher].accel_gcm_memory != NULL) {
return
cipher_descriptor[cipher].accel_gcm_memory
return cipher_descriptor[cipher].accel_gcm_memory
(key, keylen,
IV, IVlen,
adata, adatalen,
+1 -1
View File
@@ -54,7 +54,7 @@ int ocb3_add_aad(ocb3_state *ocb, const unsigned char *aad, unsigned long aadlen
datalen = aadlen;
}
if (datalen <= 0) return CRYPT_OK;
if (datalen == 0) return CRYPT_OK;
full_blocks = datalen/ocb->block_len;
full_blocks_len = full_blocks * ocb->block_len;