SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
Roteiro
                                 Hashing SHA-2
    Arquitetura Hashing SHA-2 com alto throughput
                                              ¸˜
                                        Avaliacao
                                      ¸˜
                            Consideracoes Finais




  Uma arquitetura de Hashing SHA-2 com alto
                                          ´
 throughput para sistema h´brido reconfiguravel
                          ı


Bruno Calegaro1 Andrea Charao1 Vitor Gomes1,2
                           ˜                                            Haroldo de
                      Campos Velho2

                      1
                                       ´                          ¸˜
                          LSC - Laboratorio de Sistemas de Computacao
                          UFSM - Universidade Federal de Santa Maria
        2
                         ´                          ¸˜          ´
            LAC - Laboratorio Associado de Computacao e Matematica Aplicada
                    INPE - Instituto Nacional de Pesquisas Espaciais




                                                                                     1 / 20
Roteiro
                                    Hashing SHA-2
       Arquitetura Hashing SHA-2 com alto throughput
                                                 ¸˜
                                           Avaliacao
                                         ¸˜
                               Consideracoes Finais




1   Hashing SHA-2

2   Arquitetura Hashing SHA-2 com alto throughput

3         ¸˜
    Avaliacao

4            ¸˜
    Considerac oes Finais




                                                        2 / 20
Roteiro
                                          Hashing SHA-2
                                                              Hashing SHA-2
             Arquitetura Hashing SHA-2 com alto throughput
                                                              Algoritmo SHA-256
                                                       ¸˜
                                                 Avaliacao
                                               ¸˜
                                     Consideracoes Finais


Hashing SHA-2
       ¸˜
Introducao




         Processa uma mensagem e gera uma mensagem condensada
         (hash)
                       ˜ ´        ˜
         Algoritmo de mao unica (nao revers´vel)
                                           ı
             ˜
         Versoes: SHA-224, SHA-256, SHA-384, SHA-512
         Usos: Integridade de dados, armazenamento de senhas e etc.
         Alta afinidade com Hardware, principalmente pelo paralelismo de
               ¸˜    ´
         operacoes logicas
                                     ˜            ˜
         Opera em duas etapas: Expansao e Compressao



                                                                                  3 / 20
Roteiro
                                        Hashing SHA-2
                                                            Hashing SHA-2
           Arquitetura Hashing SHA-2 com alto throughput
                                                            Algoritmo SHA-256
                                                     ¸˜
                                               Avaliacao
                                             ¸˜
                                   Consideracoes Finais


      ˜
Expansao
Funcionamento


        Recebe um bloco de 16 palavras de 32bits e expande para 64
        palavras




                                                             ˜
                                      Figura: Etapa de Expansao


                                                                                4 / 20
Roteiro
                                        Hashing SHA-2
                                                            Hashing SHA-2
           Arquitetura Hashing SHA-2 com alto throughput
                                                            Algoritmo SHA-256
                                                     ¸˜
                                               Avaliacao
                                             ¸˜
                                   Consideracoes Finais


        ˜
Compressao
Funcionamento




      Recebe 64 palavras da etapa
               ˜
      de expansao e gera 8
      palavras
      Profundidade do circuito




                                                                                           ˜
                                                                  Figura: Etapa de Compressao   5 / 20
Roteiro
                                        Hashing SHA-2
                                                            Hashing SHA-2
           Arquitetura Hashing SHA-2 com alto throughput
                                                            Algoritmo SHA-256
                                                     ¸˜
                                               Avaliacao
                                             ¸˜
                                   Consideracoes Finais


        ˜
Compressao
Funcionamento




      Recebe 64 palavras da etapa
               ˜
      de expansao e gera 8
      palavras
      Profundidade do circuito




                                                                                           ˜
                                                                  Figura: Etapa de Compressao   6 / 20
Roteiro
                                     Hashing SHA-2
                                                         Objetivo
        Arquitetura Hashing SHA-2 com alto throughput
                                                         Arquitetura Proposta
                                                  ¸˜
                                            Avaliacao
                                          ¸˜
                                Consideracoes Finais


Objetivo




  Objetivo
  Desenvolver uma arquitetura de Hashing SHA-2 com alto throughput




                                                                                7 / 20
Roteiro
                                     Hashing SHA-2
                                                         Objetivo
        Arquitetura Hashing SHA-2 com alto throughput
                                                         Arquitetura Proposta
                                                  ¸˜
                                            Avaliacao
                                          ¸˜
                                Consideracoes Finais


Arquitetura Proposta




               ´
      Utiliza tecnicas de pipeline para reduzir a profundidade do
                           ¸˜
      circuito de computacao do SHA-2
      Opera sobre multiplos fluxos de entradas
                   ´




                                                                                8 / 20
Roteiro
                                    Hashing SHA-2
                                                        Objetivo
       Arquitetura Hashing SHA-2 com alto throughput
                                                        Arquitetura Proposta
                                                 ¸˜
                                           Avaliacao
                                         ¸˜
                               Consideracoes Finais


Arquitetura Proposta




                                                ˜
                                Figura: Compressao Proposta

                                                                               9 / 20
Roteiro
                                    Hashing SHA-2
                                                        Objetivo
       Arquitetura Hashing SHA-2 com alto throughput
                                                        Arquitetura Proposta
                                                 ¸˜
                                           Avaliacao
                                         ¸˜
                               Consideracoes Finais


Arquitetura Proposta




                                                ˜
                                  Figura: Expansao Proposta




                                                                               10 / 20
Roteiro         ¸˜
                                                        Avaliacao
                                    Hashing SHA-2       Ambiente de Testes
       Arquitetura Hashing SHA-2 com alto throughput               ¸˜
                                                        Implementacao
                                                 ¸˜
                                           Avaliacao    Throughput
                                         ¸˜
                               Consideracoes Finais     Resultados


      ¸˜
Avaliacao




                ¸˜
      Implementacao das Arquiteturas
                ˆ
            Canonica
            Proposta
       ´
      Calculo dos throughputs




                                                                             11 / 20
Roteiro         ¸˜
                                                            Avaliacao
                                        Hashing SHA-2       Ambiente de Testes
           Arquitetura Hashing SHA-2 com alto throughput               ¸˜
                                                            Implementacao
                                                     ¸˜
                                               Avaliacao    Throughput
                                             ¸˜
                                   Consideracoes Finais     Resultados


Cray XD1
Ambiente de Testes




                                ´
       Sistema H´brido Reconfiguravel
                ı
       6x blades
            2 AMD Opteron 64bits
            1 FPGA Xilinx Virtex II Pro


                                                                                 Figura: Cray XD1




                                                                                                    12 / 20
Roteiro         ¸˜
                                                            Avaliacao
                                        Hashing SHA-2       Ambiente de Testes
           Arquitetura Hashing SHA-2 com alto throughput               ¸˜
                                                            Implementacao
                                                     ¸˜
                                               Avaliacao    Throughput
                                             ¸˜
                                   Consideracoes Finais     Resultados


Arquitetura do Cray XD1
Ambiente de Testes




                                                                                 13 / 20
Roteiro         ¸˜
                                                       Avaliacao
                                   Hashing SHA-2       Ambiente de Testes
      Arquitetura Hashing SHA-2 com alto throughput               ¸˜
                                                       Implementacao
                                                ¸˜
                                          Avaliacao    Throughput
                                        ¸˜
                              Consideracoes Finais     Resultados


          ¸˜
Implementacao




                     ˆ
     Arquiteturas Canonica e Proposta:
           Em VHDL
           Utiliza Template da Cray para XD1
           Sintetizadas usando Ise Foundation 10.1
                            ˆ        ´             ¸˜
           Obtidas as frequencias maximas de operacao




                                                                            14 / 20
Roteiro            ¸˜
                                                                    Avaliacao
                                             Hashing SHA-2          Ambiente de Testes
                Arquitetura Hashing SHA-2 com alto throughput                  ¸˜
                                                                    Implementacao
                                                          ¸˜
                                                    Avaliacao       Throughput
                                                  ¸˜
                                        Consideracoes Finais        Resultados


Throughput
      ¸˜
Avaliacao




            Calculado Throughput usando a formula1 :
                                           ´



                                                            ´
                                                     Freq. Max ∗ Tam. da entrada
                          Throughput =                                                                                  (1)
                                                                      #ciclos




        1
          R. P. McEvoy, F. M. Crowe, C. C. Murphy, and W. P. Marnane. Optimisation of the SHA-2 family of Hash functions on
    FPGAs. In ISVLSI ’06: Proceedings of the IEEE Computer Society Annual Symposium on Emerging VLSI Technologies and
    Architectures, page 317, Washington, DC, USA, 2006. IEEE Computer Society.
                                                                                                                              15 / 20
