Skip to content

Instantly share code, notes, and snippets.

View danintel's full-sized avatar

Dan Anderson danintel

View GitHub Profile
@danintel
danintel / aws-sawtooth-marketplace.txt
Last active March 8, 2019 20:05
Using AWS with the Pre-built Sawtooth Supply Chain Instance
Using AWS with the Pre-built Sawtooth Supply Chain Instance
By Dan Anderson (February 1, 2019)
These instructions create an "Free Tier" AWS instance running Sawtooth Marketplace on Sawtooth 0.8.9.
The instance is pre-release and old (2017) (the current Sawtooth release, December 2018, is 1.1)
1. Go to AWS Marketplace "Hyperledget Sawtooth Supply Chain" at
https://aws.amazon.com/marketplace/pp/B077FLR7V5
2. Click "Sign in or Create a new account" in the upper right
@SaveTheRbtz
SaveTheRbtz / boringssl.diff
Last active May 6, 2019 22:55
Re-enable AVX2/SHA extensions that were disabled after OpenSSL->BoringSSL fork.
diff --git a/crypto/bn/asm/rsaz-avx2.pl b/crypto/bn/asm/rsaz-avx2.pl
index 73db3c2b..ab517119 100755
--- a/crypto/bn/asm/rsaz-avx2.pl
+++ b/crypto/bn/asm/rsaz-avx2.pl
@@ -84,8 +84,8 @@ die "can't locate x86_64-xlate.pl";
# output, so this isn't useful anyway.
#
# TODO(davidben): Enable these after testing. $avx goes up to 2 and $addx to 1.
-$avx = 0;
-$addx = 0;