https://github.com/canonical/go- tpm2/commit/bd7cad4936577a496ebfca7272fef34c32e3bc0b
commit bd7cad4936577a496ebfca7272fef34c32e3bc0b Author: Chris Coulson <chris.coul...@canonical.com> Date: Tue Aug 10 17:46:55 2021 +0100 Use HashAlgorithmId instead of crypto.Hash in various places Some recent commits changed HashAlgorithmId to crypto.Hash in some public APIs (mostly in util/), but this isn't really the right thing to do - it creates inconsistency (some arguments are represented by go-tpm2 types and others by go types), and the TPM spec currently has one hash algorithm with no corresponding crypto.Hash value (SM3). Whilst it's not possible to use this algorithm in go-tpm2 right now even though there is a go implementation of it (it requires it to be registered with the crypto package), it may be possible to support it in the future regardless of whether it gets a corresponding crypto.Hash value. Switch the use of crypto.Hash back to HashAlgorithmId in various places. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1938678 Title: [intel] [tgl-h][iotg] [hwe-tpm] Ubuntu Core hangs during bootup on TGL-H To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1938678/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs