[PATCH 1/2 v4] tpm-v2: add support for mapping algorithm names to algos