Lines Matching defs:junk
439 unsigned char *junk;
441 junk = malloc(sizeof(cdh));
442 assert(junk != NULL);
443 memcpy(junk, cdh, sizeof(cdh));
444 junk[0] = (unsigned char)~junk[0];
449 assert(fido_assert_set_clientdata_hash(a, junk, sizeof(cdh)) == FIDO_OK);
460 free(junk);
490 unsigned char *junk;
492 junk = malloc(sizeof(authdata));
493 assert(junk != NULL);
494 memcpy(junk, authdata, sizeof(authdata));
495 junk[0] = (unsigned char)~junk[0];
499 assert(fido_assert_set_authdata(a, 0, junk,
506 free(junk);
514 unsigned char *junk;
516 junk = malloc(sizeof(sig));
517 assert(junk != NULL);
518 memcpy(junk, sig, sizeof(sig));
519 junk[0] = (unsigned char)~junk[0];
531 assert(fido_assert_set_sig(a, 0, junk, sizeof(sig)) == FIDO_OK);
535 free(junk);