Searched refs:byte_len (Results 1 – 2 of 2) sorted by relevance
305 size_t unused_bits, byte_len; in mbedtls_asn1_write_named_bitstring() local310 byte_len = ( bits + 7 ) / 8; in mbedtls_asn1_write_named_bitstring()311 unused_bits = ( byte_len * 8 ) - bits; in mbedtls_asn1_write_named_bitstring()320 cur_byte = buf + byte_len - 1; in mbedtls_asn1_write_named_bitstring()348 size_t unused_bits, byte_len; in mbedtls_asn1_write_bitstring() local350 byte_len = ( bits + 7 ) / 8; in mbedtls_asn1_write_bitstring()351 unused_bits = ( byte_len * 8 ) - bits; in mbedtls_asn1_write_bitstring()353 if( *p < start || (size_t)( *p - start ) < byte_len + 1 ) in mbedtls_asn1_write_bitstring()356 len = byte_len + 1; in mbedtls_asn1_write_bitstring()359 if( byte_len > 0 ) in mbedtls_asn1_write_bitstring()[all …]
365 size_t byte_len = ( hex_len + 1 ) / 2; in mbedtls_test_read_mpi_core() local366 *plimbs = CHARS_TO_LIMBS( byte_len ); in mbedtls_test_read_mpi_core()379 if( byte_len % sizeof( mbedtls_mpi_uint ) != 0 ) in mbedtls_test_read_mpi_core()381 byte_start += sizeof( mbedtls_mpi_uint ) - byte_len % sizeof( mbedtls_mpi_uint ); in mbedtls_test_read_mpi_core()389 --byte_len; in mbedtls_test_read_mpi_core()392 byte_len, in mbedtls_test_read_mpi_core()394 &byte_len ) == 0 ); in mbedtls_test_read_mpi_core()