arm64: dts: rockchip: add cpuinfo support for rk3399-android
[firefly-linux-kernel-4.4.55.git] / crypto / md5.c
index 7febeaab923bcd724f607ca536ae6ab202e182ea..33d17e9a87025e7847e592371d659a58bae8d854 100644 (file)
@@ -51,10 +51,10 @@ static int md5_init(struct shash_desc *desc)
 {
        struct md5_state *mctx = shash_desc_ctx(desc);
 
-       mctx->hash[0] = 0x67452301;
-       mctx->hash[1] = 0xefcdab89;
-       mctx->hash[2] = 0x98badcfe;
-       mctx->hash[3] = 0x10325476;
+       mctx->hash[0] = MD5_H0;
+       mctx->hash[1] = MD5_H1;
+       mctx->hash[2] = MD5_H2;
+       mctx->hash[3] = MD5_H3;
        mctx->byte_count = 0;
 
        return 0;
@@ -168,3 +168,4 @@ module_exit(md5_mod_fini);
 
 MODULE_LICENSE("GPL");
 MODULE_DESCRIPTION("MD5 Message Digest Algorithm");
+MODULE_ALIAS_CRYPTO("md5");