mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
crypto: vmac - New hash algorithm for intel_txt support
This patch adds VMAC (a fast MAC) support into crypto framework. Signed-off-by: Shane Wang <[email protected]> Signed-off-by: Joseph Cihula <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
2bf2901669
commit
f1939f7c56
7 changed files with 781 additions and 0 deletions
|
|
@ -2247,6 +2247,15 @@ static const struct alg_test_desc alg_test_descs[] = {
|
|||
.count = TGR192_TEST_VECTORS
|
||||
}
|
||||
}
|
||||
}, {
|
||||
.alg = "vmac(aes)",
|
||||
.test = alg_test_hash,
|
||||
.suite = {
|
||||
.hash = {
|
||||
.vecs = aes_vmac128_tv_template,
|
||||
.count = VMAC_AES_TEST_VECTORS
|
||||
}
|
||||
}
|
||||
}, {
|
||||
.alg = "wp256",
|
||||
.test = alg_test_hash,
|
||||
|
|
|
|||
Loading…
Reference in a new issue