Lines Matching refs:o

915 static void xor128(ARIA_c128 o, const ARIA_c128 x, const ARIA_u128 *y)  in xor128()  argument
920 o[i] = x[i] ^ y->c[i]; in xor128()
927 static ossl_inline void rotnr(unsigned int n, ARIA_u128 *o, in rotnr() argument
937 o->c[i] = ((t.c[i] >> bits) | in rotnr()
946 static void rot19r(ARIA_u128 *o, const ARIA_u128 *xor, const ARIA_u128 *z) in rot19r() argument
948 rotnr(19, o, xor, z); in rot19r()
955 static void rot31r(ARIA_u128 *o, const ARIA_u128 *xor, const ARIA_u128 *z) in rot31r() argument
957 rotnr(31, o, xor, z); in rot31r()
964 static void rot61l(ARIA_u128 *o, const ARIA_u128 *xor, const ARIA_u128 *z) in rot61l() argument
966 rotnr(8 * ARIA_BLOCK_SIZE - 61, o, xor, z); in rot61l()
973 static void rot31l(ARIA_u128 *o, const ARIA_u128 *xor, const ARIA_u128 *z) in rot31l() argument
975 rotnr(8 * ARIA_BLOCK_SIZE - 31, o, xor, z); in rot31l()
982 static void rot19l(ARIA_u128 *o, const ARIA_u128 *xor, const ARIA_u128 *z) in rot19l() argument
984 rotnr(8 * ARIA_BLOCK_SIZE - 19, o, xor, z); in rot19l()
991 static void sl1(ARIA_u128 *o, const ARIA_u128 *x, const ARIA_u128 *y) in sl1() argument
995 o->c[i ] = sb1[x->c[i ] ^ y->c[i ]]; in sl1()
996 o->c[i + 1] = sb2[x->c[i + 1] ^ y->c[i + 1]]; in sl1()
997 o->c[i + 2] = sb3[x->c[i + 2] ^ y->c[i + 2]]; in sl1()
998 o->c[i + 3] = sb4[x->c[i + 3] ^ y->c[i + 3]]; in sl1()
1006 static void sl2(ARIA_c128 o, const ARIA_u128 *x, const ARIA_u128 *y) in sl2() argument
1010 o[i ] = sb3[x->c[i ] ^ y->c[i ]]; in sl2()
1011 o[i + 1] = sb4[x->c[i + 1] ^ y->c[i + 1]]; in sl2()
1012 o[i + 2] = sb1[x->c[i + 2] ^ y->c[i + 2]]; in sl2()
1013 o[i + 3] = sb2[x->c[i + 3] ^ y->c[i + 3]]; in sl2()
1062 static ossl_inline void FO(ARIA_u128 *o, const ARIA_u128 *d, in FO() argument
1068 a(o, &y); in FO()
1076 static ossl_inline void FE(ARIA_u128 *o, const ARIA_u128 *d, in FE() argument
1082 a(o, &y); in FE()
1089 static void do_encrypt(unsigned char *o, const unsigned char *pin, in do_encrypt() argument
1101 sl2(o, &p, &keys[rounds - 1]); in do_encrypt()
1102 xor128(o, o, &keys[rounds]); in do_encrypt()