Re: Crypto friendly optimization?

Keith Thompson <Keith.S.Thompson+u@gmail.com>
Sat, 24 Aug 2024 20:55:19 -0700

          From comp.compilers

Related articles
Crypto friendly optimization? johnl@taugh.com (John R Levine) (2024-08-24)
Re: Crypto friendly optimization? Keith.S.Thompson+u@gmail.com (Keith Thompson) (2024-08-24)
Re: Crypto friendly optimization? ianlancetaylor@gmail.com (Ian Lance Taylor) (2024-08-24)
Re: Crypto friendly optimization? Keith.S.Thompson+u@gmail.com (Keith Thompson) (2024-08-24)
Re: Crypto friendly optimization? david.brown@hesbynett.no (David Brown) (2024-08-25)
Re: Crypto friendly optimization? anton@mips.complang.tuwien.ac.at (2024-08-25)
Re: Crypto friendly optimization? david.brown@hesbynett.no (David Brown) (2024-08-25)
| List of all articles for this month |
From: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.compilers
Date: Sat, 24 Aug 2024 20:55:19 -0700
Organization: Compilers Central
References: 24-08-003 24-08-004
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="21281"; mail-complaints-to="abuse@iecc.com"
Keywords: optimize
Posted-Date: 25 Aug 2024 13:25:22 EDT

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 */


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.