Roteiro           ¸˜
                                                               Avaliacao
                                         Hashing SHA-2         Ambiente de Testes
            Arquitetura Hashing SHA-2 com alto throughput                 ¸˜
                                                               Implementacao
                                                      ¸˜
                                                Avaliacao      Throughput
                                              ¸˜
                                    Consideracoes Finais       Resultados


Throughput - Resultados
      ¸˜
Avaliacao




            Arquitetura            Ciclos           Freq.(MHz)            Throughput (Mbps)
                ˆ
             Canonica                   64                   100,57                 804,54
             SHA-256                   128                   178,84                 715,35
                                   Tabela: Throughput para 1 bloco




                                                                                              16 / 20
Roteiro           ¸˜
                                                               Avaliacao
                                         Hashing SHA-2         Ambiente de Testes
            Arquitetura Hashing SHA-2 com alto throughput                 ¸˜
                                                               Implementacao
                                                      ¸˜
                                                Avaliacao      Throughput
                                              ¸˜
                                    Consideracoes Finais       Resultados


Throughput - Resultados
      ¸˜
Avaliacao




            Arquitetura            Ciclos           Freq.(MHz)            Throughput (Mbps)
                ˆ
             Canonica                  128                   100,57                  804,54
             SHA-256                   129                   178,84                 1419,61
                                  Tabela: Throughput para 2 blocos




                                                                                              17 / 20
Roteiro
                                    Hashing SHA-2
       Arquitetura Hashing SHA-2 com alto throughput           ˜
                                                        Conclusao e trabalhos futuros
                                                 ¸˜
                                           Avaliacao
                                         ¸˜
                               Consideracoes Finais


       ˜
Conclusao e trabalhos futuros




                                           ´                     ˜
      O throughput da arquitetura proposta e 76% maior que a versao
          ˆ                    ¸˜
      canonica para a computacao de multiplos blocos, sendo 12%
                                        ´
      pior para um bloco.
                                                       ˆ
      O ganho em throughput deve-se ao aumento da frequencia
         ´                 ¸˜
      maxima dada pela reducao da profundidade implementada pela
       ´
      tecnica de pipeline.




                                                                                        18 / 20
Roteiro
                                    Hashing SHA-2
       Arquitetura Hashing SHA-2 com alto throughput           ˜
                                                        Conclusao e trabalhos futuros
                                                 ¸˜
                                           Avaliacao
                                         ¸˜
                               Consideracoes Finais


       ˜
Conclusao e trabalhos futuros




                                                    ¸˜
      Pretende-se continuar a aperfeicoar esta operacao investigando
                                     ¸
                               ´
      arquiteturas com mais estagios de pipeline
      O trabalho segue em aperfeicoamento, apresentando em
                                 ¸
               ¸˜
      comparacao de hardware e software ganhos significativos




                                                                                        19 / 20
Roteiro
                                 Hashing SHA-2
    Arquitetura Hashing SHA-2 com alto throughput
                                              ¸˜
                                        Avaliacao
                                      ¸˜
                            Consideracoes Finais




   Uma arquitetura de Hashing SHA-2 com alto
                                           ´
  throughput para sistema h´brido reconfiguravel
                           ı

                                           ˜
    Bruno Crestani Calegaro Andrea Charao Vitor Gomes
                   Haroldo de Campos Velho
calegaro@inf.ufsm.br, andrea@inf.ufsm.br, vconrado@inf.ufsm.br,
                      haroldo@lac.inpe.br




                                                                  20 / 20

Mais conteúdo relacionado

Destaque

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 

