FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN...

25
FELICS FELICS-AE Results Future work Questions FELICS-AE: a framework to benchmark lightweight authenticated block ciphers P. Huynh (1) , K. Le Gouguec (2) (1) LORIA CNRS, (2) Airbus CyberSecurity November 4 2019 1 / 22

Transcript of FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN...

Page 1: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

FELICS-AE a framework to benchmark lightweight authenticated block ciphers

P Huynh(1) K Le Gouguec(2)

(1)LORIA CNRS (2)Airbus CyberSecurity

November 4 2019

1 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

2 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

3 22

FELICS FELICS-AE Results Future work Questions

The original FELICS framework

httpswwwcryptoluxorgindexphpFELICS

Benchmarking framework for crypto algorithms focused on small platforms

I Developed by the CryptoLUX research group at University of Luxembourg

I Focuses on block ciphers and stream ciphers I Benchmark results showcased on the CryptoLUX wiki

4 22

Metrics

I Binary code sizeI RAM footprintI Execution time

FELICS FELICS-AE Results Future work Questions

FELICS platforms and metrics

Platforms

I 8-bit AVR ATmega128 (simulated)

I 16-bit MSP430F1611 (simulated)

I 32-bit ARM Cortex-M3 (requires Arduino Due and J-Link probe)

5 22

FELICS FELICS-AE Results Future work Questions

FELICS platforms and metrics

Platforms

I 8-bit AVR ATmega128 (simulated)

I 16-bit MSP430F1611 (simulated)

I 32-bit ARM Cortex-M3 (requires Arduino Due and J-Link probe)

Metrics

I Binary code size I RAM footprint I Execution time

5 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

6 22

FELICS FELICS-AE Results Future work Questions

FELICS-AE

Started o FELICS v110 to compare Lilliput-AE to CAESARrsquos fnal lightweight portfolio (use-case 1)

httpsgitlabinriafrminierfelics-ae

7 22

FELICS FELICS-AE Results Future work Questions

crypto aead-compliant algorithms

Minimize work needed to add algorithms that comply with the API

Not quite ldquodrop-inrdquo yet still some idiosyncrasies from original FELICS

I ROM DATA RAM DATA macros to specify alignment amp storage I split fles for encryptiondecryptioncommon code

8 22

FELICS FELICS-AE Results Future work Questions

felics-run

Orchestrates original FELICS entry points (scripts amp makefles)

Single output format (JSON) used by other scripts

9 22

FELICS FELICS-AE Results Future work Questions

felics-run example

$ scriptsfelics-run -a PC Lilliput-II-128_vfelicsref [] On PC Lilliput-II-128 (felicsref -O3) 6904 528 16792 $ cat results$date-$time-masterjson

commit ef3c770 branch master data [

cipher_name Lilliput-II-128 architecture PC version felicsref compiler_options -O3 code_size 6904 code_ram 528 code_time 16792

]

10 22

FELICS FELICS-AE Results Future work Questions

felics-compare

$ scriptsfelics-compare oldjson newjson Comparing

oldjson (master) 1234567 Old commit summary

against newjson (master) 89abcde New commit summary

Lilliput-I-128 on AVR (vfelicsref with -Os) code_size -1219 (3166 amp 2780) code_ram -4922 (514 amp 261) code_time +3205 (189818 250657)

Lilliput-I-192 on AVR (vfelicsref with -Os) code_size -1047 (3268 amp 2926) code_ram -5071 (562 amp 277) code_time +3673 (230309 314893)

11 22

FELICS FELICS-AE Results Future work Questions

felics-publish

$ scriptsfelics-publish foojson -o foo$format

Options

--sort-by how setups are ordered --filter which setups are included

--info which metadata and metrics are displayed --table-label anchor for documents supporting cross-references --table-caption additional text to describe the data set

12 22

FELICS FELICS-AE Results Future work Questions

felics-publish examples

To LATEX

Version CFLAGS Code size (B) RAM (B) Execution time (cycles) Lilliput-I-128 felicsref -O3 6100 266 129093 Lilliput-II-128 felicsref -O3 6062 243 132650 Lilliput-I-128 felicsref -Os 2780 261 250657 Lilliput-II-128 felicsref -Os 2768 229 297992

Table Performance results for 128-bit key algorithms on AVR ATmega128

To spreadsheet

13 22

FELICS FELICS-AE Results Future work Questions

FELICS dependencies

Lots of dependencies to manage

Platform Software Origin

AVR simavr Avrora

GitHub SourceForge + CryptoLUX patch

MSP MSP430-GCC MSPDebug

Texas Instruments GitHub

ARM J-Link Software SEGGER

Table Extra-distro dependencies

How to distribute such a framework

14 22

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 2: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

2 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

3 22

FELICS FELICS-AE Results Future work Questions

The original FELICS framework

httpswwwcryptoluxorgindexphpFELICS

Benchmarking framework for crypto algorithms focused on small platforms

I Developed by the CryptoLUX research group at University of Luxembourg

I Focuses on block ciphers and stream ciphers I Benchmark results showcased on the CryptoLUX wiki

4 22

Metrics

I Binary code sizeI RAM footprintI Execution time

FELICS FELICS-AE Results Future work Questions

FELICS platforms and metrics

Platforms

I 8-bit AVR ATmega128 (simulated)

I 16-bit MSP430F1611 (simulated)

I 32-bit ARM Cortex-M3 (requires Arduino Due and J-Link probe)

5 22

FELICS FELICS-AE Results Future work Questions

