Lines Matching refs:WP512_BLOCK_SIZE
33 #define WP512_BLOCK_SIZE 64 macro
1015 unsigned int remain = len % WP512_BLOCK_SIZE; in wp512_update()
1022 source += WP512_BLOCK_SIZE; in wp512_update()
1023 bits_len -= WP512_BLOCK_SIZE * 8; in wp512_update()
1036 u8 buffer[WP512_BLOCK_SIZE]; in wp512_finup()
1042 if (bufferPos > WP512_BLOCK_SIZE - WP512_LENGTHBYTES) { in wp512_finup()
1043 if (bufferPos < WP512_BLOCK_SIZE) in wp512_finup()
1044 memset(&buffer[bufferPos], 0, WP512_BLOCK_SIZE - bufferPos); in wp512_finup()
1048 if (bufferPos < WP512_BLOCK_SIZE - WP512_LENGTHBYTES) in wp512_finup()
1050 (WP512_BLOCK_SIZE - WP512_LENGTHBYTES) - bufferPos); in wp512_finup()
1051 bufferPos = WP512_BLOCK_SIZE - WP512_LENGTHBYTES; in wp512_finup()
1052 memcpy(&buffer[WP512_BLOCK_SIZE - WP512_LENGTHBYTES], in wp512_finup()
1096 .cra_blocksize = WP512_BLOCK_SIZE,
1109 .cra_blocksize = WP512_BLOCK_SIZE,
1122 .cra_blocksize = WP512_BLOCK_SIZE,