Searched refs:unaligned_len (Results 1 – 1 of 1) sorted by relevance
110 unsigned int unaligned_len = alignmask + 1 - in shash_update_unaligned() local112 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()