google / go-tpm

Apache License 2.0
561 stars 161 forks source link

Trivial fixes for lint and nullability #368

Closed chrisfenner closed 2 months ago

chrisfenner commented 3 months 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).