Support building ssl and hashlib modules against AWS-LC

Ok, I’ve posted another PR allowing for builds against crypto libraries that don’t support the BLAKE2 hash function. @gpshead has expanded this PR to detect lack of support for other hash functions as well.

There is one additional PR I would like to post for detecting lack of support for post-handshake authentication, as AWS-LC doesn’t currently plan to implement post-handshake authentication. The change would look something like this.

With that change, AWS-LC would be able to build against CPython with no source code patches, and only fail expected tests due to lack of certain features.

1 Like