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 Saturday, 07-Jun-2025 02:20:37 JST Ryan Castellucci :nonbinary_flag: Ryan Castellucci :nonbinary_flag:

    So anyway, some people do crossword puzzles, I do assembly golf to cryptographic algorithms. This generates the 288 bytes of magic numbers for SHA2-256 in 164 bytes while still following the SysV AMD64 ABI.

    https://gist.github.com/ryancdotorg/0d1baee4f3caf055c5931ce088e1c283#file-sha2_const-s

    In conversation about 12 days ago from infosec.exchange permalink
    • Embed this notice
      John Ripley (jripley@mastodon.social)'s status on Saturday, 07-Jun-2025 04:21:03 JST John Ripley John Ripley
      in reply to

      @ryanc Wonder how small that could get without all the calling convention overhead, which looks like about half the binary.

      In conversation about 12 days ago permalink
    • Embed this notice
      Ryan Castellucci :nonbinary_flag: (ryanc@infosec.exchange)'s status on Saturday, 07-Jun-2025 04:21:03 JST Ryan Castellucci :nonbinary_flag: Ryan Castellucci :nonbinary_flag:
      in reply to
      • John Ripley

      @jripley saving/restoring rbp and rbx actually saved bytes due to shorter opcode encodings. Those account for eight bytes, and then two bytes to clear the FPU stack, so ten bytes total.

      In conversation about 12 days ago 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.