| /src/external/bsd/libfido2/dist/src/ |
| touch.c | 18 unsigned char cdh[SHA256_DIGEST_LENGTH]; local 26 memset(cdh, 0, sizeof(cdh)); 33 if (SHA256((const void *)clientdata, strlen(clientdata), cdh) != cdh) { 49 if ((argv[0] = cbor_build_bytestring(cdh, sizeof(cdh))) == NULL ||
|
| /src/external/bsd/libfido2/dist/tools/ |
| cred_verify.c | 23 struct blob cdh; local 32 memset(&cdh, 0, sizeof(cdh)); 38 r = base64_read(in_f, &cdh); 51 xxd(cdh.ptr, cdh.len); 68 (r = fido_cred_set_clientdata_hash(cred, cdh.ptr, 69 cdh.len)) != FIDO_OK || 92 free(cdh.ptr);
|
| assert_verify.c | 28 struct blob cdh; local 34 memset(&cdh, 0, sizeof(cdh)); 38 r = base64_read(in_f, &cdh); 47 xxd(cdh.ptr, cdh.len); 60 if ((r = fido_assert_set_clientdata_hash(assert, cdh.ptr, 61 cdh.len)) != FIDO_OK || 83 free(cdh.ptr);
|
| cred_make.c | 23 struct blob cdh; local 29 memset(&cdh, 0, sizeof(cdh)); 32 r = base64_read(in_f, &cdh); 42 xxd(cdh.ptr, cdh.len); 54 r = fido_cred_set_clientdata(cred, cdh.ptr, cdh.len); 56 r = fido_cred_set_clientdata_hash(cred, cdh.ptr, cdh.len) 94 char *cdh = NULL; local [all...] |
| assert_get.c | 82 struct blob cdh; local 88 memset(&cdh, 0, sizeof(cdh)); 92 r = base64_read(in_f, &cdh); 104 xxd(cdh.ptr, cdh.len); 119 r = fido_assert_set_clientdata(assert, cdh.ptr, cdh.len); 121 r = fido_assert_set_clientdata_hash(assert, cdh.ptr, cdh.len) 162 char *cdh = NULL; local [all...] |
| /src/external/bsd/libfido2/dist/fuzz/ |
| fuzz_attobj.c | 24 struct blob cdh; member in struct:param 184 unpack_blob(v[2], &p->cdh) < 0 || 214 (argv[2] = pack_blob(&p->cdh)) == NULL || 255 dummy.cdh.len = sizeof(dummy_cdh); 258 memcpy(&dummy.cdh.body, &dummy_cdh, dummy.cdh.len); 321 r = fido_cred_set_clientdata_hash(cred, p->cdh.body, p->cdh.len);
|
| fuzz_assert.c | 27 struct blob cdh; member in struct:param 96 unpack_blob(v[14], &p->cdh) < 0) 136 (argv[14] = pack_blob(&p->cdh)) == NULL) 179 dummy.cdh.len = sizeof(dummy_cdh); 186 memcpy(&dummy.cdh.body, &dummy_cdh, dummy.cdh.len); 206 get_assert(fido_assert_t *assert, uint8_t opt, const struct blob *cdh, 232 fido_assert_set_clientdata_hash(assert, cdh->body, cdh->len); 238 fido_assert_set_clientdata_hash(assert, cdh->body, cdh->len) [all...] |
| fuzz_cred.c | 31 struct blob cdh; member in struct:param 101 unpack_blob(v[13], &p->cdh) < 0 || 143 (argv[13] = pack_blob(&p->cdh)) == NULL || 192 dummy.cdh.len = sizeof(dummy_cdh); 196 memcpy(&dummy.cdh.body, &dummy_cdh, dummy.cdh.len); 214 make_cred(fido_cred_t *cred, uint8_t opt, int type, const struct blob *cdh, 231 fido_cred_set_clientdata_hash(cred, cdh->body, cdh->len); 256 fido_cred_set_clientdata_hash(cred, cdh->body, cdh->len) [all...] |
| /src/external/bsd/libfido2/dist/regress/ |
| assert.c | 69 static const unsigned char cdh[32] = { variable 330 assert(fido_assert_set_clientdata_hash(a, cdh, sizeof(cdh)) == FIDO_OK); 378 assert(fido_assert_set_clientdata_hash(a, cdh, sizeof(cdh)) == FIDO_OK); 400 assert(fido_assert_set_clientdata_hash(a, cdh, sizeof(cdh)) == FIDO_OK); 421 assert(fido_assert_set_clientdata_hash(a, cdh, sizeof(cdh)) == FIDO_OK); 441 junk = malloc(sizeof(cdh)); [all...] |
| cred.c | 305 static const unsigned char cdh[32] = { variable 2261 assert(fido_cred_set_clientdata_hash(c, cdh, sizeof(cdh)) == FIDO_OK); 2311 assert(fido_cred_set_clientdata_hash(c, cdh, sizeof(cdh)) == FIDO_OK); 2336 assert(fido_cred_set_clientdata_hash(c, cdh, sizeof(cdh)) == FIDO_OK); 2364 assert(fido_cred_set_clientdata_hash(c, cdh, sizeof(cdh)) == FIDO_OK); 2389 assert(fido_cred_set_clientdata_hash(c, cdh, sizeof(cdh)) == FIDO_OK) [all...] |
| /src/external/bsd/pam-u2f/dist/pamu2fcfg/ |
| pamu2fcfg.c | 57 unsigned char cdh[32]; local 80 if (!random_bytes(cdh, sizeof(cdh))) { 85 if ((r = fido_cred_set_clientdata_hash(cred, cdh, sizeof(cdh))) != FIDO_OK) {
|
| /src/external/bsd/pam-u2f/dist/ |
| util.c | 952 unsigned char cdh[32]; local 955 if (!random_bytes(cdh, sizeof(cdh))) { 960 r = fido_assert_set_clientdata_hash(assert, cdh, sizeof(cdh));
|
| /src/crypto/external/bsd/openssl.old/dist/ssl/statem/ |
| statem_srvr.c | 3172 DH *cdh; local 3209 cdh = EVP_PKEY_get0_DH(ckey); 3211 if (pub_key == NULL || cdh == NULL || !DH_set0_key(cdh, pub_key, NULL)) {
|
| /src/external/bsd/libfido2/dist/src/fido/ |
| types.h | 176 fido_blob_t cdh; /* client data hash */ member in struct:fido_cred 210 fido_blob_t sig; /* signature of cdh + authdata */ 223 fido_blob_t cdh; /* client data hash */ member in struct:fido_assert
|