FELICS platforms and metrics

Platforms

I 8-bit AVR ATmega128 (simulated)

I 16-bit MSP430F1611 (simulated)

I 32-bit ARM Cortex-M3 (requires Arduino Due and J-Link probe)

Metrics

I Binary code size I RAM footprint I Execution time

5 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

6 22

FELICS FELICS-AE Results Future work Questions

FELICS-AE

Started o FELICS v110 to compare Lilliput-AE to CAESARrsquos fnal lightweight portfolio (use-case 1)

httpsgitlabinriafrminierfelics-ae

7 22

FELICS FELICS-AE Results Future work Questions

crypto aead-compliant algorithms

Minimize work needed to add algorithms that comply with the API

Not quite ldquodrop-inrdquo yet still some idiosyncrasies from original FELICS

I ROM DATA RAM DATA macros to specify alignment amp storage I split fles for encryptiondecryptioncommon code

8 22

FELICS FELICS-AE Results Future work Questions

felics-run

Orchestrates original FELICS entry points (scripts amp makefles)

Single output format (JSON) used by other scripts

9 22

FELICS FELICS-AE Results Future work Questions

felics-run example

$ scriptsfelics-run -a PC Lilliput-II-128_vfelicsref [] On PC Lilliput-II-128 (felicsref -O3) 6904 528 16792 $ cat results$date-$time-masterjson

commit ef3c770 branch master data [

cipher_name Lilliput-II-128 architecture PC version felicsref compiler_options -O3 code_size 6904 code_ram 528 code_time 16792

]

10 22

FELICS FELICS-AE Results Future work Questions

felics-compare

$ scriptsfelics-compare oldjson newjson Comparing

oldjson (master) 1234567 Old commit summary

against newjson (master) 89abcde New commit summary

Lilliput-I-128 on AVR (vfelicsref with -Os) code_size -1219 (3166 amp 2780) code_ram -4922 (514 amp 261) code_time +3205 (189818 250657)

Lilliput-I-192 on AVR (vfelicsref with -Os) code_size -1047 (3268 amp 2926) code_ram -5071 (562 amp 277) code_time +3673 (230309 314893)

11 22

FELICS FELICS-AE Results Future work Questions

felics-publish

$ scriptsfelics-publish foojson -o foo$format

Options

--sort-by how setups are ordered --filter which setups are included

--info which metadata and metrics are displayed --table-label anchor for documents supporting cross-references --table-caption additional text to describe the data set

12 22

FELICS FELICS-AE Results Future work Questions

felics-publish examples

To LATEX

Version CFLAGS Code size (B) RAM (B) Execution time (cycles) Lilliput-I-128 felicsref -O3 6100 266 129093 Lilliput-II-128 felicsref -O3 6062 243 132650 Lilliput-I-128 felicsref -Os 2780 261 250657 Lilliput-II-128 felicsref -Os 2768 229 297992

Table Performance results for 128-bit key algorithms on AVR ATmega128

To spreadsheet

13 22

FELICS FELICS-AE Results Future work Questions

FELICS dependencies

Lots of dependencies to manage

Platform Software Origin

AVR simavr Avrora

GitHub SourceForge + CryptoLUX patch

MSP MSP430-GCC MSPDebug

Texas Instruments GitHub

ARM J-Link Software SEGGER

Table Extra-distro dependencies

How to distribute such a framework

14 22

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 3: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

3 22

FELICS FELICS-AE Results Future work Questions

The original FELICS framework

httpswwwcryptoluxorgindexphpFELICS

Benchmarking framework for crypto algorithms focused on small platforms

I Developed by the CryptoLUX research group at University of Luxembourg

I Focuses on block ciphers and stream ciphers I Benchmark results showcased on the CryptoLUX wiki

4 22

Metrics

I Binary code sizeI RAM footprintI Execution time

FELICS FELICS-AE Results Future work Questions

FELICS platforms and metrics

Platforms

I 8-bit AVR ATmega128 (simulated)

I 16-bit MSP430F1611 (simulated)

I 32-bit ARM Cortex-M3 (requires Arduino Due and J-Link probe)

5 22

FELICS FELICS-AE Results Future work Questions

FELICS platforms and metrics

Platforms

I 8-bit AVR ATmega128 (simulated)

I 16-bit MSP430F1611 (simulated)

I 32-bit ARM Cortex-M3 (requires Arduino Due and J-Link probe)

Metrics

I Binary code size I RAM footprint I Execution time

5 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

6 22

FELICS FELICS-AE Results Future work Questions

FELICS-AE

Started o FELICS v110 to compare Lilliput-AE to CAESARrsquos fnal lightweight portfolio (use-case 1)

httpsgitlabinriafrminierfelics-ae

7 22

FELICS FELICS-AE Results Future work Questions

crypto aead-compliant algorithms

Minimize work needed to add algorithms that comply with the API

Not quite ldquodrop-inrdquo yet still some idiosyncrasies from original FELICS

I ROM DATA RAM DATA macros to specify alignment amp storage I split fles for encryptiondecryptioncommon code

8 22

FELICS FELICS-AE Results Future work Questions

felics-run

Orchestrates original FELICS entry points (scripts amp makefles)

Single output format (JSON) used by other scripts

9 22

FELICS FELICS-AE Results Future work Questions

felics-run example

$ scriptsfelics-run -a PC Lilliput-II-128_vfelicsref [] On PC Lilliput-II-128 (felicsref -O3) 6904 528 16792 $ cat results$date-$time-masterjson

