Lines Matching refs:message
2 # This test uses a fixed message, and then generates a private key, signs the
3 # message, and verifies the signature.
6 LMS NULL-message sign-verify test
7 # This test uses a NULL zero-length message, and then generates a private key,
8 # signs the message, and verifies the signature.
21 # To produce another signature with this message and key (note that the actual
42 # To produce another signature with this message and key (note that the actual
51 LMS pyhsslms interop NULL-message test
61 # To produce another signature with this message and key (note that the actual
65 # * touch message.bin (create empty message file)
66 # * hsslms sign tmp/lms.prv message.bin (incorrect signature using leaf node 0)
67 # * rm message.bin.sig
68 # * hsslms sign tmp/lms.prv message.bin (incorrect signature using leaf node 1)
69 # * rm message.bin.sig
70 # * hsslms sign tmp/lms.prv message.bin (correct signature using leaf node 2)
71 # * cat message.bin.sig | xxd
75 # * touch message.bin (create empty message file)
76 # * echo -n -e "\0\0\0\0" > message.bin.sig; cat sig.bin >> message.bin.sig (restore the
79 # * hsslms verify tmp/lms message.bin
93 # To produce another signature with this message and key (note that the actual
98 # * <Save message in binary format>
99 # * <hash-sigs>/demo sign tmp/lms message.bin
100 # * cat message.bin.sig | xxd
103 # * Save message and signature in binary format
104 # * echo -n -e "\0\0\0\0" > message.bin.sig; cat sig.bin >> message.bin.sig (restore the
107 # * <hash-sigs/demo> verify tmp/lms message.bin
121 # To produce another signature with this message and key (note that the actual
126 # * <Save message in binary format>
127 # * <hash-sigs>/demo sign tmp/lms message.bin (incorrect signature using leaf node 0)
128 # * rm message.bin.sig
129 # * <hash-sigs>/demo sign tmp/lms message.bin (correct signature using leaf node 1)
130 # * cat message.bin.sig | xxd
133 # * Save message and signature in binary format
134 # * echo -n -e "\0\0\0\0" > message.bin.sig; cat sig.bin >> message.bin.sig (restore the
137 # * <hash-sigs/demo> verify tmp/lms message.bin
145 # To produce another signature with this message and key (note that the actual
157 # message = bytes.fromhex('60da1a17c88c59da8a730e6ca8effd37')
158 # sig = private_key.sign(message)
160 # print('lms_verify_test:"{}":"{}":"{}":0'.format(message.hex(), sig.hex(), public_key.get_pubkey()…
168 # To produce another signature with this message and key (note that the actual
180 # message = bytes.fromhex('60da1a17c88c59da8a730e6ca8effd37')
181 # sig = private_key.sign(message)
183 # message = bytes.fromhex('92d036bde8c45b8bb5dea2a072560b1e29fc4bb7dc4549ce90bccee8a6e962a1')
184 # sig = private_key.sign(message)
186 # print('lms_verify_test:"{}":"{}":"{}":0'.format(message.hex(), sig.hex(), public_key.get_pubkey()…