Home
last modified time | relevance | path

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

/linux-6.1.9/lib/crypto/
Dcurve25519-selftest.c14 static const struct curve25519_test_vector curve25519_test_vectors[] __initconst = { variable
1291 for (i = 0; i < ARRAY_SIZE(curve25519_test_vectors); ++i) { in curve25519_selftest()
1293 ret = curve25519(out, curve25519_test_vectors[i].private, in curve25519_selftest()
1294 curve25519_test_vectors[i].public); in curve25519_selftest()
1295 if (ret != curve25519_test_vectors[i].valid || in curve25519_selftest()
1296 memcmp(out, curve25519_test_vectors[i].result, in curve25519_selftest()