commit ef3c770 branch master data [

cipher_name Lilliput-II-128 architecture PC version felicsref compiler_options -O3 code_size 6904 code_ram 528 code_time 16792

]

10 22

FELICS FELICS-AE Results Future work Questions

felics-compare

$ scriptsfelics-compare oldjson newjson Comparing

oldjson (master) 1234567 Old commit summary

against newjson (master) 89abcde New commit summary

Lilliput-I-128 on AVR (vfelicsref with -Os) code_size -1219 (3166 amp 2780) code_ram -4922 (514 amp 261) code_time +3205 (189818 250657)

Lilliput-I-192 on AVR (vfelicsref with -Os) code_size -1047 (3268 amp 2926) code_ram -5071 (562 amp 277) code_time +3673 (230309 314893)

11 22

FELICS FELICS-AE Results Future work Questions

felics-publish

$ scriptsfelics-publish foojson -o foo$format

Options

--sort-by how setups are ordered --filter which setups are included

--info which metadata and metrics are displayed --table-label anchor for documents supporting cross-references --table-caption additional text to describe the data set

12 22

FELICS FELICS-AE Results Future work Questions

felics-publish examples

To LATEX

Version CFLAGS Code size (B) RAM (B) Execution time (cycles) Lilliput-I-128 felicsref -O3 6100 266 129093 Lilliput-II-128 felicsref -O3 6062 243 132650 Lilliput-I-128 felicsref -Os 2780 261 250657 Lilliput-II-128 felicsref -Os 2768 229 297992

Table Performance results for 128-bit key algorithms on AVR ATmega128

To spreadsheet

13 22

FELICS FELICS-AE Results Future work Questions

FELICS dependencies

Lots of dependencies to manage

Platform Software Origin

AVR simavr Avrora

GitHub SourceForge + CryptoLUX patch

MSP MSP430-GCC MSPDebug

Texas Instruments GitHub

ARM J-Link Software SEGGER

Table Extra-distro dependencies

How to distribute such a framework

14 22

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 4: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

The original FELICS framework

httpswwwcryptoluxorgindexphpFELICS

Benchmarking framework for crypto algorithms focused on small platforms

I Developed by the CryptoLUX research group at University of Luxembourg

I Focuses on block ciphers and stream ciphers I Benchmark results showcased on the CryptoLUX wiki

4 22

Metrics

I Binary code sizeI RAM footprintI Execution time

FELICS FELICS-AE Results Future work Questions

FELICS platforms and metrics

Platforms

I 8-bit AVR ATmega128 (simulated)

I 16-bit MSP430F1611 (simulated)

I 32-bit ARM Cortex-M3 (requires Arduino Due and J-Link probe)

5 22

FELICS FELICS-AE Results Future work Questions

FELICS platforms and metrics

Platforms

I 8-bit AVR ATmega128 (simulated)

I 16-bit MSP430F1611 (simulated)

I 32-bit ARM Cortex-M3 (requires Arduino Due and J-Link probe)

Metrics

I Binary code size I RAM footprint I Execution time

5 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

6 22

FELICS FELICS-AE Results Future work Questions

FELICS-AE

Started o FELICS v110 to compare Lilliput-AE to CAESARrsquos fnal lightweight portfolio (use-case 1)

httpsgitlabinriafrminierfelics-ae

7 22

FELICS FELICS-AE Results Future work Questions

crypto aead-compliant algorithms

Minimize work needed to add algorithms that comply with the API

Not quite ldquodrop-inrdquo yet still some idiosyncrasies from original FELICS

I ROM DATA RAM DATA macros to specify alignment amp storage I split fles for encryptiondecryptioncommon code

8 22

FELICS FELICS-AE Results Future work Questions

felics-run

Orchestrates original FELICS entry points (scripts amp makefles)

Single output format (JSON) used by other scripts

9 22

FELICS FELICS-AE Results Future work Questions

felics-run example

$ scriptsfelics-run -a PC Lilliput-II-128_vfelicsref [] On PC Lilliput-II-128 (felicsref -O3) 6904 528 16792 $ cat results$date-$time-masterjson

commit ef3c770 branch master data [

cipher_name Lilliput-II-128 architecture PC version felicsref compiler_options -O3 code_size 6904 code_ram 528 code_time 16792

]

10 22

FELICS FELICS-AE Results Future work Questions

felics-compare

$ scriptsfelics-compare oldjson newjson Comparing

oldjson (master) 1234567 Old commit summary

against newjson (master) 89abcde New commit summary

Lilliput-I-128 on AVR (vfelicsref with -Os) code_size -1219 (3166 amp 2780) code_ram -4922 (514 amp 261) code_time +3205 (189818 250657)

Lilliput-I-192 on AVR (vfelicsref with -Os) code_size -1047 (3268 amp 2926) code_ram -5071 (562 amp 277) code_time +3673 (230309 314893)

11 22

FELICS FELICS-AE Results Future work Questions

felics-publish

$ scriptsfelics-publish foojson -o foo$format

Options

--sort-by how setups are ordered --filter which setups are included

--info which metadata and metrics are displayed --table-label anchor for documents supporting cross-references --table-caption additional text to describe the data set

12 22

FELICS FELICS-AE Results Future work Questions

felics-publish examples

To LATEX

Version CFLAGS Code size (B) RAM (B) Execution time (cycles) Lilliput-I-128 felicsref -O3 6100 266 129093 Lilliput-II-128 felicsref -O3 6062 243 132650 Lilliput-I-128 felicsref -Os 2780 261 250657 Lilliput-II-128 felicsref -Os 2768 229 297992

Table Performance results for 128-bit key algorithms on AVR ATmega128

To spreadsheet

13 22

FELICS FELICS-AE Results Future work Questions

FELICS dependencies

Lots of dependencies to manage

Platform Software Origin

AVR simavr Avrora

GitHub SourceForge + CryptoLUX patch

MSP MSP430-GCC MSPDebug

Texas Instruments GitHub

ARM J-Link Software SEGGER

Table Extra-distro dependencies

How to distribute such a framework

14 22

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 5: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

Metrics

I Binary code sizeI RAM footprintI Execution time

FELICS FELICS-AE Results Future work Questions

FELICS platforms and metrics

Platforms

I 8-bit AVR ATmega128 (simulated)

I 16-bit MSP430F1611 (simulated)

I 32-bit ARM Cortex-M3 (requires Arduino Due and J-Link probe)

5 22

FELICS FELICS-AE Results Future work Questions

FELICS platforms and metrics

Platforms

I 8-bit AVR ATmega128 (simulated)

I 16-bit MSP430F1611 (simulated)

I 32-bit ARM Cortex-M3 (requires Arduino Due and J-Link probe)

Metrics

I Binary code size I RAM footprint I Execution time

5 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

6 22

FELICS FELICS-AE Results Future work Questions

FELICS-AE

Started o FELICS v110 to compare Lilliput-AE to CAESARrsquos fnal lightweight portfolio (use-case 1)

httpsgitlabinriafrminierfelics-ae

7 22

FELICS FELICS-AE Results Future work Questions

crypto aead-compliant algorithms

Minimize work needed to add algorithms that comply with the API

Not quite ldquodrop-inrdquo yet still some idiosyncrasies from original FELICS

I ROM DATA RAM DATA macros to specify alignment amp storage I split fles for encryptiondecryptioncommon code

8 22

FELICS FELICS-AE Results Future work Questions

felics-run

Orchestrates original FELICS entry points (scripts amp makefles)

Single output format (JSON) used by other scripts

9 22

FELICS FELICS-AE Results Future work Questions

felics-run example

$ scriptsfelics-run -a PC Lilliput-II-128_vfelicsref [] On PC Lilliput-II-128 (felicsref -O3) 6904 528 16792 $ cat results$date-$time-masterjson

commit ef3c770 branch master data [

cipher_name Lilliput-II-128 architecture PC version felicsref compiler_options -O3 code_size 6904 code_ram 528 code_time 16792

]

10 22

FELICS FELICS-AE Results Future work Questions

felics-compare

$ scriptsfelics-compare oldjson newjson Comparing

oldjson (master) 1234567 Old commit summary

against newjson (master) 89abcde New commit summary

Lilliput-I-128 on AVR (vfelicsref with -Os) code_size -1219 (3166 amp 2780) code_ram -4922 (514 amp 261) code_time +3205 (189818 250657)

Lilliput-I-192 on AVR (vfelicsref with -Os) code_size -1047 (3268 amp 2926) code_ram -5071 (562 amp 277) code_time +3673 (230309 314893)

11 22

FELICS FELICS-AE Results Future work Questions

felics-publish

$ scriptsfelics-publish foojson -o foo$format

Options

--sort-by how setups are ordered --filter which setups are included

--info which metadata and metrics are displayed --table-label anchor for documents supporting cross-references --table-caption additional text to describe the data set

12 22

FELICS FELICS-AE Results Future work Questions

felics-publish examples

To LATEX

Version CFLAGS Code size (B) RAM (B) Execution time (cycles) Lilliput-I-128 felicsref -O3 6100 266 129093 Lilliput-II-128 felicsref -O3 6062 243 132650 Lilliput-I-128 felicsref -Os 2780 261 250657 Lilliput-II-128 felicsref -Os 2768 229 297992

Table Performance results for 128-bit key algorithms on AVR ATmega128

To spreadsheet

13 22

FELICS FELICS-AE Results Future work Questions

FELICS dependencies

Lots of dependencies to manage

Platform Software Origin

AVR simavr Avrora

GitHub SourceForge + CryptoLUX patch

MSP MSP430-GCC MSPDebug

Texas Instruments GitHub

ARM J-Link Software SEGGER

Table Extra-distro dependencies

How to distribute such a framework

14 22

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 6: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

FELICS platforms and metrics

Platforms

I 8-bit AVR ATmega128 (simulated)

I 16-bit MSP430F1611 (simulated)

I 32-bit ARM Cortex-M3 (requires Arduino Due and J-Link probe)

Metrics

I Binary code size I RAM footprint I Execution time

5 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

6 22

FELICS FELICS-AE Results Future work Questions

FELICS-AE

Started o FELICS v110 to compare Lilliput-AE to CAESARrsquos fnal lightweight portfolio (use-case 1)

httpsgitlabinriafrminierfelics-ae

7 22

FELICS FELICS-AE Results Future work Questions

crypto aead-compliant algorithms

Minimize work needed to add algorithms that comply with the API

Not quite ldquodrop-inrdquo yet still some idiosyncrasies from original FELICS

I ROM DATA RAM DATA macros to specify alignment amp storage I split fles for encryptiondecryptioncommon code

8 22

FELICS FELICS-AE Results Future work Questions

felics-run

Orchestrates original FELICS entry points (scripts amp makefles)

Single output format (JSON) used by other scripts

9 22

FELICS FELICS-AE Results Future work Questions

felics-run example

$ scriptsfelics-run -a PC Lilliput-II-128_vfelicsref [] On PC Lilliput-II-128 (felicsref -O3) 6904 528 16792 $ cat results$date-$time-masterjson

commit ef3c770 branch master data [

cipher_name Lilliput-II-128 architecture PC version felicsref compiler_options -O3 code_size 6904 code_ram 528 code_time 16792

]

10 22

FELICS FELICS-AE Results Future work Questions

felics-compare

$ scriptsfelics-compare oldjson newjson Comparing

oldjson (master) 1234567 Old commit summary

against newjson (master) 89abcde New commit summary

Lilliput-I-128 on AVR (vfelicsref with -Os) code_size -1219 (3166 amp 2780) code_ram -4922 (514 amp 261) code_time +3205 (189818 250657)

Lilliput-I-192 on AVR (vfelicsref with -Os) code_size -1047 (3268 amp 2926) code_ram -5071 (562 amp 277) code_time +3673 (230309 314893)

11 22

FELICS FELICS-AE Results Future work Questions

felics-publish

$ scriptsfelics-publish foojson -o foo$format

Options

--sort-by how setups are ordered --filter which setups are included

--info which metadata and metrics are displayed --table-label anchor for documents supporting cross-references --table-caption additional text to describe the data set

12 22

FELICS FELICS-AE Results Future work Questions

felics-publish examples

To LATEX

Version CFLAGS Code size (B) RAM (B) Execution time (cycles) Lilliput-I-128 felicsref -O3 6100 266 129093 Lilliput-II-128 felicsref -O3 6062 243 132650 Lilliput-I-128 felicsref -Os 2780 261 250657 Lilliput-II-128 felicsref -Os 2768 229 297992

Table Performance results for 128-bit key algorithms on AVR ATmega128

To spreadsheet

13 22

FELICS FELICS-AE Results Future work Questions

FELICS dependencies

Lots of dependencies to manage

Platform Software Origin

AVR simavr Avrora

GitHub SourceForge + CryptoLUX patch

MSP MSP430-GCC MSPDebug

Texas Instruments GitHub

ARM J-Link Software SEGGER

Table Extra-distro dependencies

How to distribute such a framework

14 22

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 7: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

6 22

FELICS FELICS-AE Results Future work Questions

FELICS-AE

Started o FELICS v110 to compare Lilliput-AE to CAESARrsquos fnal lightweight portfolio (use-case 1)

httpsgitlabinriafrminierfelics-ae

7 22

FELICS FELICS-AE Results Future work Questions

crypto aead-compliant algorithms

Minimize work needed to add algorithms that comply with the API

Not quite ldquodrop-inrdquo yet still some idiosyncrasies from original FELICS

I ROM DATA RAM DATA macros to specify alignment amp storage I split fles for encryptiondecryptioncommon code

8 22

FELICS FELICS-AE Results Future work Questions

felics-run

Orchestrates original FELICS entry points (scripts amp makefles)

Single output format (JSON) used by other scripts

9 22

FELICS FELICS-AE Results Future work Questions

felics-run example

$ scriptsfelics-run -a PC Lilliput-II-128_vfelicsref [] On PC Lilliput-II-128 (felicsref -O3) 6904 528 16792 $ cat results$date-$time-masterjson

commit ef3c770 branch master data [

cipher_name Lilliput-II-128 architecture PC version felicsref compiler_options -O3 code_size 6904 code_ram 528 code_time 16792

]

10 22

FELICS FELICS-AE Results Future work Questions

felics-compare

$ scriptsfelics-compare oldjson newjson Comparing

oldjson (master) 1234567 Old commit summary

against newjson (master) 89abcde New commit summary

Lilliput-I-128 on AVR (vfelicsref with -Os) code_size -1219 (3166 amp 2780) code_ram -4922 (514 amp 261) code_time +3205 (189818 250657)

Lilliput-I-192 on AVR (vfelicsref with -Os) code_size -1047 (3268 amp 2926) code_ram -5071 (562 amp 277) code_time +3673 (230309 314893)

11 22

FELICS FELICS-AE Results Future work Questions

felics-publish

$ scriptsfelics-publish foojson -o foo$format

Options

--sort-by how setups are ordered --filter which setups are included

--info which metadata and metrics are displayed --table-label anchor for documents supporting cross-references --table-caption additional text to describe the data set

12 22

FELICS FELICS-AE Results Future work Questions

felics-publish examples

To LATEX

Version CFLAGS Code size (B) RAM (B) Execution time (cycles) Lilliput-I-128 felicsref -O3 6100 266 129093 Lilliput-II-128 felicsref -O3 6062 243 132650 Lilliput-I-128 felicsref -Os 2780 261 250657 Lilliput-II-128 felicsref -Os 2768 229 297992

Table Performance results for 128-bit key algorithms on AVR ATmega128

To spreadsheet

13 22

FELICS FELICS-AE Results Future work Questions

FELICS dependencies

Lots of dependencies to manage

Platform Software Origin

AVR simavr Avrora

GitHub SourceForge + CryptoLUX patch

MSP MSP430-GCC MSPDebug

Texas Instruments GitHub

ARM J-Link Software SEGGER

Table Extra-distro dependencies

How to distribute such a framework

14 22

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 8: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

FELICS-AE

Started o FELICS v110 to compare Lilliput-AE to CAESARrsquos fnal lightweight portfolio (use-case 1)

httpsgitlabinriafrminierfelics-ae

7 22

FELICS FELICS-AE Results Future work Questions

crypto aead-compliant algorithms

Minimize work needed to add algorithms that comply with the API

Not quite ldquodrop-inrdquo yet still some idiosyncrasies from original FELICS

I ROM DATA RAM DATA macros to specify alignment amp storage I split fles for encryptiondecryptioncommon code

8 22

FELICS FELICS-AE Results Future work Questions

felics-run

Orchestrates original FELICS entry points (scripts amp makefles)

Single output format (JSON) used by other scripts

9 22

FELICS FELICS-AE Results Future work Questions

felics-run example

$ scriptsfelics-run -a PC Lilliput-II-128_vfelicsref [] On PC Lilliput-II-128 (felicsref -O3) 6904 528 16792 $ cat results$date-$time-masterjson

commit ef3c770 branch master data [

cipher_name Lilliput-II-128 architecture PC version felicsref compiler_options -O3 code_size 6904 code_ram 528 code_time 16792

]

10 22

FELICS FELICS-AE Results Future work Questions

felics-compare

$ scriptsfelics-compare oldjson newjson Comparing

oldjson (master) 1234567 Old commit summary

against newjson (master) 89abcde New commit summary

Lilliput-I-128 on AVR (vfelicsref with -Os) code_size -1219 (3166 amp 2780) code_ram -4922 (514 amp 261) code_time +3205 (189818 250657)

Lilliput-I-192 on AVR (vfelicsref with -Os) code_size -1047 (3268 amp 2926) code_ram -5071 (562 amp 277) code_time +3673 (230309 314893)

11 22

FELICS FELICS-AE Results Future work Questions

felics-publish

$ scriptsfelics-publish foojson -o foo$format

Options

--sort-by how setups are ordered --filter which setups are included

--info which metadata and metrics are displayed --table-label anchor for documents supporting cross-references --table-caption additional text to describe the data set

12 22

FELICS FELICS-AE Results Future work Questions

felics-publish examples

To LATEX

Version CFLAGS Code size (B) RAM (B) Execution time (cycles) Lilliput-I-128 felicsref -O3 6100 266 129093 Lilliput-II-128 felicsref -O3 6062 243 132650 Lilliput-I-128 felicsref -Os 2780 261 250657 Lilliput-II-128 felicsref -Os 2768 229 297992

Table Performance results for 128-bit key algorithms on AVR ATmega128

To spreadsheet

13 22

FELICS FELICS-AE Results Future work Questions

FELICS dependencies

Lots of dependencies to manage

Platform Software Origin

AVR simavr Avrora

GitHub SourceForge + CryptoLUX patch

MSP MSP430-GCC MSPDebug

Texas Instruments GitHub

ARM J-Link Software SEGGER

Table Extra-distro dependencies

How to distribute such a framework

14 22

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 9: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

crypto aead-compliant algorithms

Minimize work needed to add algorithms that comply with the API

Not quite ldquodrop-inrdquo yet still some idiosyncrasies from original FELICS

I ROM DATA RAM DATA macros to specify alignment amp storage I split fles for encryptiondecryptioncommon code

8 22

FELICS FELICS-AE Results Future work Questions

felics-run

Orchestrates original FELICS entry points (scripts amp makefles)

Single output format (JSON) used by other scripts

9 22

FELICS FELICS-AE Results Future work Questions

felics-run example

$ scriptsfelics-run -a PC Lilliput-II-128_vfelicsref [] On PC Lilliput-II-128 (felicsref -O3) 6904 528 16792 $ cat results$date-$time-masterjson

commit ef3c770 branch master data [

cipher_name Lilliput-II-128 architecture PC version felicsref compiler_options -O3 code_size 6904 code_ram 528 code_time 16792

]

10 22

FELICS FELICS-AE Results Future work Questions

felics-compare

$ scriptsfelics-compare oldjson newjson Comparing

oldjson (master) 1234567 Old commit summary

against newjson (master) 89abcde New commit summary

Lilliput-I-128 on AVR (vfelicsref with -Os) code_size -1219 (3166 amp 2780) code_ram -4922 (514 amp 261) code_time +3205 (189818 250657)

Lilliput-I-192 on AVR (vfelicsref with -Os) code_size -1047 (3268 amp 2926) code_ram -5071 (562 amp 277) code_time +3673 (230309 314893)

11 22

FELICS FELICS-AE Results Future work Questions

felics-publish

$ scriptsfelics-publish foojson -o foo$format

Options

--sort-by how setups are ordered --filter which setups are included

--info which metadata and metrics are displayed --table-label anchor for documents supporting cross-references --table-caption additional text to describe the data set

12 22

FELICS FELICS-AE Results Future work Questions

felics-publish examples

To LATEX

Version CFLAGS Code size (B) RAM (B) Execution time (cycles) Lilliput-I-128 felicsref -O3 6100 266 129093 Lilliput-II-128 felicsref -O3 6062 243 132650 Lilliput-I-128 felicsref -Os 2780 261 250657 Lilliput-II-128 felicsref -Os 2768 229 297992

Table Performance results for 128-bit key algorithms on AVR ATmega128

To spreadsheet

13 22

FELICS FELICS-AE Results Future work Questions

FELICS dependencies

Lots of dependencies to manage

Platform Software Origin

AVR simavr Avrora

GitHub SourceForge + CryptoLUX patch

MSP MSP430-GCC MSPDebug

Texas Instruments GitHub

ARM J-Link Software SEGGER

Table Extra-distro dependencies

How to distribute such a framework

14 22

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 10: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

felics-run

Orchestrates original FELICS entry points (scripts amp makefles)

Single output format (JSON) used by other scripts

9 22

FELICS FELICS-AE Results Future work Questions

felics-run example

$ scriptsfelics-run -a PC Lilliput-II-128_vfelicsref [] On PC Lilliput-II-128 (felicsref -O3) 6904 528 16792 $ cat results$date-$time-masterjson

commit ef3c770 branch master data [

cipher_name Lilliput-II-128 architecture PC version felicsref compiler_options -O3 code_size 6904 code_ram 528 code_time 16792

]

10 22

FELICS FELICS-AE Results Future work Questions

felics-compare

$ scriptsfelics-compare oldjson newjson Comparing

oldjson (master) 1234567 Old commit summary

against newjson (master) 89abcde New commit summary

Lilliput-I-128 on AVR (vfelicsref with -Os) code_size -1219 (3166 amp 2780) code_ram -4922 (514 amp 261) code_time +3205 (189818 250657)

Lilliput-I-192 on AVR (vfelicsref with -Os) code_size -1047 (3268 amp 2926) code_ram -5071 (562 amp 277) code_time +3673 (230309 314893)

11 22

FELICS FELICS-AE Results Future work Questions

felics-publish

$ scriptsfelics-publish foojson -o foo$format

Options

--sort-by how setups are ordered --filter which setups are included

--info which metadata and metrics are displayed --table-label anchor for documents supporting cross-references --table-caption additional text to describe the data set

12 22

FELICS FELICS-AE Results Future work Questions

felics-publish examples

To LATEX

Version CFLAGS Code size (B) RAM (B) Execution time (cycles) Lilliput-I-128 felicsref -O3 6100 266 129093 Lilliput-II-128 felicsref -O3 6062 243 132650 Lilliput-I-128 felicsref -Os 2780 261 250657 Lilliput-II-128 felicsref -Os 2768 229 297992

Table Performance results for 128-bit key algorithms on AVR ATmega128

To spreadsheet

13 22

FELICS FELICS-AE Results Future work Questions

FELICS dependencies

Lots of dependencies to manage

Platform Software Origin

AVR simavr Avrora

GitHub SourceForge + CryptoLUX patch

MSP MSP430-GCC MSPDebug

Texas Instruments GitHub

ARM J-Link Software SEGGER

Table Extra-distro dependencies

How to distribute such a framework

14 22

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 11: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

felics-run example

$ scriptsfelics-run -a PC Lilliput-II-128_vfelicsref [] On PC Lilliput-II-128 (felicsref -O3) 6904 528 16792 $ cat results$date-$time-masterjson

commit ef3c770 branch master data [

cipher_name Lilliput-II-128 architecture PC version felicsref compiler_options -O3 code_size 6904 code_ram 528 code_time 16792

]

10 22

FELICS FELICS-AE Results Future work Questions

felics-compare

$ scriptsfelics-compare oldjson newjson Comparing

oldjson (master) 1234567 Old commit summary

against newjson (master) 89abcde New commit summary

Lilliput-I-128 on AVR (vfelicsref with -Os) code_size -1219 (3166 amp 2780) code_ram -4922 (514 amp 261) code_time +3205 (189818 250657)

Lilliput-I-192 on AVR (vfelicsref with -Os) code_size -1047 (3268 amp 2926) code_ram -5071 (562 amp 277) code_time +3673 (230309 314893)

11 22

FELICS FELICS-AE Results Future work Questions

felics-publish

$ scriptsfelics-publish foojson -o foo$format

Options

--sort-by how setups are ordered --filter which setups are included

--info which metadata and metrics are displayed --table-label anchor for documents supporting cross-references --table-caption additional text to describe the data set

12 22

FELICS FELICS-AE Results Future work Questions

felics-publish examples

To LATEX

Version CFLAGS Code size (B) RAM (B) Execution time (cycles) Lilliput-I-128 felicsref -O3 6100 266 129093 Lilliput-II-128 felicsref -O3 6062 243 132650 Lilliput-I-128 felicsref -Os 2780 261 250657 Lilliput-II-128 felicsref -Os 2768 229 297992

Table Performance results for 128-bit key algorithms on AVR ATmega128

To spreadsheet

13 22

FELICS FELICS-AE Results Future work Questions

FELICS dependencies

Lots of dependencies to manage

Platform Software Origin

AVR simavr Avrora

GitHub SourceForge + CryptoLUX patch

MSP MSP430-GCC MSPDebug

Texas Instruments GitHub

ARM J-Link Software SEGGER

Table Extra-distro dependencies

How to distribute such a framework

14 22

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 12: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

felics-compare

$ scriptsfelics-compare oldjson newjson Comparing

oldjson (master) 1234567 Old commit summary

against newjson (master) 89abcde New commit summary

Lilliput-I-128 on AVR (vfelicsref with -Os) code_size -1219 (3166 amp 2780) code_ram -4922 (514 amp 261) code_time +3205 (189818 250657)

Lilliput-I-192 on AVR (vfelicsref with -Os) code_size -1047 (3268 amp 2926) code_ram -5071 (562 amp 277) code_time +3673 (230309 314893)

11 22

FELICS FELICS-AE Results Future work Questions

felics-publish

$ scriptsfelics-publish foojson -o foo$format

Options

--sort-by how setups are ordered --filter which setups are included

