Home
last modified time | relevance | path

Searched refs:length_bytes (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/crypto/
H A Dder.c89 uint8_t length_bytes = 0, header_byte; in qcrypto_der_encode_length() local
95 for (length_bytes = 1; max_length < src_len; length_bytes++) { in qcrypto_der_encode_length()
98 header_byte = length_bytes; in qcrypto_der_encode_length()
100 *dst_len = length_bytes + 1; in qcrypto_der_encode_length()
107 for (; length_bytes > 0; length_bytes--) { in qcrypto_der_encode_length()
108 *dst++ = ((src_len >> (length_bytes - 1) * 8) & 0xFF); in qcrypto_der_encode_length()
/openbmc/u-boot/tools/
H A Dsocfpgaimage.c122 uint32_t length_bytes) in sfp_build_header() argument
128 .length_u32 = cpu_to_le16(length_bytes / 4), in sfp_build_header()
137 .length_u8 = cpu_to_le32(length_bytes), in sfp_build_header()