• No results found

A fundamental problem in computer design is the control of devices such as disk drives and printers. Each device is designed to respond to a particular set of control com- mands sent as patterns of binary values through the port to which the device is connected. For example, a printer will respond to a “new page” command by skipping lines to the end of the current page and moving the print head to the start of the next page, taking margin settings into account. The problem is this: When an applications pro- gram such as a word processor needs to print a document, how should the necessary commands be provided to the printer? If every application program has to include the appropriate set of commands for each device that might be in use, programs will be bloated and much development effort will be required for supporting devices rather than extending the functionality of the product itself. Instead, the manufacturers of printers and other devices such as scanners and graphics tablets typically provide a program called a driver. (A version of the driver is created for each major operating system in use.) The driver serves as the intermediary between the application, the operating system and the low-level device control system. It is sometimes useful to have drivers in the form of continually running programs that monitor the status of a device and wait for commands (see demon).

modern operating systems such as microsoft Windows typically take responsibility for services such as printing documents. When a printer is installed, its driver program is also installed in Windows. When the application pro- gram requests to print a document, Windows’s print system accesses the driver. The driver turns the operating system’s “generic” commands into the specific hardware control commands needed for the device.

While the use of drivers simplifies things for both pro- gram developers and users, there remains the need for users to occasionally update drivers because of an upgrade either in the operating system or in the support for device capa- bilities. Both Windows and the macintosh operating system         device driver

implement a feature called plug and play. This allows for a newly installed device to be automatically detected by the system and the appropriate driver loaded into the operat- ing system (see plugandplay). Other device management components enable the OS to keep track of the driver ver- sion associated with each device. Some of the newest operat- ing systems include auto-update features that can search on the Web for the latest driver versions and download them.

The need to provide drivers for popular devices creates something of a barrier to the development of new operating systems. In a catch-22, device manufacturers are unlikely to support a new OS that lacks significant market share, while the lack of device support in turn will discourage users from adopting the new OS. (Users of the Linux operat- ing system faced this problem. However, that system’s open source and cooperative development system made it easier for enthusiasts to write and distribute drivers without wait- ing for manufacturers to do so.)

Further Reading

mr. Driver: Device Drivers. Available online. URL: http://www. mrdriver.com. Accessed July 8, 2007.

Oney, Walter. Programming the Microsoft Windows Driver Manual.

2nd ed. Redmond, Wash.: microsoft Press, 2005.

Rubini, Alessandro, and Jonathan Corbet. Linux Device Drivers.

3rd ed. Sebastapol, Calif.: O’Reilly, 2005.

Windows Driver Kit (WDK) Overview. Available online. URL: http://www.microsoft.com/whdc/devtools/wdk/default.mspx. Accessed July 8, 2007.

DHTML 

Seehtml, dhtml, and xhtml.

Diffie, Bailey Whitfield

(1944– ) American

Mathematician, Computer Scientist

Bailey Whitfield Diffie created the system of public key cryptography that many computer users depend on today to protect their sensitive information (see encRyption).

Diffie was born on June 5, 1944, in the borough of Queens, New York City. As a youngster he read about secret codes and became fascinated. Although he was an indiffer- ent high school student who barely qualified for graduation, Diffie scored so high on standardized tests that he won admission to the University of California, Berkeley, in 1962, where he studied mathematics for two years. However, in 1964 he transferred to the massachusetts Institute of Tech- nology (mIT) and obtained his B.S. in mathematics in 1965. After graduation Diffie took a job at mitre Corporation, a defense contractor, where he plunged into computer pro- gramming, helping create mathlab, a program that allowed mathematicians to not merely calculate with a computer, but also to manipulate mathematical symbols to solve equa- tions. (The program would eventually evolve into macsyma, a software package used widely in the mathematical com- munity—see mathematicssoftWaRe.)

By the early 1970s Diffie had moved to the West Coast, working at the Stanford Artificial Intelligence Laboratory (SAIL), where he met Lawrence Roberts, head of informa- tion processing research for ARPA, the Defense Depart- ment’s research agency. Roberts’s main project was the creation of the ARPAnet, the computer network that would later evolve into the Internet.

