added val logs for sbox in and out