Home
last modified time | relevance | path

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

/crypto/
Dshash.c81 unsigned int unaligned_len = alignmask + 1 - in shash_update_unaligned() local
83 u8 ubuf[shash_align_buffer_size(unaligned_len, alignmask)] in shash_update_unaligned()
88 if (unaligned_len > len) in shash_update_unaligned()
89 unaligned_len = len; in shash_update_unaligned()
91 memcpy(buf, data, unaligned_len); in shash_update_unaligned()
92 err = shash->update(desc, buf, unaligned_len); in shash_update_unaligned()
93 memset(buf, 0, unaligned_len); in shash_update_unaligned()
96 shash->update(desc, data + unaligned_len, len - unaligned_len); in shash_update_unaligned()