Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 25 of 34) sorted by relevance

12

/optee_os/core/lib/libtomcrypt/src/misc/pkcs12/
A Dpkcs12_utf8_to_utf16.c30 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 Dpkcs12_kdf.c29 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 Dsnprintk.c296 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 Dimx_lpuart.c34 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 Dstih_asc.c33 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 Damlogic_uart.c51 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 Datmel_uart.c79 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 Dscif.c64 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 Dsprd_uart.c67 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 Dns16550.c60 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 Dcdns_uart.c93 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 Dmvebu_uart.c96 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 Dhi16xx_uart.c77 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 Dserial8250_uart.c71 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 Dimx_uart.c114 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 Dns16550.h54 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 Dconsole.c41 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 Dcrc32.c75 static uint32_t ucrc32(const char ch, uint32_t crc) in ucrc32() argument
77 return crc32tbl[(crc ^ ch) & 0xff] ^ (crc >> 8); in ucrc32()
A Dbcm_elog.c11 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 Dmain.c66 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 Dconsole.c19 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 Decc_sign_hash.c43 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 Decc_verify_hash.c41 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 Decc_recover_key.c44 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 Dbase64.c60 static bool get_idx(char ch, uint8_t *idx) in get_idx() argument
65 if (ch == base64_table[n]) { in get_idx()

Completed in 19 milliseconds

12