Searched refs:unused_bits (Results 1 – 3 of 3) sorted by relevance
311 size_t unused_bits, byte_len; in mbedtls_asn1_write_named_bitstring() local317 unused_bits = ( byte_len * 8 ) - bits; in mbedtls_asn1_write_named_bitstring()327 cur_byte_shifted = *cur_byte >> unused_bits; in mbedtls_asn1_write_named_bitstring()354 size_t unused_bits, byte_len; in mbedtls_asn1_write_bitstring() local357 unused_bits = ( byte_len * 8 ) - bits; in mbedtls_asn1_write_bitstring()368 *--( *p ) = buf[byte_len] & ~( ( 0x1 << unused_bits ) - 1 ); in mbedtls_asn1_write_bitstring()374 *--( *p ) = (unsigned char)unused_bits; in mbedtls_asn1_write_bitstring()
229 bs->unused_bits = **p; in mbedtls_asn1_get_bitstring()230 if( bs->unused_bits > 7 ) in mbedtls_asn1_get_bitstring()
169 unsigned char unused_bits; /**< Number of unused bits at the end of the string */ member
Completed in 21 milliseconds