Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/ciphers/
H A Didea.c36 typedef unsigned short int ushort16; typedef
44 a = (ushort16)p - (ushort16)HIGH16(p); \
50 #define LOAD16(x,y) { x = ((ushort16)((y)[0] & 255)<<8) | ((ushort16)((y)[1] & 255)); }
52 static ushort16 s_mul_inv(ushort16 x) in s_mul_inv()
54 ushort16 y = x; in s_mul_inv()
64 static ushort16 s_add_inv(ushort16 x) in s_add_inv()
72 ushort16 *e_key = skey->idea.ek; in s_setup_key()
73 ushort16 *d_key = skey->idea.dk; in s_setup_key()
101 static int s_process_block(const unsigned char *in, unsigned char *out, const ushort16 *m_key) in s_process_block()
104 ushort16 x0, x1, x2, x3, t0, t1; in s_process_block()
[all …]