CONFIG_CRYPTO_LIB_SHA256 (not configurable)

modulename: libsha256.ko

configname: CONFIG_CRYPTO_LIB_SHA256

Linux Kernel Configuration
└─>Library routines
└─>Crypto library routines
└─>CRYPTO_LIB_SHA256
In linux kernel since version 4.14.326 (release Date: 2023-09-23)  
The SHA-224, SHA-256, HMAC-SHA224, and HMAC-SHA256 library functions.
Select this if your module uses any of these functions from
<crypto/sha2.h>.

source code: