Lines Matching refs:byte_count
421 static u64 hash_pad(__le32 *buf, unsigned int bufsize, u64 padi, u64 byte_count, bool le, int bs) in hash_pad() argument
431 fill = 64 - (byte_count % 64); in hash_pad()
434 fill = 128 - (byte_count % 128); in hash_pad()
453 *lebits = cpu_to_le64(byte_count << 3); in hash_pad()
459 *bebits = cpu_to_be64(byte_count << 3); in hash_pad()
464 *bebits = cpu_to_be64(byte_count >> 61); in hash_pad()
467 *bebits = cpu_to_be64(byte_count << 3); in hash_pad()
495 u64 byte_count; in sun8i_ss_hash_run() local
578 byte_count = areq->nbytes; in sun8i_ss_hash_run()
599 byte_count = areq->nbytes + bs; in sun8i_ss_hash_run()
627 byte_count = digestsize + bs; in sun8i_ss_hash_run()
635 j = hash_pad(bf, 4096, j, byte_count, true, bs); in sun8i_ss_hash_run()
640 j = hash_pad(bf, 4096, j, byte_count, false, bs); in sun8i_ss_hash_run()