[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ssh_string_burn guarantees?
[Thread Prev] | [Thread Next]
- Subject: ssh_string_burn guarantees?
- From: William Orr <will@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 15 Sep 2014 08:16:27 -0700
- To: libssh@xxxxxxxxxx
Hey, I was looking through the source of ssh_string_burn, and I was wondering what guarantees there were to ensure it doesn't get optimized out. Now, the new C11 memset_s(3) can be used to make those guarantees on platforms that have a new enough libc. Other platforms offer an explicit_bzero(3) function with that guarantee. Thanks, William Orr
Attachment:
signature.asc
Description: OpenPGP digital signature
Re: ssh_string_burn guarantees? | Andreas Schneider <asn@xxxxxxxxxxxxxx> |