• Home
  • Raw
  • Download

Lines Matching refs:fuzzed

103 	struct sshbuf *buf, *fuzzed;  in sshkey_fuzz_tests()  local
116 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
119 r = sshbuf_put(fuzzed, fuzz_ptr(fuzz), fuzz_len(fuzz)); in sshkey_fuzz_tests()
121 if (sshkey_parse_private_fileblob(fuzzed, "", &k1, NULL) == 0) in sshkey_fuzz_tests()
123 sshbuf_reset(fuzzed); in sshkey_fuzz_tests()
125 sshbuf_free(fuzzed); in sshkey_fuzz_tests()
137 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
140 r = sshbuf_put(fuzzed, fuzz_ptr(fuzz), fuzz_len(fuzz)); in sshkey_fuzz_tests()
142 if (sshkey_parse_public_rsa1_fileblob(fuzzed, &k1, NULL) == 0) in sshkey_fuzz_tests()
144 sshbuf_reset(fuzzed); in sshkey_fuzz_tests()
146 sshbuf_free(fuzzed); in sshkey_fuzz_tests()
158 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
161 r = sshbuf_put(fuzzed, fuzz_ptr(fuzz), fuzz_len(fuzz)); in sshkey_fuzz_tests()
163 if (sshkey_parse_private_fileblob(fuzzed, "", &k1, NULL) == 0) in sshkey_fuzz_tests()
165 sshbuf_reset(fuzzed); in sshkey_fuzz_tests()
167 sshbuf_free(fuzzed); in sshkey_fuzz_tests()
178 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
181 r = sshbuf_put(fuzzed, fuzz_ptr(fuzz), fuzz_len(fuzz)); in sshkey_fuzz_tests()
183 if (sshkey_parse_private_fileblob(fuzzed, "", &k1, NULL) == 0) in sshkey_fuzz_tests()
185 sshbuf_reset(fuzzed); in sshkey_fuzz_tests()
187 sshbuf_free(fuzzed); in sshkey_fuzz_tests()
198 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
201 r = sshbuf_put(fuzzed, fuzz_ptr(fuzz), fuzz_len(fuzz)); in sshkey_fuzz_tests()
203 if (sshkey_parse_private_fileblob(fuzzed, "", &k1, NULL) == 0) in sshkey_fuzz_tests()
205 sshbuf_reset(fuzzed); in sshkey_fuzz_tests()
207 sshbuf_free(fuzzed); in sshkey_fuzz_tests()
218 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
221 r = sshbuf_put(fuzzed, fuzz_ptr(fuzz), fuzz_len(fuzz)); in sshkey_fuzz_tests()
223 if (sshkey_parse_private_fileblob(fuzzed, "", &k1, NULL) == 0) in sshkey_fuzz_tests()
225 sshbuf_reset(fuzzed); in sshkey_fuzz_tests()
227 sshbuf_free(fuzzed); in sshkey_fuzz_tests()
239 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
242 r = sshbuf_put(fuzzed, fuzz_ptr(fuzz), fuzz_len(fuzz)); in sshkey_fuzz_tests()
244 if (sshkey_parse_private_fileblob(fuzzed, "", &k1, NULL) == 0) in sshkey_fuzz_tests()
246 sshbuf_reset(fuzzed); in sshkey_fuzz_tests()
248 sshbuf_free(fuzzed); in sshkey_fuzz_tests()
259 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
262 r = sshbuf_put(fuzzed, fuzz_ptr(fuzz), fuzz_len(fuzz)); in sshkey_fuzz_tests()
264 if (sshkey_parse_private_fileblob(fuzzed, "", &k1, NULL) == 0) in sshkey_fuzz_tests()
266 sshbuf_reset(fuzzed); in sshkey_fuzz_tests()
268 sshbuf_free(fuzzed); in sshkey_fuzz_tests()
280 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
283 r = sshbuf_put(fuzzed, fuzz_ptr(fuzz), fuzz_len(fuzz)); in sshkey_fuzz_tests()
285 if (sshkey_parse_private_fileblob(fuzzed, "", &k1, NULL) == 0) in sshkey_fuzz_tests()
287 sshbuf_reset(fuzzed); in sshkey_fuzz_tests()
289 sshbuf_free(fuzzed); in sshkey_fuzz_tests()