#include #include int main(void) { MD5_CTX context; unsigned char md[MD5_DIGEST_LENGTH + SHA_DIGEST_LENGTH]; unsigned char dat[] = "12345"; MD5_Init(&context); MD5_Update(&context, &dat[0], sizeof(dat)); MD5_Final(&md[0], &context); SHA1(&dat[0], sizeof(dat), &md[0]); return 0; } cs-git' href='git://git.distanz.ch/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines