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