Roberts was interested in providing security for the new network, and (along with AI researcher John mcCarthy) he helped revive Diffie’s dormant interest in cryptogra- phy. By 1974 Diffie had learned that IBm was developing a more secure cipher system, the DES (Data Encryption Standard), under government supervision. However, Diffie soon became frustrated with the way the National Security Agency (NSA) doled out or withheld information on cryp- tography, making independent research in the field very difficult. Seeking to learn the state of the art, Diffie traveled widely, seeking out people who might have fresh thoughts on the subject.

Diffie found one such person in martin Hellman, a Stan- ford professor who had also been struggling on his own to develop a better system of encryption. They decided to pool their ideas and efforts, and Diffie and Hellman came up with a new approach, which would become known as pub- lic key cryptography. It combined two important ideas that had already been discovered to an extent by other research- ers. The first idea was the “trap-door function”—a math- ematical operation that can be easily performed “forward” but that was very hard to work “backward.” Diffie realized, however, that a trap-door function could be devised that

The device driver is the link between the operating system and the hardware that controls a specific device. Program requests are passed by the operating system to the device driver, which issues the detailed instructions needed by the device controller.

could be worked backward easily if the person had the appropriate key.

The second idea was that of key exchange. In classical cryptography, there is a single key used for both encryption and decryption. In such a case it is absolutely vital to keep the key secret from any third party, so arrangements have to be made in advance to transmit and protect the key.

Diffie, however, was able to work out the theory for a system that generates pairs of mathematically interrelated keys: a private key and a public key. Each participant publishes his or her public key, but keeps the correspond- ing private key secret. If one wants to send an encrypted message to someone, one uses that person’s public key (obtained from the electronic equivalent of a phone direc- tory). The resulting message can only be decrypted by the intended recipient, who uses the corresponding secret, private key.

The public key system can also be used as a form of “digital signature” for verifying the authenticity of a mes- sage. Here a person creates a message encrypted with his or her private key. Since such a message can only be decrypted using the corresponding public key, any other person can use that key (together with a trusted third-party key ser- vice) to verify that the message really came from its pur- ported author.

Diffie and Hellman’s 1976 paper in the IEEE Transac- tions on Information Theory began boldly with the statement that “we stand today on the brink of a revolution in cryp- tography.” This paper soon came to the attention of three researchers who would create a practical implementation called RSA (for Rivest, Shamir, and Adelman).

Through the 1980s Diffie, resisting urgent invitations from the NSA, served as manager of secure systems research for the phone company Northern Telecom, designing sys- tems for managing security keys for packet-switched data communications systems (such as the Internet).

In 1991 Diffie was appointed Distinguished Engineer for Sun microsystems, a position that has left him free to deal with cryptography-related public policy issues. The best known of these issues has been the Clipper Chip, a proposal that all new computers be fitted with a hardware encryption device that would include a “back door” that would allow the government to decrypt data. Along with many civil libertarians and privacy activists, Diffie did not believe users should have to trust largely unaccountable government agencies for the preservation of their privacy. Their opposition was strong enough to scuttle the Clipper Chip proposal by the end of the 1990s. Another proposal, using public key cryptography but having a third-party “key escrow” agency hold the keys for possible criminal investigation, also fared poorly. In 1998 Diffie and Susan Landau wrote Privacy on the Line, a book about the politics of surveillance and encryption. The book was revised and expanded in 2007.

Diffie has received a number of awards for both technical excellence and contributions to civil liberties. These include the IEEE Information Theory Society Best Paper Award (1979), the IEEE Donald Fink Award (1981), the Electronic Frontier Foundation Pioneer Award (1994), and even the

National Computer Systems Security Award (1996), given by the NIST and NSA.

Further Reading

Diffie, Whitfield. “Interview with Whitfield Diffie on the Devel- opment of Public Key Cryptography.” Conducted by Franco Furger; edited by Arnd Weber, 1992. Available online. URL: http://www.itas.fzk.de/mahp/weber/diffie.htm. Accessed Sep- tember 12, 2007.

Diffie, Whitfield, and Susan Landau. Privacy on the Line: the Poli- tics of Wiretapping and Encryption. Updated and expanded ed. Cambridge, mass.: mIT Press, 2007.

Kahn, David. The Codebreakers: The Story of Secret Writing. Revised ed. New York: Scribner, 1996.

Levy, Steven. Crypto: How the Code Rebels Beat the Government: Saving Privacy in the Digital Age. New York: Viking Penguin, 2001.