**BigNum Math: Implementing Cryptographic Multiple Precision Arithmetic, ISBN-13: 978-1597491129**

[PDF eBook eTextbook]

• Publisher: Elsevier Science (06/01/2006)

• Language: English

• 315 pages

• ISBN-10: 1597491128

• ISBN-13: 978-1597491129

Implementing cryptography requires integers of significant magnitude to resist cryptanalytic attacks. Modern programming languages only provide support for integers which are relatively small and single precision. The purpose of this text is to instruct the reader regarding how to implement efficient multiple precision algorithms.

Bignum math is the backbone of modern computer security algorithms. It is the ability to work with hundred-digit numbers efficiently using techniques that are both elegant and occasionally bizarre. This book introduces the reader to the concept of bignum algorithms and proceeds to build an entire library of functionality from the ground up. Through the use of theory, pseudo-code and actual fielded C source code the book explains each and every algorithm that goes into a modern bignum library. Excellent for the student as a learning tool and practitioner as a reference alike BigNum Math is for anyone with a background in computer science who has taken introductory level mathematic courses. The text is for students learning mathematics and cryptography as well as the practioner who needs a reference for any of the algorithms documented within.

* Complete coverage of Karatsuba Multiplication, the Barrett Algorithm, Toom-Cook 3-Way Multiplication, and More

* Tom St Denis is the developer of the industry standard cryptographic suite of tools called LibTom.

* This book provides step-by-step exercises to enforce concepts

**Table of contents**

Cover

Title page

Table of Contents

Copyright

List of Figures

Preface

Chapter 1: Introduction

1.1 Multiple Precision Arithmetic

1.2 Purpose of This Text

1.3 Discussion and Notation

1.4 Exercises

1.5 Introduction to LibTomMath

1.6 Choice of LibTomMath

Chapter 2: Getting Started

2.1 Library Basics

2.2 What Is a Multiple Precision Integer?

2.3 Argument Passing

2.4 Return Values

2.5 Initialization and Clearing

2.6 Maintenance Algorithms

2.6.1 Augmenting an mp_int’s Precision

2.6.2 Initializing Variable Precision mp_ints

Chapter 3: Basic Operations

3.1 Introduction

3.2 Assigning Values to mp_int Structures

3.3 Zeroing an Integer

3.4 Sign Manipulation

3.5 Small Constants

3.6 Comparisons

Chapter 4: Basic Arithmetic

4.1 Introduction

4.2 Addition and Subtraction

4.3 Bit and Digit Shifting

4.4 Polynomial Basis Operations

4.5 Powers of Two

Chapter 5: Multiplication and Squaring

5.1 The Multipliers

5.2 Multiplication

5.3 Squaring

Chapter 6: Modular Reduction

6.1 Basics of Modular Reduction

6.3 The Montgomery Reduction

6.4 The Diminished Radix Algorithm

6.5 Algorithm Comparison

Chapter 7: Exponentiation

7.1 Exponentiation Basics

7.2 k–ary Exponentiation

7.3 Modular Exponentiation

7.4 Quick Power of Two

Chapter 8: Higher Level Algorithms

8.1 Integer Division with Remainder

1.1 Single Digit Helpers

8.3 Random Number Generation

8.4 Formatted Representations

Chapter 9: Number Theoretic Algorithms

9.1 Greatest Common Divisor

9.1.1 Complete Greatest Common Divisor

9.2 Least Common Multiple

9.3 Jacobi Symbol Computation

9.4 Modular Inverse

9.5 Primality Tests

Bibliography

Index

**Tom St. Denis** is the author of the industry standard LibTom series of projects. Tom is a senior software developer and cryptographer for the Advanced Micro Devices Corporation. He has been engaged in various international development contracts and speaking engagements since 2004. He is at work on his next book, Cryptography for Developers.

**What makes us different?**

• Instant Download

• Always Competitive Pricing

• 100% Privacy

• FREE Sample Available

• 24-7 LIVE Customer Support

## Reviews

There are no reviews yet.