Searched refs:WP512_BLOCK_SIZE (Results 1 – 1 of 1) sorted by relevance
33 #define WP512_BLOCK_SIZE 64 macro1015 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()[all …]