Yu Ding

Results 153 comments of Yu Ding

@YxpNUDT 别担心,从sapphire rapids开始 每块xeon都有sgx……

已经有在 v1.0.6 上能够正常工作的 rand https://github.com/mesalock-linux/rand-sgx

看上去你要移植的是parity-common下的fixed-hash。它依赖于 rand v0.5。这是一个非常罕见的版本,API 不同于 0.4 也不同于 0.6。如果你看 rand 的[发布历史](https://github.com/rust-random/rand/releases),你会发现 0.5 在历史上只“存活”了三个月,之后 rand 还在继续维护 0.4 以及推出了新的 0.6。上面我移植的 rand-sgx 是 0.6。 不明白为什么这个 fixed-hash 会固定依赖于这个稀有的并且失去维护的 0.5——说不定你需要重新移植 rand 0.5,或者让 fixed-hash 在0.6上能工作。

Hey Brian, thanks for your support! I can provide an SGX enclave which runs all your test cases in [tests dir](https://github.com/briansmith/ring/tree/master/tests). The enclave will return non-zero or trigger a signal...

I prefer low-level (or even hard-coded) solution without std.

@elichai I think something like `-DRING_BAUDI_SGX=1` is good, and we can control the flag in a variety of ways.

@briansmith This enclave tests all test cases of ring. See if this kind of enclave is good for CI. And I'd like to maintain it. Thanks! https://github.com/dingelish/ring-sgx-test

> Microcode updates addressing the issue [are available](https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20200609). thanks bro! this link is helpful. i'd like to see a more completed removal of TSX in all Intel CPUs.

@democ98 看了看感觉有机会 但是最近我在找工作 没什么时间 等我有空了会帮忙移植一下