Lines Matching refs:w0
542 uint32_t w0[4], w1[4], w2[4], w3[4]; in ossl_aria_set_encrypt_key() local
559 w0[0] = GET_U32_BE(userKey, 0); in ossl_aria_set_encrypt_key()
560 w0[1] = GET_U32_BE(userKey, 1); in ossl_aria_set_encrypt_key()
561 w0[2] = GET_U32_BE(userKey, 2); in ossl_aria_set_encrypt_key()
562 w0[3] = GET_U32_BE(userKey, 3); in ossl_aria_set_encrypt_key()
564 reg0 = w0[0] ^ ck[0]; in ossl_aria_set_encrypt_key()
565 reg1 = w0[1] ^ ck[1]; in ossl_aria_set_encrypt_key()
566 reg2 = w0[2] ^ ck[2]; in ossl_aria_set_encrypt_key()
567 reg3 = w0[3] ^ ck[3]; in ossl_aria_set_encrypt_key()
603 reg0 ^= w0[0]; in ossl_aria_set_encrypt_key()
604 reg1 ^= w0[1]; in ossl_aria_set_encrypt_key()
605 reg2 ^= w0[2]; in ossl_aria_set_encrypt_key()
606 reg3 ^= w0[3]; in ossl_aria_set_encrypt_key()
625 ARIA_GSRK(rk, w0, w1, 19); in ossl_aria_set_encrypt_key()
631 ARIA_GSRK(rk, w3, w0, 19); in ossl_aria_set_encrypt_key()
634 ARIA_GSRK(rk, w0, w1, 31); in ossl_aria_set_encrypt_key()
640 ARIA_GSRK(rk, w3, w0, 31); in ossl_aria_set_encrypt_key()
643 ARIA_GSRK(rk, w0, w1, 67); in ossl_aria_set_encrypt_key()
649 ARIA_GSRK(rk, w3, w0, 67); in ossl_aria_set_encrypt_key()
652 ARIA_GSRK(rk, w0, w1, 97); in ossl_aria_set_encrypt_key()
661 ARIA_GSRK(rk, w3, w0, 97); in ossl_aria_set_encrypt_key()
664 ARIA_GSRK(rk, w0, w1, 109); in ossl_aria_set_encrypt_key()
1126 ARIA_u128 kr, w0, w1, w2, w3; in ossl_aria_set_encrypt_key() local
1130 memcpy(w0.c, userKey, sizeof(w0)); in ossl_aria_set_encrypt_key()
1160 FO(&w3, &w0, ck1); xor128(w1.c, w3.c, &kr); in ossl_aria_set_encrypt_key()
1161 FE(&w3, &w1, ck2); xor128(w2.c, w3.c, &w0); in ossl_aria_set_encrypt_key()
1164 rot19r(&key->rd_key[ 0], &w0, &w1); in ossl_aria_set_encrypt_key()
1167 rot19r(&key->rd_key[ 3], &w3, &w0); in ossl_aria_set_encrypt_key()
1169 rot31r(&key->rd_key[ 4], &w0, &w1); in ossl_aria_set_encrypt_key()
1172 rot31r(&key->rd_key[ 7], &w3, &w0); in ossl_aria_set_encrypt_key()
1174 rot61l(&key->rd_key[ 8], &w0, &w1); in ossl_aria_set_encrypt_key()
1177 rot61l(&key->rd_key[11], &w3, &w0); in ossl_aria_set_encrypt_key()
1179 rot31l(&key->rd_key[12], &w0, &w1); in ossl_aria_set_encrypt_key()
1185 rot31l(&key->rd_key[15], &w3, &w0); in ossl_aria_set_encrypt_key()
1186 rot19l(&key->rd_key[16], &w0, &w1); in ossl_aria_set_encrypt_key()