Lines Matching refs:AES_KEY_LENGTH
599 for (i = 0; i < AES_KEY_LENGTH; i++) in aes_apply_cbc_chain_data()
606 u8 tmp_data[AES_KEY_LENGTH]; in aes_cbc_encrypt_blocks()
612 debug_print_vector("AES Src", AES_KEY_LENGTH, src); in aes_cbc_encrypt_blocks()
616 debug_print_vector("AES Xor", AES_KEY_LENGTH, tmp_data); in aes_cbc_encrypt_blocks()
620 debug_print_vector("AES Dst", AES_KEY_LENGTH, dst); in aes_cbc_encrypt_blocks()
624 src += AES_KEY_LENGTH; in aes_cbc_encrypt_blocks()
625 dst += AES_KEY_LENGTH; in aes_cbc_encrypt_blocks()
632 u8 tmp_data[AES_KEY_LENGTH], tmp_block[AES_KEY_LENGTH]; in aes_cbc_decrypt_blocks()
634 u8 cbc_chain_data[AES_KEY_LENGTH]; in aes_cbc_decrypt_blocks()
637 memcpy(cbc_chain_data, iv, AES_KEY_LENGTH); in aes_cbc_decrypt_blocks()
640 debug_print_vector("AES Src", AES_KEY_LENGTH, src); in aes_cbc_decrypt_blocks()
642 memcpy(tmp_block, src, AES_KEY_LENGTH); in aes_cbc_decrypt_blocks()
646 debug_print_vector("AES Xor", AES_KEY_LENGTH, tmp_data); in aes_cbc_decrypt_blocks()
650 debug_print_vector("AES Dst", AES_KEY_LENGTH, dst); in aes_cbc_decrypt_blocks()
653 memcpy(cbc_chain_data, tmp_block, AES_KEY_LENGTH); in aes_cbc_decrypt_blocks()
654 src += AES_KEY_LENGTH; in aes_cbc_decrypt_blocks()
655 dst += AES_KEY_LENGTH; in aes_cbc_decrypt_blocks()