The 'type' parameter, an EVP_MD pointer, represents the type of digest