Results 1127 comments of Brian Smith

> I also see now that GNU as has a syntax for teaching it new instructions; see https://sourceware.org/binutils/docs/as.html#index-insn-directive. I wonder if that could be made to work. https://sourceware.org/binutils/docs-2.40/as/i386_002dDirectives.html doesn't have...

Background material: * https://patchwork.kernel.org/project/xen-devel/patch/[email protected]/#23683471 * https://www.phoronix.com/news/Arm-Straight-Line-Speculation * https://lore.kernel.org/lkml/[email protected]/T/#m891396b53735e58e87265343c7db46f0501057db * https://www.phoronix.com/news/x86-SLS-Mitigation-5.17 Most of the info about SLS is regarding the initial AArch64 issue but there is also x86-64, at least.

I'm not sure what you mean by "no guarantees can be provided." C11 memset_s and SecureZeroMemory both guarantee zeroization when they are used, when they are available.

What is the exact command line you are using to build your application? I'm guessing that this is due to https://github.com/rust-lang/rust/issues/125033.

Thanks for this. This was in fact the exact type signature that I had originally given to `Prk::expand()` but for some reason it didn't work...I think rustc's type inference didn't...

> Did you run into this yourself? Sorry if I wasn't clear. What I mean is, did you find that your new function failed to work because of type inference...

Also, since Quinn is based on Rustls, IMO Rustls should just expose an API that makes all that Quinn code unnecessary. Quinn shouldn't be doing HKDF at all, AFAICT.

> @ctz took the opinion back when I started that he wanted rustls to know as little as possible QUIC-specific stuff, but maybe we ought to reconsider that position. Off-topic,...

> It took me a while to figure out the correct incantation, so it would be nice if that could live in _ring_. Especially since it took me quite some...

@djc Yes, I think it would be good to have this. It isn't being tested in hkdf_tests, which is the main blocker that I see.