Lines Matching refs:enc_key

106 	aria_gsrk(ctx->enc_key[rkidx], w0, w1, 19);  in aria_set_encrypt_key()
108 aria_gsrk(ctx->enc_key[rkidx], w1, w2, 19); in aria_set_encrypt_key()
110 aria_gsrk(ctx->enc_key[rkidx], w2, w3, 19); in aria_set_encrypt_key()
112 aria_gsrk(ctx->enc_key[rkidx], w3, w0, 19); in aria_set_encrypt_key()
115 aria_gsrk(ctx->enc_key[rkidx], w0, w1, 31); in aria_set_encrypt_key()
117 aria_gsrk(ctx->enc_key[rkidx], w1, w2, 31); in aria_set_encrypt_key()
119 aria_gsrk(ctx->enc_key[rkidx], w2, w3, 31); in aria_set_encrypt_key()
121 aria_gsrk(ctx->enc_key[rkidx], w3, w0, 31); in aria_set_encrypt_key()
124 aria_gsrk(ctx->enc_key[rkidx], w0, w1, 67); in aria_set_encrypt_key()
126 aria_gsrk(ctx->enc_key[rkidx], w1, w2, 67); in aria_set_encrypt_key()
128 aria_gsrk(ctx->enc_key[rkidx], w2, w3, 67); in aria_set_encrypt_key()
130 aria_gsrk(ctx->enc_key[rkidx], w3, w0, 67); in aria_set_encrypt_key()
133 aria_gsrk(ctx->enc_key[rkidx], w0, w1, 97); in aria_set_encrypt_key()
136 aria_gsrk(ctx->enc_key[rkidx], w1, w2, 97); in aria_set_encrypt_key()
138 aria_gsrk(ctx->enc_key[rkidx], w2, w3, 97); in aria_set_encrypt_key()
142 aria_gsrk(ctx->enc_key[rkidx], w3, w0, 97); in aria_set_encrypt_key()
145 aria_gsrk(ctx->enc_key[rkidx], w0, w1, 109); in aria_set_encrypt_key()
155 ctx->dec_key[0][i] = ctx->enc_key[ctx->rounds][i]; in aria_set_decrypt_key()
156 ctx->dec_key[ctx->rounds][i] = ctx->enc_key[0][i]; in aria_set_decrypt_key()
160 ctx->dec_key[i][0] = aria_m(ctx->enc_key[ctx->rounds - i][0]); in aria_set_decrypt_key()
161 ctx->dec_key[i][1] = aria_m(ctx->enc_key[ctx->rounds - i][1]); in aria_set_decrypt_key()
162 ctx->dec_key[i][2] = aria_m(ctx->enc_key[ctx->rounds - i][2]); in aria_set_decrypt_key()
163 ctx->dec_key[i][3] = aria_m(ctx->enc_key[ctx->rounds - i][3]); in aria_set_decrypt_key()
181 BUILD_BUG_ON(sizeof(ctx->enc_key) != 272); in aria_set_key()
254 __aria_crypt(ctx, out, in, ctx->enc_key); in aria_encrypt()
270 __aria_crypt(ctx, out, in, ctx->enc_key); in __aria_encrypt()