Lines Matching defs:junk
1745 unsigned char *junk;
1747 junk = malloc(sizeof(cdh));
1748 assert(junk != NULL);
1749 memcpy(junk, cdh, sizeof(cdh));
1750 junk[0] = (unsigned char)~junk[0];
1754 assert(fido_cred_set_clientdata_hash(c, junk, sizeof(cdh)) == FIDO_OK);
1770 free(junk);
1787 assert(fido_cred_set_fmt(c, "junk") == FIDO_ERR_INVALID_ARGUMENT);
1846 unsigned char *junk;
1849 junk = malloc(sizeof(authdata));
1850 assert(junk != NULL);
1851 memcpy(junk, authdata, sizeof(authdata));
1852 junk[0] = (unsigned char)~junk[0];
1858 assert(fido_cred_set_authdata(c, junk,
1880 free(junk);
1888 unsigned char *junk;
1890 junk = malloc(sizeof(sig));
1891 assert(junk != NULL);
1892 memcpy(junk, sig, sizeof(sig));
1893 junk[0] = (unsigned char)~junk[0];
1903 assert(fido_cred_set_sig(c, junk, sizeof(sig)) == FIDO_OK);
1913 free(junk);
1920 unsigned char *junk;
1922 junk = malloc(sizeof(x509));
1923 assert(junk != NULL);
1924 memcpy(junk, x509, sizeof(x509));
1925 junk[0] = (unsigned char)~junk[0];
1934 assert(fido_cred_set_x509(c, junk, sizeof(x509)) == FIDO_OK);
1945 free(junk);