Home
last modified time | relevance | path

Searched refs:byte (Results 1 – 21 of 21) sorted by relevance

/optee_os/lib/libutils/ext/
H A Dbase64.c81 uint8_t byte = 0; in base64_dec() local
92 byte = idx << 2; in base64_dec()
97 b[m] = byte | (idx >> 4); in base64_dec()
99 byte = (idx & 0xf) << 4; in base64_dec()
104 b[m] = byte | (idx >> 2); in base64_dec()
106 byte = (idx & 0x3) << 6; in base64_dec()
111 b[m] = byte | idx; in base64_dec()
/optee_os/core/kernel/
H A Dasan.c224 int8_t *byte = va_to_shadow((void *)addr); in asan_shadow_1byte_isvalid() local
226 if (*byte == 0 || last <= *byte) in asan_shadow_1byte_isvalid()
239 int8_t *byte = va_to_shadow((void *)addr); in asan_shadow_2byte_isvalid() local
241 if (*byte == 0 || last <= *byte) in asan_shadow_2byte_isvalid()
255 int8_t *byte = va_to_shadow((void *)addr); in asan_shadow_4byte_isvalid() local
257 if (*byte == 0 || last <= *byte) in asan_shadow_4byte_isvalid()
271 int8_t *byte = va_to_shadow((void *)addr); in asan_shadow_8byte_isvalid() local
273 if (*byte == 0 || last <= *byte) in asan_shadow_8byte_isvalid()
/optee_os/lib/libunw/
H A Dunwind_arm32.c162 *ret_insn = (insn >> (state->byte * 8)) & 0xff; in unwind_exec_read_byte()
165 if (state->byte == 0) { in unwind_exec_read_byte()
166 state->byte = 3; in unwind_exec_read_byte()
170 state->byte--; in unwind_exec_read_byte()
335 state->byte = 2; in unwind_tab()
338 state->byte = 1; in unwind_tab()
/optee_os/core/include/drivers/
H A Di2c.h281 uint8_t *byte) in i2c_smbus_read_byte_data() argument
284 cmd_code, byte, 1); in i2c_smbus_read_byte_data()
298 uint8_t byte) in i2c_smbus_write_byte_data() argument
301 cmd_code, &byte, 1); in i2c_smbus_write_byte_data()
/optee_os/core/drivers/
H A Dhi16xx_rng.c71 uint8_t byte[4]; in hw_get_random_bytes() member
90 buffer[buffer_pos++] = random.byte[pos++]; in hw_get_random_bytes()
H A Ddra7_rng.c109 uint8_t byte[8]; in hw_get_random_bytes() member
124 buffer[buffer_pos++] = fifo.byte[fifo_pos++]; in hw_get_random_bytes()
H A Dimx_i2c.c269 static TEE_Result i2c_write_byte(uint8_t bid, uint8_t byte) in i2c_write_byte() argument
274 i2c_io_write8(bid, I2DR, byte); in i2c_write_byte()
/optee_os/core/drivers/i2c/
H A Datmel_i2c.c65 static TEE_Result atmel_i2c_send_one_byte(struct atmel_i2c *i2c, uint8_t byte) in atmel_i2c_send_one_byte() argument
69 io_write32(i2c->base + TWIHS_THR, byte); in atmel_i2c_send_one_byte()
141 uint8_t *byte) in atmel_i2c_recv_one_byte() argument
155 *byte = io_read32(i2c->base + TWIHS_RHR); in atmel_i2c_recv_one_byte()
/optee_os/core/arch/arm/plat-k3/drivers/
H A Deip76d_trng.c129 uint8_t byte[16]; in hw_get_random_bytes() member
143 buffer[buffer_pos++] = fifo.byte[fifo_pos++]; in hw_get_random_bytes()
/optee_os/ta/pkcs11/src/
H A Dprocessing_ec.c873 uint8_t byte = 0; in pkcs2tee_param_ecdh() local
894 rc = serialargs_get(&args, &byte, sizeof(uint8_t)); in pkcs2tee_param_ecdh()
898 if (byte != 0x02 && byte != 0x03 && byte != 0x04) in pkcs2tee_param_ecdh()
901 if (byte != 0x04) { in pkcs2tee_param_ecdh()
/optee_os/lib/libutils/isoc/newlib/
H A Dstrlen.c88 #error long int is not a 32bit or 64bit byte
H A Dstrcpy.c90 #error long int is not a 32bit or 64bit byte
H A Dstrcmp.c93 #error long int is not a 32bit or 64bit byte
H A Dstrncmp.c92 #error long int is not a 32bit or 64bit byte
H A Dstrncpy.c96 #error long int is not a 32bit or 64bit byte
H A Dmemchr.c97 #error long int is not a 32bit or 64bit byte
/optee_os/core/lib/qcbor/inc/qcbor/
H A DUsefulBuf.h1022 uint8_t byte,
1161 uint8_t byte);
1971 uint8_t byte, in UsefulOutBuf_InsertByte() argument
1974 UsefulOutBuf_InsertData(me, &byte, 1, uPos); in UsefulOutBuf_InsertByte()
2151 uint8_t byte) in UsefulOutBuf_AppendByte() argument
2153 UsefulOutBuf_AppendData(pMe, &byte, 1); in UsefulOutBuf_AppendByte()
/optee_os/lib/libunw/include/unw/
H A Dunwind.h47 unsigned int byte; member
/optee_os/core/pta/tests/
H A Ddt_driver_test.c394 uint8_t __maybe_unused byte = 0; in dt_test_crypt_consumer_probe() local
411 if (crypto_rng_read(&byte, sizeof(byte))) { in dt_test_crypt_consumer_probe()
/optee_os/core/lib/qcbor/
H A DREADME.md142 (and at some point byte-string labels). This includes detection of
158 QCBOR has a special feature for decoding byte-string wrapped CBOR. It
161 byte-string wrapping. The implementation of these protocols is
299 byte stream to them and copying them. Converting and copying them
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog1007 * Improvements to use of unaligned and byte-swapped memory, reducing code
1125 have the most-significant bit set in their last byte.
1706 Currently only 13-byte long IV's are supported.
1707 For decryption a minimum of 16-byte long input is expected.
2603 a byte buffer. It is the inverse of the existing mbedtls_ecp_read_key().
2615 attacker could for example impersonate a 4-bytes or 16-byte domain by
2645 * Fix a 1-byte buffer overread in mbedtls_x509_crl_parse_der().
3033 1 byte too large for the output buffer.
3188 were shifted by one byte, creating an invalid ASN.1 tag. Fixed by
3193 * Fix 1-byte buffer overflow in mbedtls_mpi_write_string() when
[all …]