Machine-Level Software Optimization of Cryptographic Protocols

dc.contributor.authorFishbein, Dieter
dc.date.accessioned2014-04-30T20:14:44Z
dc.date.available2014-04-30T20:14:44Z
dc.date.issued2014-04-30
dc.date.submitted2014
dc.description.abstractThis work explores two methods for practical cryptography on mobile devices. The first method is a quantum-resistant key-exchange protocol proposed by Jao et al.. As the use of mobile devices increases, the deployment of practical cryptographic protocols designed for use on these devices is of increasing importance. Furthermore, we are faced with the possible development of a large-scale quantum computer in the near future and must take steps to prepare for this possibility. We describe the key-exchange protocol of Jao et al. and discuss their original implementation. We then describe our modifications to their scheme that make it suitable for use in mobile devices. Our code is between 18-26% faster (depending on the security level). The second is an highly optimized implementation of Miller's algorithm that efficiently computes the Optimal Ate pairing over Barreto-Naehrig curves proposed by Grewal et al.. We give an introduction to cryptographic pairings and describe the Tate pairing and its variants. We then proceed to describe Grewal et al.'s implementation of Miller's algorithm, along with their optimizations. We describe our use of hand-optimized assembly code to increase the performance of their implementation. For the Optimal Ate pairing over the BN-446 curve, our code is between 7-8% faster depending on whether the pairing uses affine or projective coordinates.en
dc.identifier.urihttp://hdl.handle.net/10012/8400
dc.language.isoenen
dc.pendingfalse
dc.publisherUniversity of Waterlooen
dc.subjectcryptographyen
dc.subjectcryptologyen
dc.subjectkey-exchangeen
dc.subjectpairingsen
dc.subjectBN-curvesen
dc.subjectisogeniesen
dc.subjectelliptic curvesen
dc.subjectTate pairingen
dc.subjectOptimal Ate pairingen
dc.subjectmobile devicesen
dc.subjectpost-quantum cryptographyen
dc.subjectassembly languageen
dc.subject.programCombinatorics and Optimizationen
dc.titleMachine-Level Software Optimization of Cryptographic Protocolsen
dc.typeMaster Thesisen
uws-etd.degreeMaster of Mathematicsen
uws-etd.degree.departmentCombinatorics and Optimizationen
uws.peerReviewStatusUnrevieweden
uws.scholarLevelGraduateen
uws.typeOfResourceTexten

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Fishbein_Dieter.pdf
Size:
490.31 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.89 KB
Format:
Item-specific license agreed upon to submission
Description: