Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 1 of 1

Thread: Replacing libopencm3 functionality

  1. #1
    Junior Member
    Join Date
    Mar 2020
    Posts
    1

    Replacing libopencm3 functionality

    This summer, we will employ two students to fiddle around a bit with some Teensy 3.6 boards, and use those to experiment with the proposed post quantum key exchange and signature schemes. There already exists a library (pqm4) for the Cortex M4 processor. However, the library is using libopencm3 for hardware abstraction.

    Being nearly illiterate on both Arduino and hardware in general: how much hassle should I expect in order to replace the dependency on libopencm3?

    My initial research shows that libopencm3 is mainly used in a single file, https://github.com/mupq/pqm4/blob/ma.../hal-stm32f4.c, and to lesser extent to generate randomness and configure each candidate implementation.

    A colleague more slightly knowledgeable than me has assessed that most of this functionality ("blinking a led, send text on UART, and similar") should be available in Arduino. Do you agree, and furthermore: do you have any pointers to where I should look next to port the pqm4 library from STM32F4 to Teensy 3.6?

    I realise that these questions may seem a little vague. The purpose is to make everything a little less vague for me now, so that the students can spend their summer well. I'm happy to do my homework as long as I am pointed in the right direction.

    (A silly bonus question: If I buy the Teensy 3.6 board and a USB cable: am I set to start working, or is there anything else I should get in addition?)
    Last edited by martstr; 03-06-2020 at 07:37 AM. Reason: Clearified "library"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •