Home
last modified time | relevance | path

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

/linux-4.19.296/crypto/
Dshash.c110 unsigned int unaligned_len = alignmask + 1 - in shash_update_unaligned() local
112 u8 ubuf[shash_align_buffer_size(unaligned_len, alignmask)] in shash_update_unaligned()
117 if (unaligned_len > len) in shash_update_unaligned()
118 unaligned_len = len; in shash_update_unaligned()
120 memcpy(buf, data, unaligned_len); in shash_update_unaligned()
121 err = shash->update(desc, buf, unaligned_len); in shash_update_unaligned()
122 memset(buf, 0, unaligned_len); in shash_update_unaligned()
125 shash->update(desc, data + unaligned_len, len - unaligned_len); in shash_update_unaligned()