/optee_os/core/lib/libtomcrypt/src/misc/pkcs12/ |
A D | pkcs12_utf8_to_utf16.c | 30 ulong32 ch = 0; in pkcs12_utf8_to_utf16() local 39 case 5: ch += *in++; ch <<= 6; in pkcs12_utf8_to_utf16() 41 case 4: ch += *in++; ch <<= 6; in pkcs12_utf8_to_utf16() 43 case 3: ch += *in++; ch <<= 6; in pkcs12_utf8_to_utf16() 45 case 2: ch += *in++; ch <<= 6; in pkcs12_utf8_to_utf16() 47 case 1: ch += *in++; ch <<= 6; in pkcs12_utf8_to_utf16() 49 case 0: ch += *in++; in pkcs12_utf8_to_utf16() 51 ch -= offset[extra]; in pkcs12_utf8_to_utf16() 52 if (ch > 0xFFFF) goto ERROR; in pkcs12_utf8_to_utf16() 54 out[len] = (unsigned short)((ch >> 8) & 0xFF); in pkcs12_utf8_to_utf16() [all …]
|
A D | pkcs12_kdf.c | 29 unsigned char ch; in pkcs12_kdf() local 63 ch = 0; in pkcs12_kdf() 65 tmp = I[n * v + j - 1] + B[j - 1] + ch; in pkcs12_kdf() 66 ch = (unsigned char)((tmp >> 8) & 0xFF); in pkcs12_kdf()
|
/optee_os/lib/libutils/ext/ |
A D | snprintk.c | 296 rflag: ch = *fmt++; in kprintf() 297 reswitch: switch (ch) { in kprintf() 328 if ((ch = *fmt++) == '*') { in kprintf() 334 while (is_digit(ch)) { in kprintf() 336 ch = *fmt++; in kprintf() 353 ch = *fmt++; in kprintf() 354 } while (is_digit(ch)); in kprintf() 445 ch = 'x'; in kprintf() 547 if (ch == '\0') in kprintf() 551 *cp = ch; in kprintf() [all …]
|
/optee_os/core/drivers/ |
A D | imx_lpuart.c | 34 int ch = 0; in imx_lpuart_getchar() local 40 ch = io_read32(base + DATA) & 0x3ff; in imx_lpuart_getchar() 45 return ch; in imx_lpuart_getchar() 48 static void imx_lpuart_putc(struct serial_chip *chip, int ch) in imx_lpuart_putc() argument 55 io_write32(base + DATA, ch); in imx_lpuart_putc()
|
A D | stih_asc.c | 33 static void stih_asc_putc(struct serial_chip *chip, int ch) in stih_asc_putc() argument 40 io_write32(base + ASC_TXBUFFER, ch); in stih_asc_putc()
|
A D | amlogic_uart.c | 51 static void amlogic_uart_putc(struct serial_chip *chip, int ch) in amlogic_uart_putc() argument 58 io_write32(base + AML_UART_WFIFO, ch); in amlogic_uart_putc()
|
A D | atmel_uart.c | 79 static void atmel_uart_putc(struct serial_chip *chip, int ch) in atmel_uart_putc() argument 86 io_write32(base + ATMEL_UART_THR, ch); in atmel_uart_putc()
|
A D | scif.c | 64 static void scif_uart_putc(struct serial_chip *chip, int ch) in scif_uart_putc() argument 72 io_write8(base + SCIF_SCFTDR, ch); in scif_uart_putc()
|
A D | sprd_uart.c | 67 static void sprd_uart_putc(struct serial_chip *chip, int ch) in sprd_uart_putc() argument 72 io_write32(base + UART_TXD, ch); in sprd_uart_putc()
|
A D | ns16550.c | 60 static void ns16550_putc(struct serial_chip *chip, int ch) in ns16550_putc() argument 70 serial_out(base + (UART_THR << pd->reg_shift), pd->io_width, ch); in ns16550_putc()
|
A D | cdns_uart.c | 93 static void cdns_uart_putc(struct serial_chip *chip, int ch) in cdns_uart_putc() argument 103 io_write32(base + CDNS_UART_FIFO, ch); in cdns_uart_putc()
|
A D | mvebu_uart.c | 96 static void mvebu_uart_putc(struct serial_chip *chip, int ch) in mvebu_uart_putc() argument 107 io_write32(base + UART_TX_REG, ch); in mvebu_uart_putc()
|
A D | hi16xx_uart.c | 77 static void hi16xx_uart_putc(struct serial_chip *chip, int ch) in hi16xx_uart_putc() argument 86 io_write32(base + UART_THR, ch & 0xFF); in hi16xx_uart_putc()
|
A D | serial8250_uart.c | 71 static void serial8250_uart_putc(struct serial_chip *chip, int ch) in serial8250_uart_putc() argument 78 io_write32(base + UART_THR, ch); in serial8250_uart_putc()
|
A D | imx_uart.c | 114 static void imx_uart_putc(struct serial_chip *chip, int ch) in imx_uart_putc() argument 123 io_write32(base + UTXD, ch); in imx_uart_putc()
|
/optee_os/core/include/drivers/ |
A D | ns16550.h | 54 static inline void serial_out(vaddr_t addr, uint8_t io_width, int ch) in serial_out() argument 57 io_write32(addr, ch); in serial_out() 59 io_write8(addr, ch); in serial_out()
|
/optee_os/core/arch/arm/plat-sprd/ |
A D | console.c | 41 void console_putc(int ch) in console_putc() argument 45 cons->ops->putc(cons, ch & 0xff); in console_putc()
|
/optee_os/core/arch/arm/plat-bcm/ |
A D | crc32.c | 75 static uint32_t ucrc32(const char ch, uint32_t crc) in ucrc32() argument 77 return crc32tbl[(crc ^ ch) & 0xff] ^ (crc >> 8); in ucrc32()
|
A D | bcm_elog.c | 11 void bcm_elog_putchar(char ch) in bcm_elog_putchar() argument 21 io_write8(base + offset, ch); in bcm_elog_putchar()
|
/optee_os/core/arch/arm/plat-stm/ |
A D | main.c | 66 void console_putc(int ch) in console_putc() argument 72 if (ch == '\n') in console_putc() 74 cons->ops->putc(cons, ch); in console_putc()
|
/optee_os/core/kernel/ |
A D | console.c | 19 void __weak console_putc(int ch) in console_putc() argument 24 if (ch == '\n') in console_putc() 26 serial_console->ops->putc(serial_console, ch); in console_putc()
|
/optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_sign_hash.c | 43 unsigned char ch, buf[MAXBLOCKSIZE]; in ecc_sign_hash_ex() local 72 for (i=0, ch=0; i<pbytes; i++) { in ecc_sign_hash_ex() 73 buf[i] = ch; in ecc_sign_hash_ex() 74 ch = (in[i] << (8-shift_right)); in ecc_sign_hash_ex()
|
A D | ecc_verify_hash.c | 41 unsigned char ch, buf[MAXBLOCKSIZE]; in ecc_verify_hash_ex() local 146 for (i=0, ch=0; i<pbytes; i++) { in ecc_verify_hash_ex() 147 buf[i] = ch; in ecc_verify_hash_ex() 148 ch = (hash[i] << (8-shift_right)); in ecc_verify_hash_ex()
|
A D | ecc_recover_key.c | 44 unsigned char ch, buf[MAXBLOCKSIZE]; in ecc_recover_key() local 166 for (i=0, ch=0; i<pbytes; i++) { in ecc_recover_key() 167 buf[i] = ch; in ecc_recover_key() 168 ch = (hash[i] << (8-shift_right)); in ecc_recover_key()
|
/optee_os/lib/libutee/ |
A D | base64.c | 60 static bool get_idx(char ch, uint8_t *idx) in get_idx() argument 65 if (ch == base64_table[n]) { in get_idx()
|