Commit 7a689ebc authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

ANDROID: crypto: lib/sha256 - add vendor hook for sha256() routine



Add a vendor hook that will allow the FIPS140 kernel module to override
the implementation of the sha256() library routine. The FIPS 140 version
is identical to the normal one, but its code and rodata will have been
integrity checked at module load time.

Bug: 153614920
Bug: 188620248
Change-Id: I8ccc4f0cc8206af39fa922134b438dacac2a614a
Signed-off-by: default avatarArd Biesheuvel <ardb@google.com>
parent 4190dbd6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment