Home
last modified time | relevance | path

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

/crypto/
Dshash.c86 unsigned int unaligned_len = alignmask + 1 - in shash_update_unaligned() local
96 if (WARN_ON(buf + unaligned_len > ubuf + sizeof(ubuf))) in shash_update_unaligned()
99 if (unaligned_len > len) in shash_update_unaligned()
100 unaligned_len = len; in shash_update_unaligned()
102 memcpy(buf, data, unaligned_len); in shash_update_unaligned()
103 err = shash->update(desc, buf, unaligned_len); in shash_update_unaligned()
104 memset(buf, 0, unaligned_len); in shash_update_unaligned()
107 shash->update(desc, data + unaligned_len, len - unaligned_len); in shash_update_unaligned()