[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ssh_string_burn guarantees?


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


Follow-Ups:
Re: ssh_string_burn guarantees?Andreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org