#include #include typedef unsigned char byte; int main() { EVP_MD_CTX ctx; const int DataLen = 30; byte digest[EVP_MAX_MD_SIZE]; unsigned int outLen; int i; byte* testdata = (byte *)malloc(DataLen); for (i=0; i