Browse Source

fix hash ID's of ripemd 256 & 320

Steffen Jaeckel 11 years ago
parent
commit
47b8ccc07c
2 changed files with 4 additions and 3 deletions
  1. 1 1
      src/hashes/rmd256.c
  2. 3 2
      src/hashes/rmd320.c

+ 1 - 1
src/hashes/rmd256.c

@@ -20,7 +20,7 @@
 const struct ltc_hash_descriptor rmd256_desc =
 {
     "rmd256",
-    8,
+    13,
     32,
     64,
 

+ 3 - 2
src/hashes/rmd320.c

@@ -20,11 +20,12 @@
 const struct ltc_hash_descriptor rmd320_desc =
 {
     "rmd320",
-    9,
+    14,
     40,
     64,
 
-    /* OID */
+    /* OID ... does not exist
+     * http://oid-info.com/get/1.3.36.3.2 */
    { 0 },
    0,