--info which metadata and metrics are displayed --table-label anchor for documents supporting cross-references --table-caption additional text to describe the data set

12 22

FELICS FELICS-AE Results Future work Questions

felics-publish examples

To LATEX

Version CFLAGS Code size (B) RAM (B) Execution time (cycles) Lilliput-I-128 felicsref -O3 6100 266 129093 Lilliput-II-128 felicsref -O3 6062 243 132650 Lilliput-I-128 felicsref -Os 2780 261 250657 Lilliput-II-128 felicsref -Os 2768 229 297992

Table Performance results for 128-bit key algorithms on AVR ATmega128

To spreadsheet

13 22

FELICS FELICS-AE Results Future work Questions

FELICS dependencies

Lots of dependencies to manage

Platform Software Origin

AVR simavr Avrora

GitHub SourceForge + CryptoLUX patch

MSP MSP430-GCC MSPDebug

Texas Instruments GitHub

ARM J-Link Software SEGGER

Table Extra-distro dependencies

How to distribute such a framework

14 22

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 13: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

felics-publish

$ scriptsfelics-publish foojson -o foo$format

Options

--sort-by how setups are ordered --filter which setups are included

--info which metadata and metrics are displayed --table-label anchor for documents supporting cross-references --table-caption additional text to describe the data set

12 22

FELICS FELICS-AE Results Future work Questions

felics-publish examples

To LATEX

Version CFLAGS Code size (B) RAM (B) Execution time (cycles) Lilliput-I-128 felicsref -O3 6100 266 129093 Lilliput-II-128 felicsref -O3 6062 243 132650 Lilliput-I-128 felicsref -Os 2780 261 250657 Lilliput-II-128 felicsref -Os 2768 229 297992

Table Performance results for 128-bit key algorithms on AVR ATmega128

To spreadsheet

13 22

FELICS FELICS-AE Results Future work Questions

FELICS dependencies

Lots of dependencies to manage

Platform Software Origin

AVR simavr Avrora

GitHub SourceForge + CryptoLUX patch

MSP MSP430-GCC MSPDebug

Texas Instruments GitHub

ARM J-Link Software SEGGER

Table Extra-distro dependencies

How to distribute such a framework

14 22

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 14: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

felics-publish examples

To LATEX

Version CFLAGS Code size (B) RAM (B) Execution time (cycles) Lilliput-I-128 felicsref -O3 6100 266 129093 Lilliput-II-128 felicsref -O3 6062 243 132650 Lilliput-I-128 felicsref -Os 2780 261 250657 Lilliput-II-128 felicsref -Os 2768 229 297992

Table Performance results for 128-bit key algorithms on AVR ATmega128

To spreadsheet

13 22

FELICS FELICS-AE Results Future work Questions

FELICS dependencies

Lots of dependencies to manage

Platform Software Origin

AVR simavr Avrora

GitHub SourceForge + CryptoLUX patch

MSP MSP430-GCC MSPDebug

Texas Instruments GitHub

ARM J-Link Software SEGGER

Table Extra-distro dependencies

How to distribute such a framework

14 22

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 15: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

FELICS dependencies

Lots of dependencies to manage

Platform Software Origin

AVR simavr Avrora

GitHub SourceForge + CryptoLUX patch

MSP MSP430-GCC MSPDebug

Texas Instruments GitHub

ARM J-Link Software SEGGER

Table Extra-distro dependencies

How to distribute such a framework

14 22

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 16: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS-AE additions

I Script to fetch amp install all dependenciesI Scripts to generate amp run Docker image

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 17: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

Distribution amp setup

Original FELICS solutions

I Documentation1

I Virtual machine

FELICS-AE additions

I Script to fetch amp install all dependencies I Scripts to generate amp run Docker image

1httpswwwcryptoluxorgindexphpFELICS_Prerequisites 15 22

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 18: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

I NEW 32-bit NRF52840 Cortex-M4I NEW 32-bit STM32L053 Cortex-M0+

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3

16 22

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 19: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

New platforms

Platforms

I 8-bit AVR ATmega128 I 16-bit MSP430F1611 I 32-bit ARM Cortex-M3 I NEW 32-bit NRF52840 Cortex-M4 I NEW 32-bit STM32L053 Cortex-M0+

16 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 20: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

17 22

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 21: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

Results

httpspaclidofrlilliput-aeimplementation

I Lilliput-AE on par with or faster than Ascon and ACORN on 8-bit and 16-bit

I much slower on 32-bit

18 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 22: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

19 22

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 23: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

Future work

I Integrate more LWC candidates I Support more than one test vector per algorithm I Support more scenarios I documentationTODOmd

20 22

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 24: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

Background the FELICS framework

FELICS-AE additions

Support for crypto aead-compliant algorithms

New scripts to run benchmarks amp analyze results

Docker image

More platforms

Results with Lilliput-AE Ascon and ACORN

Future work

Questions

21 22

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions
Page 25: FELICS-AE: a framework to benchmark lightweight ......Results with Lilliput-AE, Ascon and ACORN Future work Questions 2 / 22. FELICS FELICS-AE Results Future work Questions Background:

FELICS FELICS-AE Results Future work Questions

Any questions

For more technical inquiries ask kevinlegouguecairbuscom

22 22

  • Background the FELICS framework
  • FELICS-AE additions
    • Support for crypto_aead-compliant algorithms
    • New scripts to run benchmarks amp analyze results
    • Docker image
    • More platforms
      • Results with Lilliput-AE Ascon and ACORN
      • Future work
      • Questions