Home
last modified time | relevance | path

Searched refs:state_var (Results 1 – 1 of 1) sorted by relevance

/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_hash.h341 #define HASH_PROCESS(func_name, compress_name, state_var, block_size) \ argument
348 if (md-> state_var .curlen > sizeof(md-> state_var .buf)) { \
352 if (md-> state_var .curlen == 0 && inlen >= block_size) { \
356 md-> state_var .length += block_size * 8; \
360 n = MIN(inlen, (block_size - md-> state_var .curlen)); \
361 memcpy(md-> state_var .buf + md-> state_var.curlen, in, (size_t)n); \
362 md-> state_var .curlen += n; \
365 if (md-> state_var .curlen == block_size) { \
366 if ((err = compress_name (md, md-> state_var .buf)) != CRYPT_OK) { \
369 md-> state_var .length += 8*block_size; \
[all …]