<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="Noto Serif">Ref : Post on the gnuk list : Frédéric
        SUEL frederic.suel at free.fr Mon Feb 17 11:13:25 CET 2025<br>
      </font></p>
    <p><font face="Noto Serif">Hi,</font></p>
    <p><font face="Noto Serif">Thank you for your interest for this
        board.</font></p>
    <p><font face="Noto Serif">When i asked help about this board, i
        proposed a file board-blue-pill-plus-cb.h because this board
        exist with 4 arm processor and two riscv processors. I indicated
        cd because there is STM32F103C8T6 (64k)  and CBT6 (128k). To
        take care of 64K version, you have to add code in
        /gnuk/src/.configure. (see my post)<br>
      </font></p>
    <p><font face="Noto Serif">For my blue-pilll-board stm32F103CB, i
        have #define BOARD_ID    0x1ba01477 </font><font
        face="Noto Serif">(see my post). Perhaps your board is a
        STM32F103C6T6 board, i don't know why IDs are different<br>
      </font></p>
    <p><font face="Noto Serif">For instance, i doesn't take care of
        ackbutton because there is a supplementary problem as PA0 is
        used for it's ADC and for entropy generation. I think you have
        to modify /gnuk/chopstx/contrib/adc-stm32ff103.c but i doesn't
        know how.</font></p>
    <p><font face="Noto Serif">----<br>
      </font></p>
    <p><font face="Noto Serif">So i just created 
        /gnuk/board/board-blue-pill-plus-cb.h, modified
        /gnuk/src/.configure to add definition of BLUE-PILL-PLLUS-CB and</font><i><b>
        </b></i>chopstx/mcu/sys-stm31f103.h for my first tests and
      doesn't take care of ackbutton on PA0<br>
    </p>
    <p>I get : <br>
    </p>
    <p>-- works fine with curve25519 : generation on the board and
      import on the board.</p>
    <p>-- impossibility to generate <span style="white-space: pre-wrap">secp256k1 on the board even with KDF-DO activate as Niibe suggested </span>(msg
      : used conditions not satisfied)</p>
    <p>-- impossibility to generate X448 on the board even with Niibe
      patch (msg : board error)</p>
    <p>-- impossibility to import X448 on the board. It seems to work
      but only encrypt key is on the board and works. The other keys are
      marked as # .  I get with gpg --list-secret-keys</p>
    <p>sec#  ed448/0xAA988F88C70C3DEE 2025-02-23 [SC] [expire :
      2075-02-11]</p>
    <p>Empreinte de la clef = AA988 F88C7 0C3DE E74BE DFF48 D127D 4BA4E
      CAEB3 685B3 575E7</p>
    <p>uid                  [  ultime ] tmp</p>
    <p>ssb>  cv448/0x406CC6562774BC84 2025-02-23 [E] [expire :
      2075-02-11]</p>
    <p>ssb#  ed448/0x02BB1F8E7A2B268A 2025-02-23 [A] [expire :
      2075-02-11]</p>
    <p></p>
    <p>----</p>
    <p>Can you precise what's work with your board ?<br>
    </p>
    <p><span style="white-space: pre-wrap">Best regards
</span></p>
    <p>
      <style type="text/css">p { line-height: 120%; margin-bottom: 0.25cm; background: transparent }</style></p>
    <p><font face="Noto Serif"><br>
      </font></p>
    <p><font face="Noto Serif"><br>
      </font></p>
    <div class="moz-cite-prefix">Le 06/03/2025 à 23:47, Alexandre Esse a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CALNP3k_BfkzKYNzJzSLZLZrg+wh4o4iwnCFkfJe0j0OhS=BWgg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hello,</div>
        <div><br>
        </div>
        <div>Here is a short message to notify the mailing list that I
          proposed a merge request on chopstx: <a
href="https://salsa.debian.org/gnuk-team/chopstx/chopstx/-/merge_requests/1"
            moz-do-not-send="true" class="moz-txt-link-freetext">https://salsa.debian.org/gnuk-team/chopstx/chopstx/-/merge_requests/1</a></div>
        <div><br>
        </div>
        <div>This is the first step to add gnuk support for <a
            href="https://github.com/WeActStudio/BluePill-Plus/"
            moz-do-not-send="true">Blue Pill Plus boards</a>.</div>
        <div><br>
        </div>
        <div>Not sure if this is the way to contribute: looking forward
          to your feedback.</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Alexandre</div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
Gnuk-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gnuk-users@gnupg.org">Gnuk-users@gnupg.org</a>
<a class="moz-txt-link-freetext" href="https://lists.gnupg.org/mailman/listinfo/gnuk-users">https://lists.gnupg.org/mailman/listinfo/gnuk-users</a>
</pre>
    </blockquote>
    <div id="grammalecte_menu_main_button_shadow_host"
      style="width: 0px; height: 0px;"></div>
  </body>
</html>