GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Ryan Castellucci :nonbinary_flag: (ryanc@infosec.exchange)'s status on Monday, 22-Jan-2024 14:24:46 JST Ryan Castellucci :nonbinary_flag: Ryan Castellucci :nonbinary_flag:

    I was working on writing a big integer math implementation in C for doing elliptic curve math in Web Assembly.

    There is no arithmetic with carry in wasm, and I'm trying to decide whether it would be more efficient to use 30 bit limbs for more efficient carry when squaring or tripling numbers.

    It looks like it'll require an extra limb for multiply/square operations for 256/384 bit curves, and for all operations on 521 bit curves.

    In conversation Monday, 22-Jan-2024 14:24:46 JST from infosec.exchange permalink

    Attachments


    • Embed this notice
      Ryan Castellucci :nonbinary_flag: (ryanc@infosec.exchange)'s status on Monday, 22-Jan-2024 14:26:20 JST Ryan Castellucci :nonbinary_flag: Ryan Castellucci :nonbinary_flag:
      in reply to

      Someone told me I should just write my own big integer routines rather than trying to deal with someone else's because I'll understand better, and implementing exactly what I need should make it a bit faster.

      In conversation Monday, 22-Jan-2024 14:26:20 JST permalink
    • Embed this notice
      Ryan Castellucci :nonbinary_flag: (ryanc@infosec.exchange)'s status on Monday, 22-Jan-2024 14:27:10 JST Ryan Castellucci :nonbinary_flag: Ryan Castellucci :nonbinary_flag:
      in reply to

      Also, most of these sorts of libraries use constant time operations, which I don't need, and non-constant time is faster.

      In conversation Monday, 22-Jan-2024 14:27:10 JST permalink
    • Embed this notice
      Fabrice Roux :verified: :donor: (fabrice@infosec.exchange)'s status on Monday, 22-Jan-2024 14:52:11 JST Fabrice Roux :verified: :donor: Fabrice Roux :verified: :donor:
      in reply to

      @ryanc it’s also faster and better for the planet to recycle nonces. And if you are looking for zero hassle optimization… remove the randomness part of the nonces… a simple static value will do the trick. 😳

      In conversation Monday, 22-Jan-2024 14:52:11 JST permalink
    • Embed this notice
      Ryan Castellucci :nonbinary_flag: (ryanc@infosec.exchange)'s status on Monday, 22-Jan-2024 15:16:37 JST Ryan Castellucci :nonbinary_flag: Ryan Castellucci :nonbinary_flag:
      in reply to
      • Fabrice Roux :verified: :donor:

      @fabrice I'm not operating on private keys at all, only manipulating public points.

      In conversation Monday, 22-Jan-2024 15:16:37 JST permalink
    • Embed this notice
      Ryan Castellucci :nonbinary_flag: (ryanc@infosec.exchange)'s status on Monday, 22-Jan-2024 15:22:06 JST Ryan Castellucci :nonbinary_flag: Ryan Castellucci :nonbinary_flag:
      in reply to
      • Fabrice Roux :verified: :donor:

      @fabrice I do, in fact, know what I'm doing...

      In conversation Monday, 22-Jan-2024 15:22:06 JST permalink
    • Embed this notice
      Fabrice Roux :verified: :donor: (fabrice@infosec.exchange)'s status on Monday, 22-Jan-2024 23:40:57 JST Fabrice Roux :verified: :donor: Fabrice Roux :verified: :donor:
      in reply to

      @ryanc it was a joke… I need to up my style to make it obvious. Sorry for the confusion.

      In conversation Monday, 22-Jan-2024 23:40:57 JST permalink
    • Embed this notice
      Ryan Castellucci :nonbinary_flag: (ryanc@infosec.exchange)'s status on Monday, 22-Jan-2024 23:55:25 JST Ryan Castellucci :nonbinary_flag: Ryan Castellucci :nonbinary_flag:
      in reply to
      • Fabrice Roux :verified: :donor:

      @fabrice Thank you. It seemed like you might be mocking me, I'm glad you weren't.

      In conversation Monday, 22-Jan-2024 23:55:25 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.