Groups | Search | Server Info | Login | Register


Groups > comp.compilers > #3587

Re: Crypto friendly optimization?

From Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups comp.compilers
Subject Re: Crypto friendly optimization?
Date 2024-08-24 20:55 -0700
Organization Compilers Central
Message-ID <24-08-006@comp.compilers> (permalink)
References <24-08-003@comp.compilers> <24-08-004@comp.compilers>

Show all headers | View raw


Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
[...]
> C23 will add the memset_explicit() function :
[snip]
>
> [C11 has memset_s() which seems more or less the same thing.
> ...
> -John]

memset_s() is part of ISO C Annex K, which is optional.  glibc, for
example, doesn't currently provide either, though it does provide
explicit_bzero().

TLDR: There are currently several different C solutions with varying
levels of support.  Until then, a creepy maze of #ifdefs is probably
the best we can do.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

Back to comp.compilers | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Crypto friendly optimization? John R Levine <johnl@taugh.com> - 2024-08-24 17:14 -0400
  Re: Crypto friendly optimization? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2024-08-24 16:33 -0700
    Re: Crypto friendly optimization? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2024-08-24 20:55 -0700
    Re: Crypto friendly optimization? anton@mips.complang.tuwien.ac.at - 2024-08-25 16:06 +0000
      Re: Crypto friendly optimization? David Brown <david.brown@hesbynett.no> - 2024-08-25 21:12 +0200
      Re: Crypto friendly optimization? Philipp Klaus Krause <pkk@spth.de> - 2025-04-05 19:50 +0200
  Re: Crypto friendly optimization? Ian Lance Taylor <ianlancetaylor@gmail.com> - 2024-08-24 20:14 -0700
  Re: Crypto friendly optimization? David Brown <david.brown@hesbynett.no> - 2024-08-25 12:32 +0200

csiph-web