@@ -408,13 +408,11 @@ int SHAKE_Final(uint8_t *md, KECCAK1600_CTX *ctx, size_t len);
408
408
void SHA3_Reset (KECCAK1600_CTX * ctx );
409
409
410
410
// SHA3_Init initialises |ctx| fields and returns 1 on success and 0 on failure.
411
- OPENSSL_EXPORT int SHA3_Init (KECCAK1600_CTX * ctx , uint8_t pad ,
412
- size_t bitlen );
411
+ OPENSSL_EXPORT int SHA3_Init (KECCAK1600_CTX * ctx , uint8_t pad , size_t bitlen );
413
412
414
413
// SHA3_Update processes all data blocks that don't need pad through
415
414
// |Keccak1600_Absorb| and returns 1 and 0 on failure.
416
- int SHA3_Update (KECCAK1600_CTX * ctx , const void * data ,
417
- size_t len );
415
+ int SHA3_Update (KECCAK1600_CTX * ctx , const void * data , size_t len );
418
416
419
417
// SHA3_Final pads the last data block and processes it through |Keccak1600_Absorb|.
420
418
// It processes the data through |Keccak1600_Squeeze| and returns 1 and 0 on failure.
@@ -423,7 +421,7 @@ int SHA3_Final(uint8_t *md, KECCAK1600_CTX *ctx);
423
421
// Keccak1600_Absorb processes the largest multiple of |r| out of |len| bytes and
424
422
// returns the remaining number of bytes.
425
423
size_t Keccak1600_Absorb (uint64_t A [KECCAK1600_ROWS ][KECCAK1600_ROWS ],
426
- const uint8_t * data , size_t len , size_t r );
424
+ const uint8_t * data , size_t len , size_t r );
427
425
428
426
// Keccak1600_Squeeze generates |out| value of |len| bytes (per call). It can be called
429
427
// multiple times when used as eXtendable Output Function. |padded| indicates
0 commit comments