[PATCH] IMA hash algorithm supports sm3-256

Tianjia Zhang
2020-02-07T09:22:36Z

The algorithm name sm3-256 referenced by IMA is implemented in crypto as sm3,
which causes IMA to not use sm3-256 algorithm. This patch solves this problem
by adding an alias name sm3-256 to sm3 algorithm, and let IMA hash algorithm
configuration list supports sm3.