Brief Full Advanced Search Search Tips
|  |  | To access the contents, click the chapter and section titles. Applied Cryptography, Second Edition: Protocols, Algorthms, and Source Code in C (cloth) (Publisher: John Wiley & Sons, Inc.) Author(s): Bruce Schneier ISBN: 0471128457 Publication Date: 01/01/96 Search this book:
Previous | Table of Contents | Next
Let’s look at the criticisms against DSA, one by one. 1. DSA cannot be used for encryption or key distribution. True, but not the point of the standard. This is a signature standard. NIST should have a standard for public-key encryption. NIST is committing a grave injustice to the American people by not implementing a public-key encryption standard. It is suspicious that this proposed digital signature standard cannot be used for encryption. (As it turns out, though, it can—see Section 23.3.) That does not mean that a signature standard is useless. 2. DSA was developed by the NSA, and there may be a trapdoor in the algorithm. Much of the initial comments were just paranoia: “NIST’s denial of information with no apparent justification does not inspire confidence in DSS, but intensifies concern that there is a hidden agenda, such as laying the groundwork for a national public-key cryptosystem that is in fact vulnerable to being broken by NIST and/or NSA” [154]. One serious question about the security of DSA was raised by Arjen Lenstra and Stuart Haber at Bellcore. This will be discussed later. 3. DSA is slower than RSA [800]. True, more or less. Signature generation speeds are the same, but signature verification can be 10 to 40 times slower with DSA. Key generation, however, is faster. But key generation is irrelevant; a user rarely does it. On the other hand, signature verification is the most common operation. The problem with this criticism is that there are many ways to play with the test parameters, depending on the results you want. Precomputations can speed up DSA signature generation, but don’t always apply. Proponents of RSA use numbers optimized to make their calculations easier; proponents of DSA use their own optimizations. In any case, computers are getting faster all the time. While there is a speed difference, it will not be noticeable in most applications. 4. RSA is a de facto standard. Here are two examples of this complaint. From Robert Follett, the program director of standards at IBM [570]: IBM is concerned that NIST has proposed a standard with a different digital signature scheme rather than adopting the international standard. We have been convinced by users and user organizations that the international standards using RSA will be a prerequisite to the sales of security products in the very near future. From Les Shroyer, vice president and director, corporate MIS and telecommunications, at Motorola [1444]: We must have a single, robust, politically-accepted digital signature standard that is usable throughout the world, between both U.S. and non-U.S., and Motorola and non-Motorola entities. The lack of other viable digital signature technology for the last eight years has made RSA a de facto standard.... Motorola and many other companies... have committed millions of dollars to RSA. We have concern over the interoperability and support of two different standards, as that situation will lead to added costs, delays in deployment, and complication.... Many companies wanted NIST to adopt the ISO 9796, the international digital signature standard that uses RSA [762]. While this is a valid complaint, it is not a sufficient justification to make it a standard. A royalty-free standard would better serve the U.S. public interest. 5. The DSA selection process was not public; sufficient time for analysis has not been provided. First NIST claimed that they designed the DSA; then they admitted that NSA helped them. Finally, they confirmed that NSA designed the algorithm. This worries many people; the NSA doesn’t inspire trust. Even so, the algorithm is public and available for analysis; and NIST extended the time for analysis and comment. 6. DSA may infringe on other patents. It may. This will be discussed in the section on patent issues. 7. The key size is too small. This was the only valid criticism of DSS. The original implementation set the modulus at 512 bits [1149]. Since the algorithm gets its security from the difficulty of computing discrete logs in that modulus, this worried most cryptographers. There have since been advances in the problem of calculating discrete logarithms in a finite field, and 512 bits is too short for long-term security (see Section 7.2). According to Brian LaMacchia and Andrew Odlyzko, “...even 512-bit primes appear to offer only marginal security...” [934]. In response to this criticism, NIST made the key size variable, from 512 bits to 1024 bits. Not great, but better. On May 19, 1994, the standard was finally issued [1154]. The issuing statement said [542]: This standard is applicable to all Federal departments and agencies for the protection of unclassified information.... This standard shall be used in designing and implementing public-key based signature schemes which Federal departments and agencies operate or which are operated for them under contract. Adoption and use of this standard is available to private and commercial organizations. Before you run out and implement this standard in your next product, read the section on patent issues below. Description of DSA DSA is a variant of the Schnorr and ElGamal signature algorithms, and is fully described in [1154]. The algorithm uses the following parameters: p = a prime number L bits long, when L ranges from 512 to 1024 and is a multiple of 64. (In the original standard, the size of p was fixed at 512 bits [1149]. This was the source of much criticism and was changed by NIST [1154].) q = a 160-bit prime factor of p – 1. g = h(p-1)/q mod p, where h is any number less than p – 1 such that h(p - 1)/q mod p is greater than 1. x = a number less than q. y = gx mod p. The algorithm also makes use of a one-way hash function: H(m). The standard specifies the Secure Hash Algorithm, discussed in Section 18.7. The first three parameters, p, q, and g, are public and can be common across a network of users. The private key is x; the public key is y. To sign a message, m: (1) Alice generates a random number, k, less than q. (2) Alice generates r = (gk mod p) mod q s = (k-1 (H(m) + xr)) mod q The parameters r and s are her signature; she sends these to Bob. (3) Bob verifies the signature by computing w = s-1 mod q u1 = (H(m) * w) mod q u2 = (rw) mod q v = ((gu 1 * yu 2) mod p) mod q If v = r, then the signature is verified.
Previous | Table of Contents | Next
[an error occurred while processing this directive]

| Products | Contact Us | About Us | Privacy | Ad Info | Home Use of this site is subject to certain Terms & Conditions, Copyright © 1996-1999 EarthWeb Inc. All rights reserved. Reproduction whole or in part in any form or medium without express written permision of EarthWeb is prohibited.