Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2006 20:54:18 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 105359 for review
Message-ID:  <200608302054.k7UKsIAk032560@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105359

Change 105359 by millert@millert_g4tower on 2006/08/30 20:54:01

	Update to xnu-792.6.76

Affected files ...

.. //depot/projects/trustedbsd/sedarwin8/Makefile#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/crypto/aes/aes.h#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/crypto/aes/aescrypt.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/crypto/aes/aeskey.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/crypto/aes/aesopt.h#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/crypto/aes/aestab.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/crypto/aes/aestab.h#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/dev/ppc/kern_machdep.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/hfs/hfs_search.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/hfs/hfs_vfsutils.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/kern/kern_aio.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/kern/kern_mman.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/kern/kern_prot.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/kern/ubc_subr.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/kern/uipc_socket2.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/kern/uipc_usrreq.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/miscfs/devfs/index.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/net/ether_inet_pr_module.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/net/kpi_interface.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/net/ndrv.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/netat/ddp_lap.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/netinet/ip_dummynet.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/netinet/ip_fw2.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/netinet/ip_icmp.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/netinet/ip_input.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/netinet6/ip6_forward.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/netinet6/ip6_output.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/netinet6/ipsec.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/nfs/nfs_vnops.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/sys/file_internal.h#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/sys/ubc.h#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/ufs/ufs/ufs_vnops.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/vfs/vfs_utfconv.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/vfs/vfs_utfconvdata.h#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/vfs/vfs_vnops.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/vm/dp_backing_file.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/vm/vm_unix.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/config/BSDKernel.exports#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/config/MasterVersion#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/iokit/bsddev/DINetBootHook.cpp#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/iokit/bsddev/DINetBootHook.h#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/libkern/libkern/OSCrossEndian.h#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/DMN_port_deleted.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/DMN_port_destroyed.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/DP_backing_store_create.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/DP_backing_store_delete.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/DP_backing_store_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/DP_object_create.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/DR_overwrite_async.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/HD_memory_manager.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/MO_SY_completed.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/MO_change_attributes.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/MO_change_completed.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/MO_data_initialize.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/MO_data_unavailable.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/MO_default_server.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/MO_get_attributes.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/MO_lock_completed.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/MO_supply_completed.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/MP_allocate_subsystem.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/MP_request_notification.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/P_set_policy_control.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/P_set_policy_disable.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/P_set_policy_enable.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/SMO_default_server.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/SMO_server.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/TS_exception_ports.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/VSD_memory_manager.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/bootstrap_arguments.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/bootstrap_completed.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/bootstrap_environment.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/bootstrap_ports.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/catch_exception_raise.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/clock_alarm.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/clock_alarm_reply.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/clock_get_attributes.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/clock_get_time.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/clock_map_time.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/clock_reply_server.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/clock_set_attributes.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/clock_set_time.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/clock_sleep.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/default_pager_add_segment.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/default_pager_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_close.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_get_status.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_map.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_open.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_read.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_read_async.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_read_async_inband.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_read_inband.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_read_overwrite.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_reply_server.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_set_filter.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_set_status.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_write.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_write_async.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_write_async_inband.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/device_write_inband.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/do_mach_notify_dead_name.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/do_mach_notify_no_senders.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/do_mach_notify_send_once.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/etap_get_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/etap_probe.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/etap_trace_event.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/etap_trace_thread.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/evc_wait.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/exc_server.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_adjust_time.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_basic_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_get_boot_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_get_clock_control.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_get_clock_service.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_get_time.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_kernel_version.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_load_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_page_size.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_processor_set_priv.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_processor_sets.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_processor_slots.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_processors.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_reboot.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_sched_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_security_create_task_token.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_security_set_task_token.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_set_time.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/host_statistics.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/i386_get_ldt.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/i386_io_port_add.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/i386_io_port_list.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/i386_io_port_remove.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/i386_set_ldt.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/index.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/io_done_queue_create.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/io_done_queue_terminate.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/io_done_queue_wait.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/kernel_resource_sizes.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/ledger_create.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/ledger_get_remote.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/ledger_read.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/ledger_set_remote.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/ledger_terminate.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/ledger_transfer.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/lock_acquire.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/lock_handoff.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/lock_handoff_accept.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/lock_make_stable.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/lock_release.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/lock_set_create.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/lock_set_destroy.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/lock_try.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_host_self.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_msg.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_msg_descriptor.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_msg_header.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_allocate.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_allocate_full.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_allocate_name.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_allocate_qos.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_deallocate.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_destroy.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_extract_member.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_extract_right.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_get_attributes.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_get_refs.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_get_set_status.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_insert_member.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_insert_right.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_limits.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_mod_refs.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_move_member.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_names.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_qos.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_set_attributes.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_set_mscount.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_set_seqno.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_status.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_port_type.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_ports_lookup.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_ports_register.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_reply_port.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_rpc_return_trap.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_rpc_trap.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_subsystem_create.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_task_self.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mach_thread_self.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/mapped_tvalspec.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/memory_object_attr_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/memory_object_create.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/memory_object_data_error.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/memory_object_data_request.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/memory_object_data_return.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/memory_object_data_supply.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/memory_object_data_unlock.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/memory_object_destroy.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/memory_object_init.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/memory_object_lock_request.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/memory_object_perf_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/memory_object_server.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/memory_object_synchronize.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/memory_object_terminate.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/norma_get_special_port.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/norma_node_self.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/norma_port_location_hint.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/norma_set_special_port.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/norma_task_clone.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/norma_task_create.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/norma_task_teleport.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/notify_server.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/policy_fifo_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/policy_rr_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/policy_timeshare_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_assign.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_basic_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_control.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_exit.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_get_assignment.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_set_basic_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_set_create.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_set_default.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_set_destroy.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_set_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_set_load_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_set_max_priority.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_set_statistics.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_set_tasks.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_set_threads.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/processor_start.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/prof_server.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/receive_samples.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/semaphore_create.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/semaphore_destroy.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/semaphore_signal.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/semaphore_signal_all.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/semaphore_wait.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/seqnos_notify_server.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_assign.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_assign_default.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_basic_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_create.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_get_assignment.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_get_emulation_vector.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_get_exception_ports.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_get_special_port.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_policy.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_resume.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_sample.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_set_emulation.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_set_emulation_vector.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_set_exception_ports.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_set_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_set_policy.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_set_port_space.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_set_special_port.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_suspend.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_swap_exception_ports.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_terminate.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_thread_times_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/task_threads.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_abort.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_abort_safely.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_activation_create.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_assign.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_assign_default.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_basic_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_create.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_create_running.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_depress_abort.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_get_assignment.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_get_exception_ports.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_get_special_port.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_get_state.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_policy.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_resume.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_sample.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_set_exception_ports.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_set_policy.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_set_special_port.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_set_state.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_suspend.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_switch.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_terminate.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/thread_wire.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/tvalspec.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_allocate.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_behavior_set.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_copy.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_deallocate.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_inherit.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_machine_attribute.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_map.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_msync.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_protect.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_read.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_region.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_region_basic_info.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_remap.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_statistics.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_wire.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/man/vm_write.html#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/ppc/lowmem_vectors.s#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/ppc/machine_routines_asm.s#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/ppc/mappings.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/ppc/pmap.h#2 edit
.. //depot/projects/trustedbsd/sedarwin8/policies/mls/mac_mls.c#5 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin8/Makefile#2 (text+ko) ====

@@ -2,8 +2,8 @@
 ifneq "$(word 6, $(shell gcc_select))" "3.3"
 $(error Build requires GCC version 3.3.  Use 'gcc_select 3.3' to change.)
 endif
-ifneq "$(shell uname -r)" "8.6.0"
-$(error Build requires Mac OS X 10.4.6/Darwin 8.6)
+ifneq "$(shell uname -r)" "8.7.0"
+$(error Build requires Mac OS X 10.4.7/Darwin 8.7)
 endif
 
 include Makeconfig

==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/crypto/aes/aes.h#2 (text+ko) ====

@@ -1,175 +1,175 @@
-/*
- ---------------------------------------------------------------------------
- Copyright (c) 2003, Dr Brian Gladman, Worcester, UK.   All rights reserved.
-
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
-   1. distributions of this source code include the above copyright
-      notice, this list of conditions and the following disclaimer;
-
-   2. distributions in binary form include the above copyright
-      notice, this list of conditions and the following disclaimer
-      in the documentation and/or other associated materials;
-
-   3. the copyright holder's name is not used to endorse products
-      built using this software without specific written permission.
-
- ALTERNATIVELY, provided that this notice is retained in full, this product
- may be distributed under the terms of the GNU General Public License (GPL),
- in which case the provisions of the GPL apply INSTEAD OF those given above.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explicit or implied warranties
- in respect of its properties, including, but not limited to, correctness
- and/or fitness for purpose.
- ---------------------------------------------------------------------------
- Issue 28/01/2004
-
- This file contains the definitions required to use AES in C. See aesopt.h
- for optimisation details.
-*/
-
-#if !defined( _AES_H )
-#define _AES_H
-
-/*  This include is used to find 8 & 32 bit unsigned integer types  */
-#include <machine/limits.h>
-
-#if defined(__cplusplus)
-extern "C"
-{
-#endif
-
-#define AES_128     /* define if AES with 128 bit keys is needed    */
-#define AES_192     /* define if AES with 192 bit keys is needed    */
-#define AES_256     /* define if AES with 256 bit keys is needed    */
-#define AES_VAR     /* define if a variable key size is needed      */
-
-/* The following must also be set in assembler files if being used  */
-
-#define AES_ENCRYPT /* if support for encryption is needed          */
-#define AES_DECRYPT /* if support for decryption is needed          */
-//#define AES_ERR_CHK /* for parameter checks & error return codes    */
-
-#if UCHAR_MAX == 0xff                   /* an unsigned 8 bit type   */
-  typedef unsigned char      aes_08t;
-#else
-#  error Please define aes_08t as an 8-bit unsigned integer type in aes.h
-#endif
-
-#if UINT_MAX == 4294967295              /* an unsigned 32 bit type  */
-  typedef   unsigned int     aes_32t;
-#elif ULONG_MAX == 4294967295ul
-  typedef   unsigned long    aes_32t;
-#else
-#  error Please define aes_32t as a 32-bit unsigned integer type in aes.h
-#endif
-
-#define AES_BLOCK_SIZE  16  /* the AES block size in bytes          */
-#define N_COLS           4  /* the number of columns in the state   */
-
-/* The key schedule length is 11, 13 or 15 16-byte blocks for 128,  */
-/* 192 or 256-bit keys respectively. That is 176, 208 or 240 bytes  */
-/* or 44, 52 or 60 32-bit words. For simplicity this code allocates */
-/* the maximum 60 word array for the key schedule for all key sizes */
-
-#if defined( AES_VAR ) || defined( AES_256 )
-#define KS_LENGTH       60
-#elif defined( AES_192 )
-#define KS_LENGTH       52
-#else
-#define KS_LENGTH       44
-#endif
-
-#if defined( AES_ERR_CHK )
-#define aes_ret     int
-#define aes_good    0
-#define aes_error  -1
-#else
-#define aes_ret     void
-#endif
-
-#if !defined( AES_DLL )                 /* implement normal/DLL functions   */
-#define aes_rval    aes_ret
-#else
-#define aes_rval    aes_ret __declspec(dllexport) _stdcall
-#endif
-
-typedef struct
-{   aes_32t ks[KS_LENGTH];
-    aes_32t rn;
-} aes_encrypt_ctx;
-
-typedef struct
-{   aes_32t ks[KS_LENGTH];
-    aes_32t rn;
-} aes_decrypt_ctx;
-
-typedef struct
-{   
-	aes_decrypt_ctx decrypt;
-    aes_encrypt_ctx encrypt;
-} aes_ctx;
-
-
-/* This routine must be called before first use if non-static       */
-/* tables are being used                                            */
-
-void gen_tabs(void);
-
-/* The key length (klen) is input in bytes when it is in the range  */
-/* 16 <= klen <= 32 or in bits when in the range 128 <= klen <= 256 */
-
-#if defined( AES_ENCRYPT )
-
-#if defined(AES_128) || defined(AES_VAR)
-aes_rval aes_encrypt_key128(const unsigned char *in_key, aes_encrypt_ctx cx[1]);
-#endif
-
-#if defined(AES_192) || defined(AES_VAR)
-aes_rval aes_encrypt_key192(const unsigned char *in_key, aes_encrypt_ctx cx[1]);
-#endif
-
-#if defined(AES_256) || defined(AES_VAR)
-aes_rval aes_encrypt_key256(const unsigned char *in_key, aes_encrypt_ctx cx[1]);
-#endif
-
-#if defined(AES_VAR)
-aes_rval aes_encrypt_key(const unsigned char *in_key, int key_len, aes_encrypt_ctx cx[1]);
-#endif
-
-aes_rval aes_encrypt_cbc(const unsigned char *in_blk, const unsigned char *in_iv, unsigned int num_blk,
-					 unsigned char *out_blk, const aes_encrypt_ctx cx[1]);
-#endif
-
-#if defined( AES_DECRYPT )
-
-#if defined(AES_128) || defined(AES_VAR)
-aes_rval aes_decrypt_key128(const unsigned char *in_key, aes_decrypt_ctx cx[1]);
-#endif
-
-#if defined(AES_192) || defined(AES_VAR)
-aes_rval aes_decrypt_key192(const unsigned char *in_key, aes_decrypt_ctx cx[1]);
-#endif
-
-#if defined(AES_256) || defined(AES_VAR)
-aes_rval aes_decrypt_key256(const unsigned char *in_key, aes_decrypt_ctx cx[1]);
-#endif
-
-#if defined(AES_VAR)
-aes_rval aes_decrypt_key(const unsigned char *in_key, int key_len, aes_decrypt_ctx cx[1]);
-#endif
-
-aes_rval aes_decrypt_cbc(const unsigned char *in_blk, const unsigned char *in_iv, unsigned int num_blk,
-					 unsigned char *out_blk, const aes_decrypt_ctx cx[1]);
-#endif
-
-#if defined(__cplusplus)
-}
-#endif
-
-#endif
+/*
+ ---------------------------------------------------------------------------
+ Copyright (c) 2003, Dr Brian Gladman, Worcester, UK.   All rights reserved.
+
+ LICENSE TERMS
+
+ The free distribution and use of this software in both source and binary
+ form is allowed (with or without changes) provided that:
+
+   1. distributions of this source code include the above copyright
+      notice, this list of conditions and the following disclaimer;
+
+   2. distributions in binary form include the above copyright
+      notice, this list of conditions and the following disclaimer
+      in the documentation and/or other associated materials;
+
+   3. the copyright holder's name is not used to endorse products
+      built using this software without specific written permission.
+
+ ALTERNATIVELY, provided that this notice is retained in full, this product
+ may be distributed under the terms of the GNU General Public License (GPL),
+ in which case the provisions of the GPL apply INSTEAD OF those given above.
+
+ DISCLAIMER
+
+ This software is provided 'as is' with no explicit or implied warranties
+ in respect of its properties, including, but not limited to, correctness
+ and/or fitness for purpose.
+ ---------------------------------------------------------------------------
+ Issue 28/01/2004
+
+ This file contains the definitions required to use AES in C. See aesopt.h
+ for optimisation details.
+*/
+
+#if !defined( _AES_H )
+#define _AES_H
+
+/*  This include is used to find 8 & 32 bit unsigned integer types  */
+#include <machine/limits.h>
+
+#if defined(__cplusplus)
+extern "C"
+{
+#endif
+
+#define AES_128     /* define if AES with 128 bit keys is needed    */
+#define AES_192     /* define if AES with 192 bit keys is needed    */
+#define AES_256     /* define if AES with 256 bit keys is needed    */
+#define AES_VAR     /* define if a variable key size is needed      */
+
+/* The following must also be set in assembler files if being used  */
+
+#define AES_ENCRYPT /* if support for encryption is needed          */
+#define AES_DECRYPT /* if support for decryption is needed          */
+//#define AES_ERR_CHK /* for parameter checks & error return codes    */
+
+#if UCHAR_MAX == 0xff                   /* an unsigned 8 bit type   */
+  typedef unsigned char      aes_08t;
+#else
+#  error Please define aes_08t as an 8-bit unsigned integer type in aes.h
+#endif
+
+#if UINT_MAX == 4294967295              /* an unsigned 32 bit type  */
+  typedef   unsigned int     aes_32t;
+#elif ULONG_MAX == 4294967295ul
+  typedef   unsigned long    aes_32t;
+#else
+#  error Please define aes_32t as a 32-bit unsigned integer type in aes.h
+#endif
+
+#define AES_BLOCK_SIZE  16  /* the AES block size in bytes          */
+#define N_COLS           4  /* the number of columns in the state   */
+
+/* The key schedule length is 11, 13 or 15 16-byte blocks for 128,  */
+/* 192 or 256-bit keys respectively. That is 176, 208 or 240 bytes  */
+/* or 44, 52 or 60 32-bit words. For simplicity this code allocates */
+/* the maximum 60 word array for the key schedule for all key sizes */
+
+#if defined( AES_VAR ) || defined( AES_256 )
+#define KS_LENGTH       60
+#elif defined( AES_192 )
+#define KS_LENGTH       52
+#else
+#define KS_LENGTH       44
+#endif
+
+#if defined( AES_ERR_CHK )
+#define aes_ret     int
+#define aes_good    0
+#define aes_error  -1
+#else
+#define aes_ret     void
+#endif
+
+#if !defined( AES_DLL )                 /* implement normal/DLL functions   */
+#define aes_rval    aes_ret
+#else
+#define aes_rval    aes_ret __declspec(dllexport) _stdcall
+#endif
+
+typedef struct
+{   aes_32t ks[KS_LENGTH];
+    aes_32t rn;
+} aes_encrypt_ctx;
+
+typedef struct
+{   aes_32t ks[KS_LENGTH];
+    aes_32t rn;
+} aes_decrypt_ctx;
+
+typedef struct
+{   
+	aes_decrypt_ctx decrypt;
+    aes_encrypt_ctx encrypt;
+} aes_ctx;
+
+
+/* This routine must be called before first use if non-static       */
+/* tables are being used                                            */
+
+void gen_tabs(void);
+
+/* The key length (klen) is input in bytes when it is in the range  */
+/* 16 <= klen <= 32 or in bits when in the range 128 <= klen <= 256 */
+
+#if defined( AES_ENCRYPT )
+
+#if defined(AES_128) || defined(AES_VAR)
+aes_rval aes_encrypt_key128(const unsigned char *in_key, aes_encrypt_ctx cx[1]);
+#endif
+
+#if defined(AES_192) || defined(AES_VAR)
+aes_rval aes_encrypt_key192(const unsigned char *in_key, aes_encrypt_ctx cx[1]);
+#endif
+
+#if defined(AES_256) || defined(AES_VAR)
+aes_rval aes_encrypt_key256(const unsigned char *in_key, aes_encrypt_ctx cx[1]);
+#endif
+
+#if defined(AES_VAR)
+aes_rval aes_encrypt_key(const unsigned char *in_key, int key_len, aes_encrypt_ctx cx[1]);
+#endif
+
+aes_rval aes_encrypt_cbc(const unsigned char *in_blk, const unsigned char *in_iv, unsigned int num_blk,
+					 unsigned char *out_blk, const aes_encrypt_ctx cx[1]);
+#endif
+
+#if defined( AES_DECRYPT )
+
+#if defined(AES_128) || defined(AES_VAR)
+aes_rval aes_decrypt_key128(const unsigned char *in_key, aes_decrypt_ctx cx[1]);
+#endif
+
+#if defined(AES_192) || defined(AES_VAR)
+aes_rval aes_decrypt_key192(const unsigned char *in_key, aes_decrypt_ctx cx[1]);
+#endif
+
+#if defined(AES_256) || defined(AES_VAR)
+aes_rval aes_decrypt_key256(const unsigned char *in_key, aes_decrypt_ctx cx[1]);
+#endif
+
+#if defined(AES_VAR)
+aes_rval aes_decrypt_key(const unsigned char *in_key, int key_len, aes_decrypt_ctx cx[1]);
+#endif
+
+aes_rval aes_decrypt_cbc(const unsigned char *in_blk, const unsigned char *in_iv, unsigned int num_blk,
+					 unsigned char *out_blk, const aes_decrypt_ctx cx[1]);
+#endif
+
+#if defined(__cplusplus)
+}
+#endif
+
+#endif

==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/crypto/aes/aescrypt.c#2 (text+ko) ====

@@ -1,411 +1,411 @@
-/*
- ---------------------------------------------------------------------------
- Copyright (c) 2003, Dr Brian Gladman, Worcester, UK.   All rights reserved.
-
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
-   1. distributions of this source code include the above copyright
-      notice, this list of conditions and the following disclaimer;
-
-   2. distributions in binary form include the above copyright
-      notice, this list of conditions and the following disclaimer
-      in the documentation and/or other associated materials;
-
-   3. the copyright holder's name is not used to endorse products
-      built using this software without specific written permission.
-
- ALTERNATIVELY, provided that this notice is retained in full, this product
- may be distributed under the terms of the GNU General Public License (GPL),
- in which case the provisions of the GPL apply INSTEAD OF those given above.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explicit or implied warranties
- in respect of its properties, including, but not limited to, correctness
- and/or fitness for purpose.
- ---------------------------------------------------------------------------
- Issue 28/01/2004
-
- This file contains the code for implementing encryption and decryption
- for AES (Rijndael) for block and key sizes of 16, 24 and 32 bytes. It
- can optionally be replaced by code written in assembler using NASM. For
- further details see the file aesopt.h
-*/
-
-#include "aesopt.h"
-#include "aestab.h"
-
-#if defined(__cplusplus)
-extern "C"
-{
-#endif
-
-#define ki(y,x,k,c) (s(y,c) = s(x, c) ^ (k)[c])
-#define xo(y,x,c) (s(y,c) ^= s(x, c))
-#define si(y,x,c)   (s(y,c) = word_in(x, c))
-#define so(y,x,c)   word_out(y, c, s(x,c))
-
-#if defined(ARRAYS)
-#define locals(y,x)     x[4],y[4]
-#else
-#define locals(y,x)     x##0,x##1,x##2,x##3,y##0,y##1,y##2,y##3
-#endif
-
-#define dtables(tab)     const aes_32t *tab##0, *tab##1, *tab##2, *tab##3
-#define itables(tab)     tab##0 = tab[0]; tab##1 = tab[1]; tab##2 = tab[2]; tab##3 = tab[3]
-
-#define l_copy(y, x)    s(y,0) = s(x,0); s(y,1) = s(x,1); \
-                        s(y,2) = s(x,2); s(y,3) = s(x,3);
-
-#define key_in(y,x,k)   ki(y,x,k,0); ki(y,x,k,1); ki(y,x,k,2); ki(y,x,k,3)
-#define cbc(y,x)        xo(y,x,0); xo(y,x,1); xo(y,x,2); xo(y,x,3)
-#define state_in(y,x)   si(y,x,0); si(y,x,1); si(y,x,2); si(y,x,3)
-#define state_out(y,x)  so(y,x,0); so(y,x,1); so(y,x,2); so(y,x,3)
-#define round(rm,y,x,k) rm(y,x,k,0); rm(y,x,k,1); rm(y,x,k,2); rm(y,x,k,3)
-
-#if defined(ENCRYPTION) && !defined(AES_ASM)
-
-/* Visual C++ .Net v7.1 provides the fastest encryption code when using
-   Pentium optimiation with small code but this is poor for decryption
-   so we need to control this with the following VC++ pragmas
-*/
-
-#if defined(_MSC_VER)
-#pragma optimize( "s", on )
-#endif
-
-/* Given the column (c) of the output state variable, the following
-   macros give the input state variables which are needed in its
-   computation for each row (r) of the state. All the alternative
-   macros give the same end values but expand into different ways
-   of calculating these values.  In particular the complex macro
-   used for dynamically variable block sizes is designed to expand
-   to a compile time constant whenever possible but will expand to
-   conditional clauses on some branches (I am grateful to Frank
-   Yellin for this construction)
-*/
-
-#define fwd_var(x,r,c)\
- ( r == 0 ? ( c == 0 ? s(x,0) : c == 1 ? s(x,1) : c == 2 ? s(x,2) : s(x,3))\
- : r == 1 ? ( c == 0 ? s(x,1) : c == 1 ? s(x,2) : c == 2 ? s(x,3) : s(x,0))\
- : r == 2 ? ( c == 0 ? s(x,2) : c == 1 ? s(x,3) : c == 2 ? s(x,0) : s(x,1))\
- :          ( c == 0 ? s(x,3) : c == 1 ? s(x,0) : c == 2 ? s(x,1) : s(x,2)))
-
-#if defined(FT4_SET)
-#undef  dec_fmvars
-#  if defined(ENC_ROUND_CACHE_TABLES)
-#define fwd_rnd(y,x,k,c)    (s(y,c) = (k)[c] ^ four_cached_tables(x,t_fn,fwd_var,rf1,c))
-#  else
-#define fwd_rnd(y,x,k,c)    (s(y,c) = (k)[c] ^ four_tables(x,t_fn,fwd_var,rf1,c))
-#  endif
-#elif defined(FT1_SET)
-#undef  dec_fmvars
-#define fwd_rnd(y,x,k,c)    (s(y,c) = (k)[c] ^ one_table(x,upr,t_fn,fwd_var,rf1,c))
-#else
-#define fwd_rnd(y,x,k,c)    (s(y,c) = (k)[c] ^ fwd_mcol(no_table(x,t_sbox,fwd_var,rf1,c)))
-#endif
-
-#if defined(FL4_SET)
-#  if defined(LAST_ENC_ROUND_CACHE_TABLES)
-#define fwd_lrnd(y,x,k,c)   (s(y,c) = (k)[c] ^ four_cached_tables(x,t_fl,fwd_var,rf1,c))
-#  else
-#define fwd_lrnd(y,x,k,c)   (s(y,c) = (k)[c] ^ four_tables(x,t_fl,fwd_var,rf1,c))
-#  endif
-#elif defined(FL1_SET)
-#define fwd_lrnd(y,x,k,c)   (s(y,c) = (k)[c] ^ one_table(x,ups,t_fl,fwd_var,rf1,c))
-#else
-#define fwd_lrnd(y,x,k,c)   (s(y,c) = (k)[c] ^ no_table(x,t_sbox,fwd_var,rf1,c))
-#endif
-
-aes_rval aes_encrypt_cbc(const unsigned char *in, const unsigned char *in_iv, unsigned int num_blk,
-					 unsigned char *out, const aes_encrypt_ctx cx[1])
-{   aes_32t         locals(b0, b1);
-    const aes_32t   *kp;
-    const aes_32t   *kptr = cx->ks;
-#if defined(ENC_ROUND_CACHE_TABLES)
-	dtables(t_fn);
-#endif
-#if defined(LAST_ENC_ROUND_CACHE_TABLES)
-	dtables(t_fl);
-#endif
-
-#if defined( dec_fmvars )
-    dec_fmvars; /* declare variables for fwd_mcol() if needed */
-#endif
-
-#if defined( AES_ERR_CHK )
-    if( cx->rn != 10 && cx->rn != 12 && cx->rn != 14 )
-        return aes_error;
-#endif
-
-	// Load IV into b0.
-	state_in(b0, in_iv);
-
-	for (;num_blk; in += AES_BLOCK_SIZE, out += AES_BLOCK_SIZE, --num_blk)
-	{
-		kp = kptr;
-#if 0
-		// Read the plaintext into b1
-		state_in(b1, in);
-		// Do the CBC with b0 which is either the iv or the ciphertext of the previous block.
-		cbc(b1, b0);
-
-		// Xor b1 with the key schedule to get things started.
-		key_in(b0, b1, kp);
-#else
-		// Since xor is associative we mess with the ordering here to get the loads started early
-		key_in(b1, b0, kp);  // Xor b0(IV) with the key schedule and assign to b1
-		state_in(b0, in);    // Load block into b0
-		cbc(b0, b1);         // Xor b0 with b1 and store in b0
-#endif
-
-#if defined(ENC_ROUND_CACHE_TABLES)
-		itables(t_fn);
-#endif
-
-#if (ENC_UNROLL == FULL)
-
-		switch(cx->rn)
-		{
-		case 14:
-			round(fwd_rnd,  b1, b0, kp + 1 * N_COLS);
-			round(fwd_rnd,  b0, b1, kp + 2 * N_COLS);
-			kp += 2 * N_COLS;
-		case 12:
-			round(fwd_rnd,  b1, b0, kp + 1 * N_COLS);
-			round(fwd_rnd,  b0, b1, kp + 2 * N_COLS);
-			kp += 2 * N_COLS;
-		case 10:
-		default:
-			round(fwd_rnd,  b1, b0, kp + 1 * N_COLS);
-			round(fwd_rnd,  b0, b1, kp + 2 * N_COLS);
-			round(fwd_rnd,  b1, b0, kp + 3 * N_COLS);
-			round(fwd_rnd,  b0, b1, kp + 4 * N_COLS);
-			round(fwd_rnd,  b1, b0, kp + 5 * N_COLS);
-			round(fwd_rnd,  b0, b1, kp + 6 * N_COLS);
-			round(fwd_rnd,  b1, b0, kp + 7 * N_COLS);
-			round(fwd_rnd,  b0, b1, kp + 8 * N_COLS);
-			round(fwd_rnd,  b1, b0, kp + 9 * N_COLS);
-#if defined(LAST_ENC_ROUND_CACHE_TABLES)
-			itables(t_fl);
-#endif
-			round(fwd_lrnd, b0, b1, kp +10 * N_COLS);
-		}
-
-#else
-
-		{   aes_32t    rnd;
-#if (ENC_UNROLL == PARTIAL)
-			for(rnd = 0; rnd < (cx->rn >> 1) - 1; ++rnd)
-			{
-				kp += N_COLS;
-				round(fwd_rnd, b1, b0, kp);
-				kp += N_COLS;
-				round(fwd_rnd, b0, b1, kp);
-			}
-			kp += N_COLS;
-			round(fwd_rnd,  b1, b0, kp);
-#else
-			for(rnd = 0; rnd < cx->rn - 1; ++rnd)
-			{
-				kp += N_COLS;
-				round(fwd_rnd, b1, b0, kp);
-				l_copy(b0, b1);
-			}
-#endif
-#if defined(LAST_ENC_ROUND_CACHE_TABLES)
-			itables(t_fl);
-#endif
-			kp += N_COLS;
-			round(fwd_lrnd, b0, b1, kp);
-		}
-#endif
-	
-		state_out(out, b0);
-	}
-
-#if defined( AES_ERR_CHK )
-    return aes_good;
-#endif
-}
-
-#endif
-
-#if defined(DECRYPTION) && !defined(AES_ASM)
-
-/* Visual C++ .Net v7.1 provides the fastest encryption code when using
-   Pentium optimiation with small code but this is poor for decryption
-   so we need to control this with the following VC++ pragmas
-*/
-
-#if defined(_MSC_VER)
-#pragma optimize( "t", on )
-#endif
-
-/* Given the column (c) of the output state variable, the following
-   macros give the input state variables which are needed in its
-   computation for each row (r) of the state. All the alternative
-   macros give the same end values but expand into different ways
-   of calculating these values.  In particular the complex macro
-   used for dynamically variable block sizes is designed to expand
-   to a compile time constant whenever possible but will expand to
-   conditional clauses on some branches (I am grateful to Frank
-   Yellin for this construction)
-*/
-
-#define inv_var(x,r,c)\
- ( r == 0 ? ( c == 0 ? s(x,0) : c == 1 ? s(x,1) : c == 2 ? s(x,2) : s(x,3))\
- : r == 1 ? ( c == 0 ? s(x,3) : c == 1 ? s(x,0) : c == 2 ? s(x,1) : s(x,2))\
- : r == 2 ? ( c == 0 ? s(x,2) : c == 1 ? s(x,3) : c == 2 ? s(x,0) : s(x,1))\
- :          ( c == 0 ? s(x,1) : c == 1 ? s(x,2) : c == 2 ? s(x,3) : s(x,0)))
-
-#if defined(IT4_SET)
-#undef  dec_imvars
-#  if defined(DEC_ROUND_CACHE_TABLES)
-#define inv_rnd(y,x,k,c)    (s(y,c) = (k)[c] ^ four_cached_tables(x,t_in,inv_var,rf1,c))
-#  else
-#define inv_rnd(y,x,k,c)    (s(y,c) = (k)[c] ^ four_tables(x,t_in,inv_var,rf1,c))
-#  endif
-#elif defined(IT1_SET)
-#undef  dec_imvars
-#define inv_rnd(y,x,k,c)    (s(y,c) = (k)[c] ^ one_table(x,upr,t_in,inv_var,rf1,c))
-#else
-#define inv_rnd(y,x,k,c)    (s(y,c) = inv_mcol((k)[c] ^ no_table(x,t_ibox,inv_var,rf1,c)))
-#endif
-
-#if defined(IL4_SET)
-#  if defined(LAST_DEC_ROUND_CACHE_TABLES)
-#define inv_lrnd(y,x,k,c)   (s(y,c) = (k)[c] ^ four_cached_tables(x,t_il,inv_var,rf1,c))
-#  else
-#define inv_lrnd(y,x,k,c)   (s(y,c) = (k)[c] ^ four_tables(x,t_il,inv_var,rf1,c))
-#  endif
-#elif defined(IL1_SET)
-#define inv_lrnd(y,x,k,c)   (s(y,c) = (k)[c] ^ one_table(x,ups,t_il,inv_var,rf1,c))
-#else
-#define inv_lrnd(y,x,k,c)   (s(y,c) = (k)[c] ^ no_table(x,t_ibox,inv_var,rf1,c))
-#endif
-
-aes_rval aes_decrypt_cbc(const unsigned char *in, const unsigned char *in_iv, unsigned int num_blk,
-					 unsigned char *out, const aes_decrypt_ctx cx[1])
-{   aes_32t        locals(b0, b1);
-    const aes_32t *kptr = cx->ks + cx->rn * N_COLS;
-	const aes_32t *kp;
-#if defined(DEC_ROUND_CACHE_TABLES)
-	dtables(t_in);
-#endif
-#if defined(LAST_DEC_ROUND_CACHE_TABLES)
-	dtables(t_il);
-#endif
-
-#if defined( dec_imvars )
-    dec_imvars; /* declare variables for inv_mcol() if needed */
-#endif
-	
-#if defined( AES_ERR_CHK )
-    if( cx->rn != 10 && cx->rn != 12 && cx->rn != 14 )
-        return aes_error;
-#endif

>>> TRUNCATED FOR MAIL (1000 lines) <<<



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608302054.k7UKsIAk032560>