Lines Matching +full:reserved +full:- +full:cpu +full:- +full:vectors
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2011 The FreeBSD Project. All rights reserved.
29 * SHA512-based Unix crypt implementation. Released into the Public Domain by
80 if (strncmp(sha512_salt_prefix, salt, sizeof(sha512_salt_prefix) - 1) == 0)
82 salt += sizeof(sha512_salt_prefix) - 1;
84 if (strncmp(salt, sha512_rounds_prefix, sizeof(sha512_rounds_prefix) - 1)
86 num = salt + sizeof(sha512_rounds_prefix) - 1;
127 for (cnt = key_len; cnt > 64; cnt -= 64)
154 for (cnt = key_len; cnt >= 64; cnt -= 64) {
172 for (cnt = salt_len; cnt >= 64; cnt -= 64) {
178 /* Repeatedly run the collected hash value through SHA512 to burn CPU
264 /* Test vectors from FIPS 180-2: appendix C.1. */
272 /* Test vectors from FIPS 180-2: appendix C.2. */
281 /* Test vectors from the NESSIE project. */
411 /* Test vector from FIPS 180-2: appendix C.3. */