google / go-tpm

Apache License 2.0
553 stars 159 forks source link

Trivial fixes for lint and nullability #368

Closed chrisfenner closed 2 weeks ago

chrisfenner commented 1 month ago

This change adds a missing doc comment for EncryptDecrypt2, and adds the missing nullable tag onto HmacStart's hash algorithm. The hash algorithm can be TPM_ALG_NULL (see TPM Spec Part 3).