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");
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");
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");
// 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;
}
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;
}