Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/apr-util/crypto/
HDapr_sha1.c82 #define SHA_BLOCKSIZE 64 macro
232 i = SHA_BLOCKSIZE - sha_info->local; in apr_sha1_update_binary()
240 if (sha_info->local == SHA_BLOCKSIZE) { in apr_sha1_update_binary()
241 maybe_byte_reverse(sha_info->data, SHA_BLOCKSIZE); in apr_sha1_update_binary()
248 while (count >= SHA_BLOCKSIZE) { in apr_sha1_update_binary()
249 memcpy(sha_info->data, buffer, SHA_BLOCKSIZE); in apr_sha1_update_binary()
250 buffer += SHA_BLOCKSIZE; in apr_sha1_update_binary()
251 count -= SHA_BLOCKSIZE; in apr_sha1_update_binary()
252 maybe_byte_reverse(sha_info->data, SHA_BLOCKSIZE); in apr_sha1_update_binary()
274 i = SHA_BLOCKSIZE - sha_info->local; in apr_sha1_update()
[all …]