xref: /freebsd/contrib/ntp/tests/libntp/data/ntp.keys (revision f5f40dd63bc7acbb5312b26ac1ea1103c12352a6)
1*f5f40dd6SCy Schubert# This unit test ntp.keys file has hard-coded the union of sets
2*f5f40dd6SCy Schubert# of OpenSSL-supported digest algorithms we've come across.  It
3*f5f40dd6SCy Schubert# needs to be updated as algorithms are observed.  A list can be
4e6bfd18dSCy Schubert# obtained with:
5e6bfd18dSCy Schubert#
6e6bfd18dSCy Schubert# ntpq -c "help keytype"
7e6bfd18dSCy Schubert#
8*f5f40dd6SCy Schubert# tests/libntp/digests.c similarly hardcodes the list of digests
9*f5f40dd6SCy Schubert# to test.  This file must be kept in sync with it.
10e6bfd18dSCy Schubert#
11e6bfd18dSCy Schubert# Each digest is tested twice with keyids separated by 50 for
12e6bfd18dSCy Schubert# plaintext and hex-encoded keys.
13*f5f40dd6SCy Schubert#
14e6bfd18dSCy Schubert
15e6bfd18dSCy Schubert 1 AES128CMAC	X~A=%NWlo]p$dGq,S3M9
16e6bfd18dSCy Schubert 2 MD4		oV'8?f+J5`_EOvW!B,R`
17e6bfd18dSCy Schubert 3 MD5		>b^IZa4>K6:Au=KS>S-6
18e6bfd18dSCy Schubert 4 MDC2		b@XOS~6VZ.E9Qv!CJYV,
19e6bfd18dSCy Schubert 5 RIPEMD160	I89p}f6QopwC\LwHBm;e
20e6bfd18dSCy Schubert 6 SHA1		A;H=E;.m4N%t%EeJ90[d
21e6bfd18dSCy Schubert 7 SHAKE128	|HxLoa,mzG<"y>^TI_(1
22*f5f40dd6SCy Schubert 8 DSA		306+^SHLV5{"v7W`U3aY
23*f5f40dd6SCy Schubert 9 DSA-SHA	lGyKZgsI_Pi"y"8JAT98
24*f5f40dd6SCy Schubert10 SHA		2:VO]Q5u%/b&}.<P?T~9
25e6bfd18dSCy Schubert
26e6bfd18dSCy Schubert51 AES128CMAC 	d0cd9f3ee181769ca7cccaada09f093c5fe8e628
27e6bfd18dSCy Schubert52 MD4		7080bc47eea6b379b2ff841805a144fb4a241a16
28e6bfd18dSCy Schubert53 MD5		b4c25b70f1fda16a7fef7552c9371e0cedee2e3c
29e6bfd18dSCy Schubert54 MDC2		3cb1d4633a460179a7c96aed6c6a9273c3c98af8
30e6bfd18dSCy Schubert55 RIPEMD160	6028ec169bfbe55ab61ffa7baa34b482020f0619
31e6bfd18dSCy Schubert56 SHA1		17d96a86eb9b9075f33e1c0a08bb2bb61e916e33
32e6bfd18dSCy Schubert57 SHAKE128	70da1a91030eb91836c1cf76cf67ddfd6b96fa91
33*f5f40dd6SCy Schubert58 DSA		7ce5deea7569d7423d5e1b497c8eb3bfeff852d5
34*f5f40dd6SCy Schubert59 DSA-SHA	9fd568e8f371deae54a65bc50b52bbe1f6529589
35*f5f40dd6SCy Schubert60 SHA		ce85046978a4df8366e102c4f1267399bbc25737
36