Destaque (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Apresentacao ERAD 2010

  • 1. Roteiro Hashing SHA-2 Arquitetura Hashing SHA-2 com alto throughput ¸˜ Avaliacao ¸˜ Consideracoes Finais Uma arquitetura de Hashing SHA-2 com alto ´ throughput para sistema h´brido reconfiguravel ı Bruno Calegaro1 Andrea Charao1 Vitor Gomes1,2 ˜ Haroldo de Campos Velho2 1 ´ ¸˜ LSC - Laboratorio de Sistemas de Computacao UFSM - Universidade Federal de Santa Maria 2 ´ ¸˜ ´ LAC - Laboratorio Associado de Computacao e Matematica Aplicada INPE - Instituto Nacional de Pesquisas Espaciais 1 / 20
  • 2. Roteiro Hashing SHA-2 Arquitetura Hashing SHA-2 com alto throughput ¸˜ Avaliacao ¸˜ Consideracoes Finais 1 Hashing SHA-2 2 Arquitetura Hashing SHA-2 com alto throughput 3 ¸˜ Avaliacao 4 ¸˜ Considerac oes Finais 2 / 20
  • 3. Roteiro Hashing SHA-2 Hashing SHA-2 Arquitetura Hashing SHA-2 com alto throughput Algoritmo SHA-256 ¸˜ Avaliacao ¸˜ Consideracoes Finais Hashing SHA-2 ¸˜ Introducao Processa uma mensagem e gera uma mensagem condensada (hash) ˜ ´ ˜ Algoritmo de mao unica (nao revers´vel) ı ˜ Versoes: SHA-224, SHA-256, SHA-384, SHA-512 Usos: Integridade de dados, armazenamento de senhas e etc. Alta afinidade com Hardware, principalmente pelo paralelismo de ¸˜ ´ operacoes logicas ˜ ˜ Opera em duas etapas: Expansao e Compressao 3 / 20
  • 4. Roteiro Hashing SHA-2 Hashing SHA-2 Arquitetura Hashing SHA-2 com alto throughput Algoritmo SHA-256 ¸˜ Avaliacao ¸˜ Consideracoes Finais ˜ Expansao Funcionamento Recebe um bloco de 16 palavras de 32bits e expande para 64 palavras ˜ Figura: Etapa de Expansao 4 / 20
  • 5. Roteiro Hashing SHA-2 Hashing SHA-2 Arquitetura Hashing SHA-2 com alto throughput Algoritmo SHA-256 ¸˜ Avaliacao ¸˜ Consideracoes Finais ˜ Compressao Funcionamento Recebe 64 palavras da etapa ˜ de expansao e gera 8 palavras Profundidade do circuito ˜ Figura: Etapa de Compressao 5 / 20
  • 6. Roteiro Hashing SHA-2 Hashing SHA-2 Arquitetura Hashing SHA-2 com alto throughput Algoritmo SHA-256 ¸˜ Avaliacao ¸˜ Consideracoes Finais ˜ Compressao Funcionamento Recebe 64 palavras da etapa ˜ de expansao e gera 8 palavras Profundidade do circuito ˜ Figura: Etapa de Compressao 6 / 20
  • 7. Roteiro Hashing SHA-2 Objetivo Arquitetura Hashing SHA-2 com alto throughput Arquitetura Proposta ¸˜ Avaliacao ¸˜ Consideracoes Finais Objetivo Objetivo Desenvolver uma arquitetura de Hashing SHA-2 com alto throughput 7 / 20
  • 8. Roteiro Hashing SHA-2 Objetivo Arquitetura Hashing SHA-2 com alto throughput Arquitetura Proposta ¸˜ Avaliacao ¸˜ Consideracoes Finais Arquitetura Proposta ´ Utiliza tecnicas de pipeline para reduzir a profundidade do ¸˜ circuito de computacao do SHA-2 Opera sobre multiplos fluxos de entradas ´ 8 / 20
  • 9. Roteiro Hashing SHA-2 Objetivo Arquitetura Hashing SHA-2 com alto throughput Arquitetura Proposta ¸˜ Avaliacao ¸˜ Consideracoes Finais Arquitetura Proposta ˜ Figura: Compressao Proposta 9 / 20
  • 10. Roteiro Hashing SHA-2 Objetivo Arquitetura Hashing SHA-2 com alto throughput Arquitetura Proposta ¸˜ Avaliacao ¸˜ Consideracoes Finais Arquitetura Proposta ˜ Figura: Expansao Proposta 10 / 20
  • 11. Roteiro ¸˜ Avaliacao Hashing SHA-2 Ambiente de Testes Arquitetura Hashing SHA-2 com alto throughput ¸˜ Implementacao ¸˜ Avaliacao Throughput ¸˜ Consideracoes Finais Resultados ¸˜ Avaliacao ¸˜ Implementacao das Arquiteturas ˆ Canonica Proposta ´ Calculo dos throughputs 11 / 20
  • 12. Roteiro ¸˜ Avaliacao Hashing SHA-2 Ambiente de Testes Arquitetura Hashing SHA-2 com alto throughput ¸˜ Implementacao ¸˜ Avaliacao Throughput ¸˜ Consideracoes Finais Resultados Cray XD1 Ambiente de Testes ´ Sistema H´brido Reconfiguravel ı 6x blades 2 AMD Opteron 64bits 1 FPGA Xilinx Virtex II Pro Figura: Cray XD1 12 / 20
  • 13. Roteiro ¸˜ Avaliacao Hashing SHA-2 Ambiente de Testes Arquitetura Hashing SHA-2 com alto throughput ¸˜ Implementacao ¸˜ Avaliacao Throughput ¸˜ Consideracoes Finais Resultados Arquitetura do Cray XD1 Ambiente de Testes 13 / 20
  • 14. Roteiro ¸˜ Avaliacao Hashing SHA-2 Ambiente de Testes Arquitetura Hashing SHA-2 com alto throughput ¸˜ Implementacao ¸˜ Avaliacao Throughput ¸˜ Consideracoes Finais Resultados ¸˜ Implementacao ˆ Arquiteturas Canonica e Proposta: Em VHDL Utiliza Template da Cray para XD1 Sintetizadas usando Ise Foundation 10.1 ˆ ´ ¸˜ Obtidas as frequencias maximas de operacao 14 / 20
  • 15. Roteiro ¸˜ Avaliacao Hashing SHA-2 Ambiente de Testes Arquitetura Hashing SHA-2 com alto throughput ¸˜ Implementacao ¸˜ Avaliacao Throughput ¸˜ Consideracoes Finais Resultados Throughput ¸˜ Avaliacao Calculado Throughput usando a formula1 : ´ ´ Freq. Max ∗ Tam. da entrada Throughput = (1) #ciclos 1 R. P. McEvoy, F. M. Crowe, C. C. Murphy, and W. P. Marnane. Optimisation of the SHA-2 family of Hash functions on FPGAs. In ISVLSI ’06: Proceedings of the IEEE Computer Society Annual Symposium on Emerging VLSI Technologies and Architectures, page 317, Washington, DC, USA, 2006. IEEE Computer Society. 15 / 20
  • 16. Roteiro ¸˜ Avaliacao Hashing SHA-2 Ambiente de Testes Arquitetura Hashing SHA-2 com alto throughput ¸˜ Implementacao ¸˜ Avaliacao Throughput ¸˜ Consideracoes Finais Resultados Throughput - Resultados ¸˜ Avaliacao Arquitetura Ciclos Freq.(MHz) Throughput (Mbps) ˆ Canonica 64 100,57 804,54 SHA-256 128 178,84 715,35 Tabela: Throughput para 1 bloco 16 / 20
  • 17. Roteiro ¸˜ Avaliacao Hashing SHA-2 Ambiente de Testes Arquitetura Hashing SHA-2 com alto throughput ¸˜ Implementacao ¸˜ Avaliacao Throughput ¸˜ Consideracoes Finais Resultados Throughput - Resultados ¸˜ Avaliacao Arquitetura Ciclos Freq.(MHz) Throughput (Mbps) ˆ Canonica 128 100,57 804,54 SHA-256 129 178,84 1419,61 Tabela: Throughput para 2 blocos 17 / 20
  • 18. Roteiro Hashing SHA-2 Arquitetura Hashing SHA-2 com alto throughput ˜ Conclusao e trabalhos futuros ¸˜ Avaliacao ¸˜ Consideracoes Finais ˜ Conclusao e trabalhos futuros ´ ˜ O throughput da arquitetura proposta e 76% maior que a versao ˆ ¸˜ canonica para a computacao de multiplos blocos, sendo 12% ´ pior para um bloco. ˆ O ganho em throughput deve-se ao aumento da frequencia ´ ¸˜ maxima dada pela reducao da profundidade implementada pela ´ tecnica de pipeline. 18 / 20
  • 19. Roteiro Hashing SHA-2 Arquitetura Hashing SHA-2 com alto throughput ˜ Conclusao e trabalhos futuros ¸˜ Avaliacao ¸˜ Consideracoes Finais ˜ Conclusao e trabalhos futuros ¸˜ Pretende-se continuar a aperfeicoar esta operacao investigando ¸ ´ arquiteturas com mais estagios de pipeline O trabalho segue em aperfeicoamento, apresentando em ¸ ¸˜ comparacao de hardware e software ganhos significativos 19 / 20
  • 20. Roteiro Hashing SHA-2 Arquitetura Hashing SHA-2 com alto throughput ¸˜ Avaliacao ¸˜ Consideracoes Finais Uma arquitetura de Hashing SHA-2 com alto ´ throughput para sistema h´brido reconfiguravel ı ˜ Bruno Crestani Calegaro Andrea Charao Vitor Gomes Haroldo de Campos Velho calegaro@inf.ufsm.br, andrea@inf.ufsm.br, vconrado@inf.ufsm.br, haroldo@lac.inpe.br 20 / 20