Home
last modified time | relevance | path

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

/openthread-3.6.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_asn1parse.data40 Prefixes of BIT STRING, unused_bits=0, payload_length=0
43 Prefixes of BIT STRING, unused_bits=0, payload_length=1
46 Prefixes of BIT STRING, unused_bits=1, payload_length=1
379 BIT STRING: octets=0, unused_bits=0
382 BIT STRING: octets=0, unused_bits=7
385 BIT STRING: octets=0, unused_bits=8
388 BIT STRING: octets=1, unused_bits=0
391 BIT STRING: octets=1, unused_bits=7
394 BIT STRING: octets=1, unused_bits=8
397 BIT STRING: octets=2, unused_bits=0
[all …]
Dtest_suite_asn1parse.function561 TEST_EQUAL( bs.unused_bits, expected_unused_bits );
/openthread-3.6.0/third_party/mbedtls/repo/library/
Dasn1write.c306 size_t unused_bits, byte_len; in mbedtls_asn1_write_named_bitstring() local
312 unused_bits = ( byte_len * 8 ) - bits; in mbedtls_asn1_write_named_bitstring()
322 cur_byte_shifted = *cur_byte >> unused_bits; in mbedtls_asn1_write_named_bitstring()
349 size_t unused_bits, byte_len; in mbedtls_asn1_write_bitstring() local
352 unused_bits = ( byte_len * 8 ) - bits; in mbedtls_asn1_write_bitstring()
363 *--( *p ) = buf[byte_len] & ~( ( 0x1 << unused_bits ) - 1 ); in mbedtls_asn1_write_bitstring()
369 *--( *p ) = (unsigned char)unused_bits; in mbedtls_asn1_write_bitstring()
Dasn1parse.c229 bs->unused_bits = **p; in mbedtls_asn1_get_bitstring()
230 if( bs->unused_bits > 7 ) in mbedtls_asn1_get_bitstring()
/openthread-3.6.0/third_party/mbedtls/repo/include/mbedtls/
Dasn1.h170 unsigned char unused_bits; /**< Number of unused bits at the end of the string */ member