]> git.codecow.com Git - Monocypher.git/commitdiff
Renamed 'Sha512' to 'SHA-512'
authorLoup Vaillant <loup@loup-vaillant.fr>
Fri, 14 Jan 2022 22:03:32 +0000 (23:03 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Tue, 25 Jan 2022 08:33:14 +0000 (09:33 +0100)
tests/speed/speed-sodium.c
tests/speed/speed-tweetnacl.c
tests/speed/speed.c
tests/test.c

index 857308ae020cfe61169954ef01b7708d00f85a1b..2161a8f83e3ce1edcfad5723bf4b4b47af6ef91e 100644 (file)
@@ -181,7 +181,7 @@ int main()
     print("Poly1305         ",poly1305()     *MUL,"megabytes  per second");
     print("Auth'd encryption",authenticated()*MUL,"megabytes  per second");
     print("BLAKE2b          ",blake2b()      *MUL,"megabytes  per second");
-    print("Sha512           ",sha512()       *MUL,"megabytes  per second");
+    print("SHA-512          ",sha512()       *MUL,"megabytes  per second");
     print("Argon2i, 3 passes",argon2i()      *MUL,"megabytes  per second");
     print("x25519           ",x25519()           ,"exchanges  per second");
     print("EdDSA(sign)      ",edDSA_sign()       ,"signatures per second");
index 204f9d22678a6f85d09402054bea8ec4e4ad3d33..5db83c441e70b88b7524969f57427be4db4c0262 100644 (file)
@@ -160,7 +160,7 @@ int main()
     print("Salsa20          ",salsa20()      *MUL,"megabytes  per second");
     print("Poly1305         ",poly1305()     *MUL,"megabytes  per second");
     print("Auth'd encryption",authenticated()*MUL,"megabytes  per second");
-    print("Sha512           ",sha512()       *MUL,"megabytes  per second");
+    print("SHA-512          ",sha512()       *MUL,"megabytes  per second");
     print("x25519           ",x25519()           ,"exchanges  per second");
     print("EdDSA(sign)      ",edDSA_sign()       ,"signatures per second");
     print("EdDSA(check)     ",edDSA_check()      ,"checks     per second");
index ee64bb8c97bd7f2da836e1b342b2fc7082db72e3..60be9e23d848d470b89b18ab531262a16fadb046 100644 (file)
@@ -208,7 +208,7 @@ int main()
     print("Poly1305            ",poly1305()     *MUL ,"megabytes  per second");
     print("Auth'd encryption   ",authenticated()*MUL ,"megabytes  per second");
     print("BLAKE2b             ",blake2b()      *MUL ,"megabytes  per second");
-    print("Sha512              ",sha512()       *MUL ,"megabytes  per second");
+    print("SHA-512             ",sha512()       *MUL ,"megabytes  per second");
     print("Argon2i, 3 passes   ",argon2i()      *MUL ,"megabytes  per second");
     print("x25519              ",x25519()            ,"exchanges  per second");
     print("EdDSA(sign)         ",edDSA_sign()        ,"signatures per second");
index fa427c3dad9e6c20278edbc499409a1c5772a906..29beb3e9b851b836cc3133c2ec349f8b1da58a61 100644 (file)
@@ -585,7 +585,7 @@ static int p_sha512()
         // Compare the results (must be the same)
         status |= memcmp(hash_chunk, hash_whole, 64);
     }
-    printf("%s: Sha512 (incremental)\n", status != 0 ? "FAILED" : "OK");
+    printf("%s: SHA-512 (incremental)\n", status != 0 ? "FAILED" : "OK");
     return status;
 }
 
@@ -602,7 +602,7 @@ static int p_sha512_overlap()
         crypto_sha512(input+i, input + 64, SHA_512_BLOCK_SIZE);
         status |= memcmp(hash, input + i, 64);
     }
-    printf("%s: Sha512 (overlapping i/o)\n", status != 0 ? "FAILED" : "OK");
+    printf("%s: SHA-512 (overlapping i/o)\n", status != 0 ? "FAILED" : "OK");
     return status;
 }