Home
last modified time | relevance | path

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

/openbmc/linux/crypto/
H A Dwp512.c1008 unsigned int bits_len = len * 8; // convert to number of bits in wp512_update() local
1009 int sourceGap = (8 - ((int)bits_len & 7)) & 7; in wp512_update()
1018 u64 value = bits_len; in wp512_update()
1025 while (bits_len > 8) { in wp512_update()
1036 bits_len -= 8; in wp512_update()
1039 if (bits_len > 0) { in wp512_update()
1045 if (bufferRem + bits_len < 8) { in wp512_update()
1046 bufferBits += bits_len; in wp512_update()
1050 bits_len -= 8 - bufferRem; in wp512_update()
1056 bufferBits += (int)bits_len; in wp512_update()
H A Dsm2.c272 unsigned int bits_len; in sm2_compute_z_digest() local
289 bits_len = SM2_DEFAULT_USERID_LEN * 8; in sm2_compute_z_digest()
290 entl[0] = bits_len >> 8; in sm2_compute_z_digest()
291 entl[1] = bits_len & 0xff; in sm2_compute_z_digest()
/openbmc/linux/net/ethtool/
H A Dbitset.c188 unsigned int bits_len = 0; in ethnl_bitset32_size() local
206 bits_len += nla_total_size(bit_len); in ethnl_bitset32_size()
209 len += nla_total_size(bits_len); in ethnl_bitset32_size()
/openbmc/linux/drivers/media/pci/cx25821/
H A Dcx25821-medusa-video.c538 static unsigned long convert_to_twos(long numeric, unsigned long bits_len) in convert_to_twos() argument