Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dasn1write.c311 size_t unused_bits, byte_len; in mbedtls_asn1_write_named_bitstring() local
317 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() local
357 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()
A Dasn1parse.c229 bs->unused_bits = **p; in mbedtls_asn1_get_bitstring()
230 if( bs->unused_bits > 7 ) in mbedtls_asn1_get_bitstring()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dasn1.h169 unsigned char unused_bits; /**< Number of unused bits at the end of the string */ member

Completed in 21 milliseconds