Home
last modified time | relevance | path

Searched refs:hintvec (Results 1 – 1 of 1) sorted by relevance

/linux/lib/crypto/tests/
H A Dmldsa_kunit.c151 u8 *hintvec = &sig[tv->sig_len - omega - k]; in test_mldsa_bad_hints() local
159 hintvec[omega + k - 1] = omega + 1; in test_mldsa_bad_hints()
166 KUNIT_ASSERT_GE(test, hintvec[omega + k - 2], 1); in test_mldsa_bad_hints()
167 hintvec[omega + k - 1] = hintvec[omega + k - 2] - 1; in test_mldsa_bad_hints()
178 KUNIT_ASSERT_GE(test, hintvec[omega], 2); in test_mldsa_bad_hints()
179 h = hintvec[0]; in test_mldsa_bad_hints()
180 hintvec[0] = hintvec[1]; in test_mldsa_bad_hints()
181 hintvec[1] = h; in test_mldsa_bad_hints()
191 KUNIT_ASSERT_LT(test, hintvec[omega + k - 1], omega); in test_mldsa_bad_hints()
192 hintvec[omega - 1] = 0xff; in test_mldsa_bad_hints()