towards green cryptography a comparison of lightweight
play

Towards Green Cryptography: a Comparison of Lightweight Ciphers from - PowerPoint PPT Presentation

Towards Green Cryptography: a Comparison of Lightweight Ciphers from the Energy Viewpoint St ephanie Kerckhof, Fran cois Durvaux, C edric Hoquet, David Bol, Fran cois-Xavier Standaert CHES 2012 September 2012 UCL Crypto Group


  1. Towards Green Cryptography: a Comparison of Lightweight Ciphers from the Energy Viewpoint St´ ephanie Kerckhof, Fran¸ cois Durvaux, C´ edric Hoquet, David Bol, Fran¸ cois-Xavier Standaert CHES 2012 – September 2012 UCL Crypto Group Towards Green Cryptography - September 2012 1 Microelectronics Laboratory

  2. Context ◮ More lightweight devices in more applications UCL Crypto Group Towards Green Cryptography - September 2012 2 Microelectronics Laboratory

  3. Outline 1 Motivations 2 This Work 3 Observations 4 Conclusion UCL Crypto Group Towards Green Cryptography - September 2012 3 Microelectronics Laboratory

  4. Lightweight Ciphers AES 2002 2004 2006 2008 2010 2012 UCL Crypto Group Towards Green Cryptography - September 2012 4 Microelectronics Laboratory

  5. Lightweight Ciphers AES 2002 2004 2006 2008 2010 2012 TEA NOEKEON UCL Crypto Group Towards Green Cryptography - September 2012 4 Microelectronics Laboratory

  6. Lightweight Ciphers AES ICEBERG 2002 2004 2006 2008 2010 2012 TEA NOEKEON UCL Crypto Group Towards Green Cryptography - September 2012 4 Microelectronics Laboratory

  7. Lightweight Ciphers HIGHT mCrypton AES ICEBERG SEA 2002 2004 2006 2008 2010 2012 TEA NOEKEON UCL Crypto Group Towards Green Cryptography - September 2012 4 Microelectronics Laboratory

  8. Lightweight Ciphers HIGHT mCrypton AES ICEBERG SEA 2002 2004 2006 2008 2010 2012 TEA PRESENT NOEKEON UCL Crypto Group Towards Green Cryptography - September 2012 4 Microelectronics Laboratory

  9. Lightweight Ciphers KATAN HIGHT TWIS mCrypton MIBS AES ICEBERG SEA 2002 2004 2006 2008 2010 2012 TEA PRESENT NOEKEON UCL Crypto Group Towards Green Cryptography - September 2012 4 Microelectronics Laboratory

  10. Lightweight Ciphers KATAN HIGHT TWIS mCrypton MIBS AES ICEBERG SEA 2002 2004 2006 2008 2010 2012 TEA Piccolo PRESENT NOEKEON LBlock UCL Crypto Group Towards Green Cryptography - September 2012 4 Microelectronics Laboratory

  11. Lightweight Ciphers KATAN HIGHT TWIS mCrypton MIBS KLEIN AES ICEBERG SEA 2002 2004 2006 2008 2010 2012 TEA Piccolo PRESENT NOEKEON LBlock UCL Crypto Group Towards Green Cryptography - September 2012 4 Microelectronics Laboratory

  12. Lightweight Ciphers KATAN HIGHT TWIS mCrypton MIBS KLEIN AES ICEBERG SEA 2002 2004 2006 2008 2010 2012 TEA Piccolo PRESENT NOEKEON LBlock ◮ Many lightweight ciphers UCL Crypto Group Towards Green Cryptography - September 2012 4 Microelectronics Laboratory

  13. Lightweight Ciphers KATAN HIGHT TWIS mCrypton MIBS KLEIN AES ICEBERG SEA 2002 2004 2006 2008 2010 2012 TEA Piccolo PRESENT NOEKEON LBlock ◮ Many lightweight ciphers ◮ Few comparative studies → Lack of standardization? ◮ Existing implementations → Different technologies → Focused on gate count UCL Crypto Group Towards Green Cryptography - September 2012 4 Microelectronics Laboratory

  14. What is Lightweight? UCL Crypto Group Towards Green Cryptography - September 2012 5 Microelectronics Laboratory

  15. What is Lightweight? I’m lightweight UCL Crypto Group Towards Green Cryptography - September 2012 5 Microelectronics Laboratory

  16. What is Lightweight? I’m lightweight UCL Crypto Group Towards Green Cryptography - September 2012 5 Microelectronics Laboratory

  17. What is Lightweight? I’m lightweight UCL Crypto Group Towards Green Cryptography - September 2012 5 Microelectronics Laboratory

  18. What is Lightweight? I’m lightweight UCL Crypto Group Towards Green Cryptography - September 2012 5 Microelectronics Laboratory

  19. What is Lightweight? ◮ Which criteria? → Low area? → Low power? → Low energy? → Still fast? ◮ Limitation: Relativity of metrics → Possibility to optimize one criteria at the expense of another one I’m lightweight UCL Crypto Group Towards Green Cryptography - September 2012 6 Microelectronics Laboratory

  20. How Relevant is Lightweight Cryptography? ◮ Changing algorithm is expensive ◮ How much do we gain compared to ◮ Hardware design choices (e.g. architecture) ◮ Implementation choices (e.g. frequency/voltage scaling) UCL Crypto Group Towards Green Cryptography - September 2012 7 Microelectronics Laboratory

  21. Outline 1 Motivations 2 This Work 3 Observations 4 Conclusion UCL Crypto Group Towards Green Cryptography - September 2012 8 Microelectronics Laboratory

  22. This Work Algorithms choice ◮ Block and key sizes ◮ Different types of key scheduling ◮ Different combinations of encryption/decryption Block Key Ciphers 128 128 aes noekeon 64 128 hight iceberg 64 80 katan present UCL Crypto Group Towards Green Cryptography - September 2012 9 Microelectronics Laboratory

  23. This Work Flexible architecture ◮ 3 core options (Enc, Dec, Enc/Dec) ◮ Unrolling parameter Nr UCL Crypto Group Towards Green Cryptography - September 2012 10 Microelectronics Laboratory

  24. This Work Technology: Low-power 65 nm CMOS Comparative study ◮ At fixed frequency f 100 ◮ At maximum frequency f max (max. area penalty = 10%) ◮ For all metrics Area Frequency Power Throughput Energy Frequency/Voltage scaling E op = 1 2 N sw C L V 2 dd + E leak UCL Crypto Group Towards Green Cryptography - September 2012 11 Microelectronics Laboratory

  25. Outline 1 Motivations 2 This Work 3 Observations Interpretation of Synthesis Results Impact of Algorithmic Design Choices 4 Conclusion UCL Crypto Group Towards Green Cryptography - September 2012 12 Microelectronics Laboratory

  26. Critical Path Expectation: Number of rounds x 2 ⇒ Critical path x 2 NOEKEON 8 HIGHT Critical path [ns] 4 2 1 0.5 1 2 4 8 Number of rounds UCL Crypto Group Towards Green Cryptography - September 2012 13 Microelectronics Laboratory

  27. Critical Path Expectation: Number of rounds x 2 ⇒ Critical path x 2 NOEKEON 8 HIGHT Critical path [ns] 4 2 1 0.5 1 2 4 8 Number of rounds UCL Crypto Group Towards Green Cryptography - September 2012 13 Microelectronics Laboratory

  28. Critical Path Expectation: Number of rounds x 2 ⇒ Critical path x 2 Observation: Critical path not always in the round logic NOEKEON 8 HIGHT Critical path [ns] 4 2 1 0.5 1 2 4 8 Number of rounds UCL Crypto Group Towards Green Cryptography - September 2012 13 Microelectronics Laboratory

  29. Area Naive expectation: Number of rounds x 2 ⇒ Area x 2 2 16 PRESENT 2 15 KATAN 2 14 Area [GE] 2 13 2 12 2 11 2 10 2 9 2 8 1 2 4 8 16 32 Number of rounds UCL Crypto Group Towards Green Cryptography - September 2012 14 Microelectronics Laboratory

  30. Area Naive expectation: Number of rounds x 2 ⇒ Area x 2 2 16 PRESENT 2 15 KATAN 2 14 Area [GE] 2 13 2 12 2 11 2 10 2 9 2 8 1 2 4 8 16 32 Number of rounds UCL Crypto Group Towards Green Cryptography - September 2012 14 Microelectronics Laboratory

  31. Area Naive expectation: Number of rounds x 2 ⇒ Area x 2 Observation: Main component of area = state register 2 16 PRESENT 2 15 KATAN 2 14 Area [GE] 2 13 2 12 2 11 2 10 2 9 2 8 1 2 4 8 16 32 Number of rounds UCL Crypto Group Towards Green Cryptography - September 2012 14 Microelectronics Laboratory

  32. Throughput Expectation: Round unrolling should not make sense at f max 400 KATAN Throughput [Mbits/s] ICEBERG 300 200 100 0 1 2 4 8 16 32 Number of rounds UCL Crypto Group Towards Green Cryptography - September 2012 15 Microelectronics Laboratory

  33. Throughput Expectation: Round unrolling should not make sense at f max 400 KATAN Throughput [Mbits/s] ICEBERG 300 200 100 0 1 2 4 8 16 32 Number of rounds UCL Crypto Group Towards Green Cryptography - September 2012 15 Microelectronics Laboratory

  34. Throughput Expectation: Round unrolling should not make sense at f max Observation: And for extremely simple rounds 400 KATAN Throughput [Mbits/s] ICEBERG 300 200 100 0 1 2 4 8 16 32 Number of rounds UCL Crypto Group Towards Green Cryptography - September 2012 15 Microelectronics Laboratory

  35. Energy Expectation: Energy stable with number of rounds 16 KATAN ICEBERG HIGHT PRESENT Energy per bit [pJ] NOEKEON 8 4 2 1 1 2 4 8 16 32 Number of rounds UCL Crypto Group Towards Green Cryptography - September 2012 16 Microelectronics Laboratory

  36. Energy Expectation: Energy stable with number of rounds Observation: Energy more or less stable 16 KATAN ICEBERG HIGHT PRESENT Energy per bit [pJ] NOEKEON 8 4 2 1 1 2 4 8 16 32 Number of rounds UCL Crypto Group Towards Green Cryptography - September 2012 16 Microelectronics Laboratory

  37. Energy Expectation: Energy stable with number of rounds Observation: Trend observed later for KATAN 16 KATAN ICEBERG HIGHT PRESENT Energy per bit [pJ] NOEKEON 8 4 2 1 1 2 4 8 16 32 Number of rounds UCL Crypto Group Towards Green Cryptography - September 2012 16 Microelectronics Laboratory

  38. Outline 1 Motivations 2 This Work 3 Observations Interpretation of Synthesis Results Impact of Algorithmic Design Choices 4 Conclusion UCL Crypto Group Towards Green Cryptography - September 2012 17 Microelectronics Laboratory

Recommend


More recommend