/freebsd/crypto/openssl/ssl/record/methods/ |
H A D | ssl3_meth.c | 28 int enc = (rl->direction == OSSL_RECORD_DIRECTION_WRITE) ? 1 : 0; in ssl3_set_crypto_state() 47 if ((md != NULL && EVP_DigestInit_ex(rl->md_ctx, md, NULL) <= 0)) { in ssl3_set_crypto_state() 92 * 0: if the record is publicly invalid, or an internal error 111 return 0; in ssl3_cipher() 115 return 0; in ssl3_cipher() 122 if (bs == 0) in ssl3_cipher() 123 return 0; in ssl3_cipher() 140 memset(&rec->input[rec->length], 0, i); in ssl3_cipher() 146 if (l == 0 || l % bs != 0) { in ssl3_cipher() 148 return 0; in ssl3_cipher() [all …]
|
/freebsd/contrib/libfido2/tools/ |
H A D | cred_verify.c | 27 struct blob x5c; in prepare_cred() local 32 memset(&cdh, 0, sizeof(cdh)); in prepare_cred() 33 memset(&authdata, 0, sizeof(authdata)); in prepare_cred() 34 memset(&id, 0, sizeof(id)); in prepare_cred() 35 memset(&sig, 0, sizeof(sig)); in prepare_cred() 36 memset(&x5c, 0, sizeof(x5c)); in prepare_cred() 44 if (r < 0) in prepare_cred() 47 (void)base64_read(in_f, &x5c); in prepare_cred() 61 xxd(x5c.ptr, x5c.len); in prepare_cred() 77 if (x5c.ptr != NULL) { in prepare_cred() [all …]
|
H A D | cred_make.c | 29 memset(&cdh, 0, sizeof(cdh)); in prepare_cred() 30 memset(&uid, 0, sizeof(uid)); in prepare_cred() 36 if (r < 0) in prepare_cred() 98 char *x5c = NULL; in print_attcred() 112 fido_cred_x5c_len(cred), &x5c); in print_attcred() 116 if (r < 0) in print_attcred() 125 if (x5c != NULL) in print_attcred() 126 fprintf(out_f, "%s\n", x5c); in print_attcred() 136 free(x5c); in cred_make() 152 int flags = 0; in cred_make() 93 char *x5c = NULL; print_attcred() local [all...] |
/freebsd/contrib/netbsd-tests/dev/audio/ |
H A D | h_pad_musa.c | 2 0x46, 0xdb, 0x76, 0x67, 0x61, 0xff, 0xfc, 0x67, 0xff, 0xe9, 0xdb, 0x79, 3 0x5d, 0x53, 0x5b, 0x79, 0xef, 0x65, 0x67, 0x5b, 0x67, 0x67, 0x72, 0x66, 4 0x4f, 0x5b, 0xe7, 0xf5, 0x5e, 0x53, 0x61, 0xe7, 0x5c, 0x53, 0x67, 0x67, 5 0x67, 0x5b, 0x54, 0x60, 0x4e, 0xec, 0xef, 0x5b, 0x5b, 0x6f, 0x69, 0xff, 6 0x71, 0x53, 0x77, 0x67, 0x67, 0x5b, 0x5b, 0x5b, 0x75, 0x6c, 0x67, 0x6d, 7 0x67, 0x7e, 0xff, 0x63, 0x66, 0x61, 0x67, 0x5b, 0x5b, 0x67, 0x67, 0x5f, 8 0x5b, 0x64, 0x5b, 0x5b, 0x55, 0x53, 0x5c, 0x5d, 0x67, 0x53, 0x63, 0x5e, 9 0xe7, 0xf5, 0x51, 0x5b, 0x5e, 0x5e, 0x67, 0x5b, 0x67, 0xff, 0x67, 0x67, 10 0xe9, 0x6e, 0x67, 0x5c, 0x60, 0x67, 0x7a, 0xff, 0xe7, 0xff, 0x58, 0x5b, 11 0x64, 0x6e, 0x67, 0x55, 0x5f, 0xff, 0xff, 0xff, 0xff, 0x56, 0x5b, 0x53, [all …]
|
/freebsd/contrib/libfido2/src/ |
H A D | u2f.c | 28 return (0); in usleep() 43 if (usleep(ms * 1000) < 0) { in delay_ms() 51 return (0); in delay_ms() 59 fido_buf_read(buf, len, sig->ptr, sig->len) < 0) { in sig_get() 65 return (0); in sig_get() 69 x5c_get(fido_blob_t *x5c, const unsigned char **buf, size_t *len) in x5c_get() argument 82 (x5c->len = (size_t)(end - *buf)) >= *len) { in x5c_get() 88 if ((x5c->ptr = calloc(1, x5c->len)) == NULL || in x5c_get() 89 fido_buf_read(buf, len, x5c->ptr, x5c->len) < 0) { in x5c_get() 94 ok = 0; in x5c_get() [all …]
|
H A D | cred.c | 26 return (0); /* ignore */ in parse_makecred_reply() 33 if (fido_blob_decode(val, &cred->authdata_raw) < 0) { in parse_makecred_reply() 46 return (0); in parse_makecred_reply() 62 memset(&f, 0, sizeof(f)); in fido_dev_make_cred_tx() 63 memset(argv, 0, sizeof(argv)); in fido_dev_make_cred_tx() 65 if (cred->cdh.ptr == NULL || cred->type == 0) { in fido_dev_make_cred_tx() 72 if ((argv[0] = fido_blob_encode(&cred->cdh)) == NULL || in fido_dev_make_cred_tx() 122 if (cbor_build_frame(cmd, argv, nitems(argv), &f) < 0 || in fido_dev_make_cred_tx() 123 fido_tx(dev, CTAP_CMD_CBOR, f.ptr, f.len, ms) < 0) { in fido_dev_make_cred_tx() 154 ms)) < 0) { in fido_dev_make_cred_rx() [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | rsa_mp_test.c | 38 "\x92\x60\xd0\x75\x0a\xe1\x17\xee\xe5\x5c\x3f\x3d\xea\xba\x74\x91" 46 "\x6a\xd6\x7b\x0f\x94\xd8\x8f\x5c\xf5\xc0\x2a\x09\x28\x21\xd8\x62" 47 "\x6e\x89\x32\xb6\x5c\x5b\xd8\xc9\x20\x49\xc2\x10\x93\x2b\x7a\xfa" 59 "\xd9\x05\x6a\x3d\x6d\x5c\xfe\x07\xdb\x1d\xaa\xbe\xe0\x22\xdb\x08" 71 "\x5c\x50\x2e\x05\xd9\xbd\xde\x72\x12\x6b\x37\x38\x69\x5e\x2d\xd1" 86 "\x2c\x51\xc4\xd0\x72\x89\x73\x5c\x61\xbe\xfd\x54\x3f\x92\x65\xde" 101 "\x58\x74\x5d\xbc\x1c\x3c\x29\x41\x49\x6c\x81\x5c\x72\xe2\xf7\xe5" 118 "\x16\x5c\x34\x9b\x61\x87\xc8\xaa\x0a\x5d\x8a\x0a\xcd\x9c\x41\xd9" 121 "\x50\xec\x5c\x66\xe4\x05"; 128 "\xda\x89\x37\x2e\xe2\xec\x47\xc5\xb8\xe3\xb4\xe3\x5c\x82\xaa\xdd" [all …]
|
H A D | acvp_test.inc | 11 #define FAIL 0 60 0x50, 0x0F, 0x05, 0x86, 0xD3, 0xAA, 0x8A, 0x48, 61 0x46, 0x63, 0x0D, 0xD7, 0xC7, 0x5D, 0x5F, 0x1D, 62 0xB2, 0xA7, 0x9B, 0xE8, 0xC8, 0xBB, 0xBE, 0x2C, 63 0x93, 0x33, 0xDC, 0xCB, 0xBB, 0x2F, 0xB3, 0xCF, 64 0x55, 0x88, 0x7A, 0x97, 0xD1, 0x75, 0x73, 0xFE, 65 0x92, 0x02, 0x5C, 0xC8, 0xE3, 0xF4, 0x35, 0x4B, 66 0x08, 0x7E, 0xF4, 0xD3, 0x7D, 0x86, 0x06, 0x92, 67 0xBA, 0x15, 0x3F, 0xCF, 0x0C, 0xC4, 0xBF, 0xBC, 71 0x1F, 0x74, 0xD6, 0x99, 0xEB, 0x1D, 0x4F, 0x26, [all …]
|
H A D | poly1305_internal_test.c | 44 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x67, 0x72, 45 0x61, 0x70, 0x68, 0x69, 0x63, 0x20, 0x46, 0x6f, 46 0x72, 0x75, 0x6d, 0x20, 0x52, 0x65, 0x73, 0x65, 47 0x61, 0x72, 0x63, 0x68, 0x20, 0x47, 0x72, 0x6f, 49 0x75, 0x70 55 0x85, 0xd6, 0xbe, 0x78, 0x57, 0x55, 0x6d, 0x33, 56 0x7f, 0x44, 0x52, 0xfe, 0x42, 0xd5, 0x06, 0xa8, 57 0x01, 0x03, 0x80, 0x8a, 0xfb, 0x0d, 0xb2, 0xfd, 58 0x4a, 0xbf, 0xf6, 0xaf, 0x41, 0x49, 0xf5, 0x1b 64 0xa8, 0x06, 0x1d, 0xc1, 0x30, 0x51, 0x36, 0xc6, [all …]
|
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | sign.c | 6 = { 0x42, 0x11, 0x51, 0xa4, 0x59, 0xfa, 0xea, 0xde, 0x3d, 0x24, 0x71, 7 0x15, 0xf9, 0x4a, 0xed, 0xae, 0x42, 0x31, 0x81, 0x24, 0x09, 0x5a, 8 0xfa, 0xbe, 0x4d, 0x14, 0x51, 0xa5, 0x59, 0xfa, 0xed, 0xee }; 18 …0x9d,0x61,0xb1,0x9d,0xef,0xfd,0x5a,0x60,0xba,0x84,0x4a,0xf4,0x92,0xec,0x2c,0xc4,0x44,0x49,0xc5,0x6… 19 …0x4c,0xcd,0x08,0x9b,0x28,0xff,0x96,0xda,0x9d,0xb6,0xc3,0x46,0xec,0x11,0x4e,0x0f,0x5b,0x8a,0x31,0x9… 20 …0xc5,0xaa,0x8d,0xf4,0x3f,0x9f,0x83,0x7b,0xed,0xb7,0x44,0x2f,0x31,0xdc,0xb7,0xb1,0x66,0xd3,0x85,0x3… 21 …0x0d,0x4a,0x05,0xb0,0x73,0x52,0xa5,0x43,0x6e,0x18,0x03,0x56,0xda,0x0a,0xe6,0xef,0xa0,0x34,0x5f,0xf… 22 …0x6d,0xf9,0x34,0x0c,0x13,0x8c,0xc1,0x88,0xb5,0xfe,0x44,0x64,0xeb,0xaa,0x3f,0x7f,0xc2,0x06,0xa2,0xd… 23 …0xb7,0x80,0x38,0x1a,0x65,0xed,0xf8,0xb7,0x8f,0x69,0x45,0xe8,0xdb,0xec,0x79,0x41,0xac,0x04,0x9f,0xd… 24 …0x78,0xae,0x9e,0xff,0xe6,0xf2,0x45,0xe9,0x24,0xa7,0xbe,0x63,0x04,0x11,0x46,0xeb,0xc6,0x70,0xdb,0xd… [all …]
|
H A D | aead_xchacha20poly1305.exp | 1 ,0x45,0x3c,0x06,0x93,0xa7,0x40,0x7f,0x04 2 ,0xff,0x4c,0x56,0xae,0xdb,0x17,0xa3,0xc0 3 ,0xa1,0xaf,0xff,0x01,0x17,0x49,0x30,0xfc 4 ,0x22,0x28,0x7c,0x33,0xdb,0xcf,0x0a,0xc8 5 ,0xb8,0x9a,0xd9,0x29,0x53,0x0a,0x1b,0xb3 6 ,0xab,0x5e,0x69,0xf2,0x4c,0x7f,0x60,0x70 7 ,0xc8,0xf8,0x40,0xc9,0xab,0xb4,0xf6,0x9f 8 ,0xbf,0xc8,0xa7,0xff,0x51,0x26,0xfa,0xee 9 ,0xbb,0xb5,0x58,0x05,0xee,0x9c,0x1c,0xf2 10 ,0xce,0x5a,0x57,0x26,0x32,0x87,0xae,0xc5 [all …]
|
/freebsd/sys/crypto/siphash/ |
H A D | siphash_test.c | 39 { 0x31, 0x0e, 0x0e, 0xdd, 0x47, 0xdb, 0x6f, 0x72, }, 40 { 0xfd, 0x6 [all...] |
/freebsd/lib/libpmc/pmu-events/arch/x86/ivybridge/ |
H A D | other.json | 3 "BriefDescription": "Unhalted core cycles when the thread is in ring 0", 4 "Counter": "0,1,2,3", 5 "CounterHTOff": "0,1,2,3,4,5,6,7", 6 "EventCode": "0x5C", 8 "PublicDescription": "Unhalted core cycles when the thread is in ring 0.", 10 "UMask": "0x1" 13 "BriefDescription": "Number of intervals between processor halts while thread is in ring 0", 14 "Counter": "0,1,2,3", 15 "CounterHTOff": "0,1,2,3,4,5,6,7", 18 "EventCode": "0x5C", [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/ivytown/ |
H A D | other.json | 3 "BriefDescription": "Unhalted core cycles when the thread is in ring 0", 4 "Counter": "0,1,2,3", 5 "CounterHTOff": "0,1,2,3,4,5,6,7", 6 "EventCode": "0x5C", 8 "PublicDescription": "Unhalted core cycles when the thread is in ring 0.", 10 "UMask": "0x1" 13 "BriefDescription": "Number of intervals between processor halts while thread is in ring 0", 14 "Counter": "0,1,2,3", 15 "CounterHTOff": "0,1,2,3,4,5,6,7", 18 "EventCode": "0x5C", [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/haswell/ |
H A D | other.json | 3 "BriefDescription": "Unhalted core cycles when the thread is in ring 0", 4 "Counter": "0,1,2,3", 5 "CounterHTOff": "0,1,2,3,4,5,6,7", 6 "EventCode": "0x5C", 8 "PublicDescription": "Unhalted core cycles when the thread is in ring 0.", 10 "UMask": "0x1" 13 … "BriefDescription": "Number of intervals between processor halts while thread is in ring 0.", 14 "Counter": "0,1,2,3", 15 "CounterHTOff": "0,1,2,3,4,5,6,7", 18 "EventCode": "0x5C", [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/haswellx/ |
H A D | other.json | 3 "BriefDescription": "Unhalted core cycles when the thread is in ring 0", 4 "Counter": "0,1,2,3", 5 "CounterHTOff": "0,1,2,3,4,5,6,7", 6 "EventCode": "0x5C", 8 "PublicDescription": "Unhalted core cycles when the thread is in ring 0.", 10 "UMask": "0x1" 13 … "BriefDescription": "Number of intervals between processor halts while thread is in ring 0.", 14 "Counter": "0,1,2,3", 15 "CounterHTOff": "0,1,2,3,4,5,6,7", 18 "EventCode": "0x5C", [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/broadwellx/ |
H A D | other.json | 3 "BriefDescription": "Unhalted core cycles when the thread is in ring 0", 4 "Counter": "0,1,2,3", 5 "CounterHTOff": "0,1,2,3,4,5,6,7", 6 "EventCode": "0x5C", 8 …s event counts the unhalted core cycles during which the thread is in the ring 0 privileged mode.", 10 "UMask": "0x1" 13 "BriefDescription": "Number of intervals between processor halts while thread is in ring 0", 14 "Counter": "0,1,2,3", 15 "CounterHTOff": "0,1,2,3,4,5,6,7", 18 "EventCode": "0x5C", [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/broadwell/ |
H A D | other.json | 3 "BriefDescription": "Unhalted core cycles when the thread is in ring 0", 4 "Counter": "0,1,2,3", 5 "CounterHTOff": "0,1,2,3,4,5,6,7", 6 "EventCode": "0x5C", 8 …s event counts the unhalted core cycles during which the thread is in the ring 0 privileged mode.", 10 "UMask": "0x1" 13 "BriefDescription": "Number of intervals between processor halts while thread is in ring 0", 14 "Counter": "0,1,2,3", 15 "CounterHTOff": "0,1,2,3,4,5,6,7", 18 "EventCode": "0x5C", [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/broadwellde/ |
H A D | other.json | 3 "BriefDescription": "Unhalted core cycles when the thread is in ring 0", 4 "Counter": "0,1,2,3", 5 "CounterHTOff": "0,1,2,3,4,5,6,7", 6 "EventCode": "0x5C", 8 …s event counts the unhalted core cycles during which the thread is in the ring 0 privileged mode.", 10 "UMask": "0x1" 13 "BriefDescription": "Number of intervals between processor halts while thread is in ring 0", 14 "Counter": "0,1,2,3", 15 "CounterHTOff": "0,1,2,3,4,5,6,7", 18 "EventCode": "0x5C", [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/jaketown/ |
H A D | other.json | 3 "BriefDescription": "Unhalted core cycles when the thread is in ring 0.", 4 "Counter": "0,1,2,3", 5 "CounterHTOff": "0,1,2,3,4,5,6,7", 6 "EventCode": "0x5C", 9 "UMask": "0x1" 12 … "BriefDescription": "Number of intervals between processor halts while thread is in ring 0.", 13 "Counter": "0,1,2,3", 14 "CounterHTOff": "0,1,2,3,4,5,6,7", 17 "EventCode": "0x5C", 20 "UMask": "0x1" [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/sandybridge/ |
H A D | other.json | 3 "BriefDescription": "Unhalted core cycles when the thread is in ring 0.", 4 "Counter": "0,1,2,3", 5 "CounterHTOff": "0,1,2,3,4,5,6,7", 6 "EventCode": "0x5C", 9 "UMask": "0x1" 12 … "BriefDescription": "Number of intervals between processor halts while thread is in ring 0.", 13 "Counter": "0,1,2,3", 14 "CounterHTOff": "0,1,2,3,4,5,6,7", 17 "EventCode": "0x5C", 20 "UMask": "0x1" [all …]
|
/freebsd/sys/dev/aic7xxx/ |
H A D | aic79xx_seq.h | 9 0xff, 0x02, 0x06, 0x78, 10 0x00, 0xea, 0x6e, 0x59, 11 0x01, 0xea, 0x04, 0x30, 12 0xff, 0x04, 0x0c, 0x78, 13 0x19, 0xea, 0x6e, 0x59, 14 0x19, 0xea, 0x04, 0x00, 15 0x33, 0xea, 0x68, 0x59, 16 0x33, 0xea, 0x00, 0x00, 17 0x60, 0x3a, 0x3a, 0x68, 18 0x04, 0x4d, 0x35, 0x78, [all …]
|
/freebsd/crypto/libecc/include/libecc/curves/known/ |
H A D | ec_params_brainpoolp256r1.h | 24 0xA9, 0xFB, 0x57, 0xDB, 0xA1, 0xEE, 0xA9, 0xBC, 25 0x3E, 0x66, 0x0A, 0x90, 0x9D, 0x83, 0x8D, 0x72, 26 0x6E, 0x3B, 0xF6, 0x23, 0xD5, 0x26, 0x20, 0x28, 27 0x20, 0x13, 0x48, 0x1D, 0x1F, 0x6E, 0x53, 0x77 33 static const u8 brainpoolp256r1_p_bitlen[] = { 0x01, 0x00 }; 38 0x56, 0x04, 0xa8, 0x24, 0x5e, 0x11, 0x56, 0x43, 39 0xc1, 0x99, 0xf5, 0x6f, 0x62, 0x7c, 0x72, 0x8d, 40 0x91, 0xc4, 0x09, 0xdc, 0x2a, 0xd9, 0xdf, 0xd7, 41 0xdf, 0xec, 0xb7, 0xe2, 0xe0, 0x91, 0xac, 0x89 47 0x47, 0x17, 0xaa, 0x21, 0xe5, 0x95, 0x7f, 0xa8, [all …]
|
H A D | ec_params_secp224r1.h | 24 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 25 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 26 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 27 0x00, 0x00, 0x00, 0x01 33 static const u8 secp224r1_p_bitlen[] = { 0xE0 }; 39 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 40 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 41 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 42 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 46 0x20 [all …]
|
/freebsd/crypto/krb5/src/lib/crypto/crypto_tests/ |
H A D | t_decrypt.c | 44 { KV5M_DATA, 0, "", }, 0, 95 "\x14\xA8\x64\xDA\x80\x73\xA9\xA9\x5C\x4B\xA2\xBC" } 100 { KV5M_DATA, 0, "", }, 0, 122 "\x0F\x9A\xD1\x21\xD9\x9D\x4A\x09\x44\x8E\x4F\x1F\x71\x8C\x4F\x5C" 150 { KV5M_DATA, 0, "", }, 0, 180 "\x39\xF2\x5C\xD4\xF0\xD4\x1B\x2B\x2D\x9D\x30\x0F\xCB\x29\x81\xCB" }, 200 { KV5M_DATA, 0, "", }, 0, 202 "\x5A\x5C\x0F\x0B\xA5\x4F\x38\x28\xB2\x19\x5E\x66\xCA\x24\xA2\x89" }, 250 { KV5M_DATA, 0, "", }, 0, 276 "\xD5\xFE\xA2\x18\x53\xF6\x47\x8D\xA7\x06\x5C\xAE\xF4\x1F\xD4\x54" [all …]
|