Lines Matching refs:WP512_BLOCK_SIZE
33 #define WP512_BLOCK_SIZE 64 macro
40 u8 buffer[WP512_BLOCK_SIZE];
1030 if (bufferBits == WP512_BLOCK_SIZE * 8) { in wp512_update()
1051 if (bufferBits == WP512_BLOCK_SIZE * 8) { in wp512_update()
1077 if (bufferPos > WP512_BLOCK_SIZE - WP512_LENGTHBYTES) { in wp512_final()
1078 if (bufferPos < WP512_BLOCK_SIZE) in wp512_final()
1079 memset(&buffer[bufferPos], 0, WP512_BLOCK_SIZE - bufferPos); in wp512_final()
1083 if (bufferPos < WP512_BLOCK_SIZE - WP512_LENGTHBYTES) in wp512_final()
1085 (WP512_BLOCK_SIZE - WP512_LENGTHBYTES) - bufferPos); in wp512_final()
1086 bufferPos = WP512_BLOCK_SIZE - WP512_LENGTHBYTES; in wp512_final()
1087 memcpy(&buffer[WP512_BLOCK_SIZE - WP512_LENGTHBYTES], in wp512_final()
1129 .cra_blocksize = WP512_BLOCK_SIZE,
1141 .cra_blocksize = WP512_BLOCK_SIZE,
1153 .cra_blocksize = WP512_BLOCK_SIZE,