04.11.2012 Views

1 Montgomery Modular Multiplication in Hard- ware

1 Montgomery Modular Multiplication in Hard- ware

1 Montgomery Modular Multiplication in Hard- ware

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Contents<br />

Introduction 1<br />

1 <strong>Montgomery</strong> <strong>Modular</strong> <strong>Multiplication</strong> <strong>in</strong> <strong>Hard</strong><strong>ware</strong> - prelim<strong>in</strong>aries 3<br />

1.1 Implementation Platforms . . . . . . . . . . . . . . . . . . . . . . . . 3<br />

1.2 RSA Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6<br />

1.2.1 <strong>Modular</strong> Exponentiation and <strong>Multiplication</strong> . . . . . . . . . . 8<br />

1.2.2 <strong>Hard</strong><strong>ware</strong> Implementations of the MMM . . . . . . . . . . . . 12<br />

1.3 EC <strong>in</strong> Cryptography . . . . . . . . . . . . . . . . . . . . . . . . . . . 15<br />

1.4 Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18<br />

2 <strong>Montgomery</strong> <strong>Modular</strong> <strong>Multiplication</strong> <strong>in</strong> <strong>Hard</strong><strong>ware</strong> 20<br />

2.1 Scalable MMM design . . . . . . . . . . . . . . . . . . . . . . . . . . 20<br />

2.1.1 Scalable Multiple-Word Algorithms . . . . . . . . . . . . . . . 22<br />

2.1.2 Comparison of Implementation Approaches . . . . . . . . . . . 23<br />

2.2 Multiplier Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . 25<br />

2.2.1 Adder Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . 26<br />

2.2.2 Memory Block . . . . . . . . . . . . . . . . . . . . . . . . . . . 32<br />

2.2.3 Interface to Controller . . . . . . . . . . . . . . . . . . . . . . 34<br />

2.3 Implementation of the MMM . . . . . . . . . . . . . . . . . . . . . . 36<br />

2.3.1 Comparison of CSA and CPA PE . . . . . . . . . . . . . . . . 36<br />

2.3.2 <strong>Montgomery</strong> <strong>Multiplication</strong> Coprocessor . . . . . . . . . . . . 38<br />

2.3.3 <strong>Hard</strong><strong>ware</strong>-Soft<strong>ware</strong> Co-design of MMM: a Case Study . . . . . 38<br />

2.3.4 Implementation Results . . . . . . . . . . . . . . . . . . . . . 42<br />

2.4 Conclusions and Future Work . . . . . . . . . . . . . . . . . . . . . . 42<br />

3 Elliptic Curve Method <strong>in</strong> <strong>Hard</strong><strong>ware</strong> - prelim<strong>in</strong>aries 44<br />

3.1 Integer Factor<strong>in</strong>g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44<br />

3.1.1 Factor<strong>in</strong>g Algorithms . . . . . . . . . . . . . . . . . . . . . . . 44<br />

3.1.2 Motivation for <strong>Hard</strong><strong>ware</strong> Implementation . . . . . . . . . . . . 45<br />

3.2 Previous Implementations of ECM . . . . . . . . . . . . . . . . . . . 46<br />

3.3 Mathematical Background . . . . . . . . . . . . . . . . . . . . . . . . 47<br />

3.3.1 Pollard’s (p − 1)-algorithm . . . . . . . . . . . . . . . . . . . . 48<br />

3.3.2 ECM Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . 49

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!