Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. I guess people are just going to keep discovering that you can't really make a C compiler do constant time

I guess people are just going to keep discovering that you can't really make a C compiler do constant time

Scheduled Pinned Locked Moved Uncategorized
6 Posts 3 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • regehr@mastodon.socialR This user is from outside of this forum
    regehr@mastodon.socialR This user is from outside of this forum
    regehr@mastodon.social
    wrote last edited by
    #1

    I guess people are just going to keep discovering that you can't really make a C compiler do constant time

    Link Preview Image
    How the GNU C Compiler became the Clippy of cryptography

    FOSDEM 2026: Security devs forced to hide Boolean logic from overeager optimizer

    favicon

    (www.theregister.com)

    shelldozer@oldbytes.spaceS rachelplusplus@tech.lgbtR regehr@mastodon.socialR 3 Replies Last reply
    1
    0
    • regehr@mastodon.socialR regehr@mastodon.social

      I guess people are just going to keep discovering that you can't really make a C compiler do constant time

      Link Preview Image
      How the GNU C Compiler became the Clippy of cryptography

      FOSDEM 2026: Security devs forced to hide Boolean logic from overeager optimizer

      favicon

      (www.theregister.com)

      shelldozer@oldbytes.spaceS This user is from outside of this forum
      shelldozer@oldbytes.spaceS This user is from outside of this forum
      shelldozer@oldbytes.space
      wrote last edited by
      #2

      @regehr or that you can make a C compiler do so, but not another C compiler with the same code...

      shelldozer@oldbytes.spaceS 1 Reply Last reply
      0
      • regehr@mastodon.socialR regehr@mastodon.social

        I guess people are just going to keep discovering that you can't really make a C compiler do constant time

        Link Preview Image
        How the GNU C Compiler became the Clippy of cryptography

        FOSDEM 2026: Security devs forced to hide Boolean logic from overeager optimizer

        favicon

        (www.theregister.com)

        rachelplusplus@tech.lgbtR This user is from outside of this forum
        rachelplusplus@tech.lgbtR This user is from outside of this forum
        rachelplusplus@tech.lgbt
        wrote last edited by
        #3

        @regehr Do you think it would be possible to make a special-purpose optimization mode that only makes changes which are "safe" for cryptographic code? Or is that too underspecified/hard of a problem?

        regehr@mastodon.socialR 1 Reply Last reply
        0
        • shelldozer@oldbytes.spaceS shelldozer@oldbytes.space

          @regehr or that you can make a C compiler do so, but not another C compiler with the same code...

          shelldozer@oldbytes.spaceS This user is from outside of this forum
          shelldozer@oldbytes.spaceS This user is from outside of this forum
          shelldozer@oldbytes.space
          wrote last edited by
          #4

          @regehr and not just limited to 😄 some Pascal compilers and other languages too.

          1 Reply Last reply
          0
          • rachelplusplus@tech.lgbtR rachelplusplus@tech.lgbt

            @regehr Do you think it would be possible to make a special-purpose optimization mode that only makes changes which are "safe" for cryptographic code? Or is that too underspecified/hard of a problem?

            regehr@mastodon.socialR This user is from outside of this forum
            regehr@mastodon.socialR This user is from outside of this forum
            regehr@mastodon.social
            wrote last edited by
            #5

            @rachelplusplus there's some work in this direction in the LLVM community!

            Link Preview Image
            [RFC] Constant-Time Coding Support

            Constant-Time Coding Support Summary We (@kumarak, @frabert, @hbrodin, @wizardengineer, and myself of Trail of Bits) propose a Clang “constant-time selection” builtin for cryptographers to use to ensure that their compil…

            favicon

            LLVM Discussion Forums (discourse.llvm.org)

            1 Reply Last reply
            0
            • regehr@mastodon.socialR regehr@mastodon.social

              I guess people are just going to keep discovering that you can't really make a C compiler do constant time

              Link Preview Image
              How the GNU C Compiler became the Clippy of cryptography

              FOSDEM 2026: Security devs forced to hide Boolean logic from overeager optimizer

              favicon

              (www.theregister.com)

              regehr@mastodon.socialR This user is from outside of this forum
              regehr@mastodon.socialR This user is from outside of this forum
              regehr@mastodon.social
              wrote last edited by
              #6

              "Can it be fair to require the average programmer to understand inline assembly, or any of these other inherently obtuse obfuscation techniques?"

              can it be fair for the average programmer (if they don't understand this stuff) to just not write code where timing channels matter? who ever writes these articles

              1 Reply Last reply
              0
              • R relay@relay.infosec.exchange shared this topic
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups