[PATCH] IMA hash algorithm supports sm3-256

From: Tianjia Zhang
Date: Fri Feb 07 2020 - 04:22:37 EST


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.