Lines Matching refs:w1

542     uint32_t w0[4], w1[4], w2[4], w3[4];  in ossl_aria_set_encrypt_key()  local
572 w1[0] = GET_U32_BE(userKey, 4); in ossl_aria_set_encrypt_key()
573 w1[1] = GET_U32_BE(userKey, 5); in ossl_aria_set_encrypt_key()
575 w1[2] = GET_U32_BE(userKey, 6); in ossl_aria_set_encrypt_key()
576 w1[3] = GET_U32_BE(userKey, 7); in ossl_aria_set_encrypt_key()
579 w1[2] = w1[3] = 0; in ossl_aria_set_encrypt_key()
583 w1[0] = w1[1] = w1[2] = w1[3] = 0; in ossl_aria_set_encrypt_key()
586 w1[0] ^= reg0; in ossl_aria_set_encrypt_key()
587 w1[1] ^= reg1; in ossl_aria_set_encrypt_key()
588 w1[2] ^= reg2; in ossl_aria_set_encrypt_key()
589 w1[3] ^= reg3; in ossl_aria_set_encrypt_key()
591 reg0 = w1[0]; in ossl_aria_set_encrypt_key()
592 reg1 = w1[1]; in ossl_aria_set_encrypt_key()
593 reg2 = w1[2]; in ossl_aria_set_encrypt_key()
594 reg3 = w1[3]; in ossl_aria_set_encrypt_key()
620 w3[0] = reg0 ^ w1[0]; in ossl_aria_set_encrypt_key()
621 w3[1] = reg1 ^ w1[1]; in ossl_aria_set_encrypt_key()
622 w3[2] = reg2 ^ w1[2]; in ossl_aria_set_encrypt_key()
623 w3[3] = reg3 ^ w1[3]; in ossl_aria_set_encrypt_key()
625 ARIA_GSRK(rk, w0, w1, 19); in ossl_aria_set_encrypt_key()
627 ARIA_GSRK(rk, w1, w2, 19); in ossl_aria_set_encrypt_key()
634 ARIA_GSRK(rk, w0, w1, 31); in ossl_aria_set_encrypt_key()
636 ARIA_GSRK(rk, w1, w2, 31); in ossl_aria_set_encrypt_key()
643 ARIA_GSRK(rk, w0, w1, 67); in ossl_aria_set_encrypt_key()
645 ARIA_GSRK(rk, w1, w2, 67); in ossl_aria_set_encrypt_key()
652 ARIA_GSRK(rk, w0, w1, 97); in ossl_aria_set_encrypt_key()
655 ARIA_GSRK(rk, w1, w2, 97); in ossl_aria_set_encrypt_key()
664 ARIA_GSRK(rk, w0, w1, 109); in ossl_aria_set_encrypt_key()
675 register uint32_t w1, w2; in ossl_aria_set_decrypt_key() local
704 ARIA_DEC_DIFF_BYTE(rk_head->u[0], reg0, w1, w2); in ossl_aria_set_decrypt_key()
705 ARIA_DEC_DIFF_BYTE(rk_head->u[1], reg1, w1, w2); in ossl_aria_set_decrypt_key()
706 ARIA_DEC_DIFF_BYTE(rk_head->u[2], reg2, w1, w2); in ossl_aria_set_decrypt_key()
707 ARIA_DEC_DIFF_BYTE(rk_head->u[3], reg3, w1, w2); in ossl_aria_set_decrypt_key()
718 ARIA_DEC_DIFF_BYTE(rk_tail->u[0], reg0, w1, w2); in ossl_aria_set_decrypt_key()
719 ARIA_DEC_DIFF_BYTE(rk_tail->u[1], reg1, w1, w2); in ossl_aria_set_decrypt_key()
720 ARIA_DEC_DIFF_BYTE(rk_tail->u[2], reg2, w1, w2); in ossl_aria_set_decrypt_key()
721 ARIA_DEC_DIFF_BYTE(rk_tail->u[3], reg3, w1, w2); in ossl_aria_set_decrypt_key()
737 ARIA_DEC_DIFF_BYTE(rk_head->u[0], reg0, w1, w2); in ossl_aria_set_decrypt_key()
738 ARIA_DEC_DIFF_BYTE(rk_head->u[1], reg1, w1, w2); in ossl_aria_set_decrypt_key()
739 ARIA_DEC_DIFF_BYTE(rk_head->u[2], reg2, w1, w2); in ossl_aria_set_decrypt_key()
740 ARIA_DEC_DIFF_BYTE(rk_head->u[3], reg3, w1, w2); in ossl_aria_set_decrypt_key()
1126 ARIA_u128 kr, w0, w1, w2, w3; in ossl_aria_set_encrypt_key() local
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()
1162 FO(&kr, &w2, ck3); xor128(w3.c, kr.c, &w1); in ossl_aria_set_encrypt_key()
1164 rot19r(&key->rd_key[ 0], &w0, &w1); in ossl_aria_set_encrypt_key()
1165 rot19r(&key->rd_key[ 1], &w1, &w2); in ossl_aria_set_encrypt_key()
1169 rot31r(&key->rd_key[ 4], &w0, &w1); in ossl_aria_set_encrypt_key()
1170 rot31r(&key->rd_key[ 5], &w1, &w2); in ossl_aria_set_encrypt_key()
1174 rot61l(&key->rd_key[ 8], &w0, &w1); in ossl_aria_set_encrypt_key()
1175 rot61l(&key->rd_key[ 9], &w1, &w2); in ossl_aria_set_encrypt_key()
1179 rot31l(&key->rd_key[12], &w0, &w1); in ossl_aria_set_encrypt_key()
1181 rot31l(&key->rd_key[13], &w1, &w2); in ossl_aria_set_encrypt_key()
1186 rot19l(&key->rd_key[16], &w0, &w1); in ossl_aria_set_encrypt_key()