Lines Matching refs:b0

344 	u32 b0[4], b1[4];  in aes_encrypt()  local
347 b0[0] = u32_in (in) ^ E_KEY[0]; in aes_encrypt()
348 b0[1] = u32_in (in + 4) ^ E_KEY[1]; in aes_encrypt()
349 b0[2] = u32_in (in + 8) ^ E_KEY[2]; in aes_encrypt()
350 b0[3] = u32_in (in + 12) ^ E_KEY[3]; in aes_encrypt()
353 f_nround (b1, b0, kp); in aes_encrypt()
354 f_nround (b0, b1, kp); in aes_encrypt()
358 f_nround (b1, b0, kp); in aes_encrypt()
359 f_nround (b0, b1, kp); in aes_encrypt()
362 f_nround (b1, b0, kp); in aes_encrypt()
363 f_nround (b0, b1, kp); in aes_encrypt()
364 f_nround (b1, b0, kp); in aes_encrypt()
365 f_nround (b0, b1, kp); in aes_encrypt()
366 f_nround (b1, b0, kp); in aes_encrypt()
367 f_nround (b0, b1, kp); in aes_encrypt()
368 f_nround (b1, b0, kp); in aes_encrypt()
369 f_nround (b0, b1, kp); in aes_encrypt()
370 f_nround (b1, b0, kp); in aes_encrypt()
371 f_lround (b0, b1, kp); in aes_encrypt()
373 u32_out (out, b0[0]); in aes_encrypt()
374 u32_out (out + 4, b0[1]); in aes_encrypt()
375 u32_out (out + 8, b0[2]); in aes_encrypt()
376 u32_out (out + 12, b0[3]); in aes_encrypt()
397 u32 b0[4], b1[4]; in aes_decrypt() local
401 b0[0] = u32_in (in) ^ E_KEY[key_len + 24]; in aes_decrypt()
402 b0[1] = u32_in (in + 4) ^ E_KEY[key_len + 25]; in aes_decrypt()
403 b0[2] = u32_in (in + 8) ^ E_KEY[key_len + 26]; in aes_decrypt()
404 b0[3] = u32_in (in + 12) ^ E_KEY[key_len + 27]; in aes_decrypt()
407 i_nround (b1, b0, kp); in aes_decrypt()
408 i_nround (b0, b1, kp); in aes_decrypt()
412 i_nround (b1, b0, kp); in aes_decrypt()
413 i_nround (b0, b1, kp); in aes_decrypt()
416 i_nround (b1, b0, kp); in aes_decrypt()
417 i_nround (b0, b1, kp); in aes_decrypt()
418 i_nround (b1, b0, kp); in aes_decrypt()
419 i_nround (b0, b1, kp); in aes_decrypt()
420 i_nround (b1, b0, kp); in aes_decrypt()
421 i_nround (b0, b1, kp); in aes_decrypt()
422 i_nround (b1, b0, kp); in aes_decrypt()
423 i_nround (b0, b1, kp); in aes_decrypt()
424 i_nround (b1, b0, kp); in aes_decrypt()
425 i_lround (b0, b1, kp); in aes_decrypt()
427 u32_out (out, b0[0]); in aes_decrypt()
428 u32_out (out + 4, b0[1]); in aes_decrypt()
429 u32_out (out + 8, b0[2]); in aes_decrypt()
430 u32_out (out + 12, b0[3]); in aes_decrypt()