Searched refs:cc (Results 1 - 25 of 630) sorted by relevance

1234567891011>>

/freebsd-head/contrib/bearssl/src/ssl/
H A Dssl_engine_default_ec.c29 br_ssl_engine_set_default_ec(br_ssl_engine_context *cc) argument
32 br_ssl_engine_set_ec(cc, &br_ec_all_m15);
34 br_ssl_engine_set_ec(cc, &br_ec_all_m31);
H A Dssl_server.c29 br_ssl_server_zero(br_ssl_server_context *cc) argument
37 memset(cc, 0, sizeof *cc);
42 br_ssl_server_reset(br_ssl_server_context *cc) argument
44 br_ssl_engine_set_buffer(&cc->eng, NULL, 0, 0);
45 if (!br_ssl_engine_init_rand(&cc->eng)) {
48 cc->eng.reneg = 0;
49 br_ssl_engine_hs_reset(&cc->eng,
51 return br_ssl_engine_last_error(&cc->eng) == BR_ERR_OK;
H A Dssl_client_default_rsapub.c29 br_ssl_client_set_default_rsapub(br_ssl_client_context *cc) argument
31 br_ssl_client_set_rsapub(cc, br_rsa_public_get_default());
H A Dssl_engine_default_rsavrfy.c29 br_ssl_engine_set_default_rsavrfy(br_ssl_engine_context *cc) argument
31 br_ssl_engine_set_rsavrfy(cc, br_rsa_pkcs1_vrfy_get_default());
H A Dssl_engine_default_ecdsa.c29 br_ssl_engine_set_default_ecdsa(br_ssl_engine_context *cc) argument
32 br_ssl_engine_set_ec(cc, &br_ec_all_m15);
33 br_ssl_engine_set_ecdsa(cc, &br_ecdsa_i15_vrfy_asn1);
35 br_ssl_engine_set_ec(cc, &br_ec_all_m31);
36 br_ssl_engine_set_ecdsa(cc, &br_ecdsa_i31_vrfy_asn1);
H A Dssl_engine_default_descbc.c29 br_ssl_engine_set_default_des_cbc(br_ssl_engine_context *cc) argument
31 br_ssl_engine_set_cbc(cc,
34 br_ssl_engine_set_des_cbc(cc,
H A Dssl_client.c29 br_ssl_client_zero(br_ssl_client_context *cc) argument
37 memset(cc, 0, sizeof *cc);
42 br_ssl_client_reset(br_ssl_client_context *cc, argument
47 br_ssl_engine_set_buffer(&cc->eng, NULL, 0, 0);
48 cc->eng.version_out = cc->eng.version_min;
50 br_ssl_client_forget_session(cc);
52 if (!br_ssl_engine_init_rand(&cc->eng)) {
62 cc
[all...]
H A Dssl_engine_default_aesgcm.c29 br_ssl_engine_set_default_aes_gcm(br_ssl_engine_context *cc) argument
36 br_ssl_engine_set_gcm(cc,
42 br_ssl_engine_set_aes_ctr(cc, ictr);
45 br_ssl_engine_set_aes_ctr(cc, &br_aes_ct64_ctr_vtable);
47 br_ssl_engine_set_aes_ctr(cc, &br_aes_ct_ctr_vtable);
53 br_ssl_engine_set_aes_ctr(cc, ictr);
56 br_ssl_engine_set_aes_ctr(cc, &br_aes_ct64_ctr_vtable);
58 br_ssl_engine_set_aes_ctr(cc, &br_aes_ct_ctr_vtable);
63 br_ssl_engine_set_aes_ctr(cc, &br_aes_ct64_ctr_vtable);
65 br_ssl_engine_set_aes_ctr(cc,
[all...]
H A Dssl_engine_default_aesccm.c29 br_ssl_engine_set_default_aes_ccm(br_ssl_engine_context *cc) argument
35 br_ssl_engine_set_ccm(cc,
41 br_ssl_engine_set_aes_ctrcbc(cc, ictrcbc);
44 br_ssl_engine_set_aes_ctrcbc(cc, &br_aes_ct64_ctrcbc_vtable);
46 br_ssl_engine_set_aes_ctrcbc(cc, &br_aes_ct_ctrcbc_vtable);
52 br_ssl_engine_set_aes_ctrcbc(cc, ictrcbc);
55 br_ssl_engine_set_aes_ctrcbc(cc, &br_aes_ct64_ctrcbc_vtable);
57 br_ssl_engine_set_aes_ctrcbc(cc, &br_aes_ct_ctrcbc_vtable);
62 br_ssl_engine_set_aes_ctrcbc(cc, &br_aes_ct64_ctrcbc_vtable);
64 br_ssl_engine_set_aes_ctrcbc(cc,
[all...]
H A Dssl_lru.c96 static inline uint32_t get_ ## name(br_ssl_session_cache_lru *cc, uint32_t x) \
98 return br_dec32be(cc->store + x + (off)); \
100 static inline void set_ ## name(br_ssl_session_cache_lru *cc, \
103 br_enc32be(cc->store + x + (off), val); \
126 mask_id(br_ssl_session_cache_lru *cc, argument
133 br_hmac_key_init(&hkc, cc->hash, cc->index_key, sizeof cc->index_key);
148 find_node(br_ssl_session_cache_lru *cc, const unsigned char *id, argument
153 x = cc
195 find_replacement_node(br_ssl_session_cache_lru *cc, uint32_t x, uint32_t *al) argument
238 set_link(br_ssl_session_cache_lru *cc, uint32_t alx, uint32_t x) argument
252 remove_node(br_ssl_session_cache_lru *cc, uint32_t x) argument
326 br_ssl_session_cache_lru *cc; local
432 br_ssl_session_cache_lru *cc; local
494 br_ssl_session_cache_lru_init(br_ssl_session_cache_lru *cc, unsigned char *store, size_t store_len) argument
508 br_ssl_session_cache_lru_forget( br_ssl_session_cache_lru *cc, const unsigned char *id) argument
[all...]
H A Dssl_server_mine2c.c29 br_ssl_server_init_mine2c(br_ssl_server_context *cc, argument
40 br_ssl_server_zero(cc);
41 br_ssl_engine_set_versions(&cc->eng, BR_TLS12, BR_TLS12);
46 br_ssl_engine_set_suites(&cc->eng, suites,
48 br_ssl_engine_set_ec(&cc->eng, &br_ec_all_m15);
54 br_ssl_server_set_single_rsa(cc, chain, chain_len, sk,
60 br_ssl_engine_set_hash(&cc->eng, br_sha256_ID, &br_sha256_vtable);
65 br_ssl_engine_set_prf_sha256(&cc->eng, &br_tls12_sha256_prf);
70 br_ssl_engine_set_default_chapol(&cc->eng);
H A Dssl_server_mine2g.c29 br_ssl_server_init_mine2g(br_ssl_server_context *cc, argument
40 br_ssl_server_zero(cc);
41 br_ssl_engine_set_versions(&cc->eng, BR_TLS12, BR_TLS12);
46 br_ssl_engine_set_suites(&cc->eng, suites,
48 br_ssl_engine_set_ec(&cc->eng, &br_ec_all_m15);
54 br_ssl_server_set_single_rsa(cc, chain, chain_len, sk,
60 br_ssl_engine_set_hash(&cc->eng, br_sha256_ID, &br_sha256_vtable);
65 br_ssl_engine_set_prf_sha256(&cc->eng, &br_tls12_sha256_prf);
70 br_ssl_engine_set_default_aes_gcm(&cc->eng);
H A Dssl_server_minf2c.c29 br_ssl_server_init_minf2c(br_ssl_server_context *cc, argument
40 br_ssl_server_zero(cc);
41 br_ssl_engine_set_versions(&cc->eng, BR_TLS12, BR_TLS12);
46 br_ssl_engine_set_suites(&cc->eng, suites,
48 br_ssl_engine_set_ec(&cc->eng, &br_ec_all_m15);
54 br_ssl_server_set_single_ec(cc, chain, chain_len, sk,
60 br_ssl_engine_set_hash(&cc->eng, br_sha256_ID, &br_sha256_vtable);
65 br_ssl_engine_set_prf_sha256(&cc->eng, &br_tls12_sha256_prf);
70 br_ssl_engine_set_default_chapol(&cc->eng);
H A Dssl_server_minf2g.c29 br_ssl_server_init_minf2g(br_ssl_server_context *cc, argument
40 br_ssl_server_zero(cc);
41 br_ssl_engine_set_versions(&cc->eng, BR_TLS12, BR_TLS12);
46 br_ssl_engine_set_suites(&cc->eng, suites,
48 br_ssl_engine_set_ec(&cc->eng, &br_ec_all_m15);
54 br_ssl_server_set_single_ec(cc, chain, chain_len, sk,
60 br_ssl_engine_set_hash(&cc->eng, br_sha256_ID, &br_sha256_vtable);
65 br_ssl_engine_set_prf_sha256(&cc->eng, &br_tls12_sha256_prf);
70 br_ssl_engine_set_default_aes_gcm(&cc->eng);
H A Dssl_server_minr2g.c29 br_ssl_server_init_minr2g(br_ssl_server_context *cc, argument
40 br_ssl_server_zero(cc);
41 br_ssl_engine_set_versions(&cc->eng, BR_TLS12, BR_TLS12);
46 br_ssl_engine_set_suites(&cc->eng, suites,
53 br_ssl_server_set_single_rsa(cc, chain, chain_len, sk,
59 br_ssl_engine_set_hash(&cc->eng, br_sha256_ID, &br_sha256_vtable);
64 br_ssl_engine_set_prf_sha256(&cc->eng, &br_tls12_sha256_prf);
69 br_ssl_engine_set_default_aes_gcm(&cc->eng);
H A Dssl_server_minu2g.c29 br_ssl_server_init_minu2g(br_ssl_server_context *cc, argument
40 br_ssl_server_zero(cc);
41 br_ssl_engine_set_versions(&cc->eng, BR_TLS12, BR_TLS12);
46 br_ssl_engine_set_suites(&cc->eng, suites,
53 br_ssl_server_set_single_ec(cc, chain, chain_len, sk,
59 br_ssl_engine_set_hash(&cc->eng, br_sha256_ID, &br_sha256_vtable);
64 br_ssl_engine_set_prf_sha256(&cc->eng, &br_tls12_sha256_prf);
69 br_ssl_engine_set_default_aes_gcm(&cc->eng);
H A Dssl_server_minv2g.c29 br_ssl_server_init_minv2g(br_ssl_server_context *cc, argument
40 br_ssl_server_zero(cc);
41 br_ssl_engine_set_versions(&cc->eng, BR_TLS12, BR_TLS12);
46 br_ssl_engine_set_suites(&cc->eng, suites,
53 br_ssl_server_set_single_ec(cc, chain, chain_len, sk,
59 br_ssl_engine_set_hash(&cc->eng, br_sha256_ID, &br_sha256_vtable);
64 br_ssl_engine_set_prf_sha256(&cc->eng, &br_tls12_sha256_prf);
69 br_ssl_engine_set_default_aes_gcm(&cc->eng);
H A Dssl_server_full_ec.c29 br_ssl_server_init_full_ec(br_ssl_server_context *cc, argument
99 br_ssl_server_zero(cc);
100 br_ssl_engine_set_versions(&cc->eng, BR_TLS10, BR_TLS12);
105 br_ssl_engine_set_suites(&cc->eng, suites,
107 br_ssl_engine_set_default_ec(&cc->eng);
113 br_ssl_server_set_single_ec(cc, chain, chain_len, sk,
116 br_ssl_engine_get_ec(&cc->eng),
131 br_ssl_engine_set_hash(&cc->eng, id, hc);
137 br_ssl_engine_set_prf10(&cc->eng, &br_tls10_prf);
138 br_ssl_engine_set_prf_sha256(&cc
[all...]
H A Dssl_engine_default_chapol.c29 br_ssl_engine_set_default_chapol(br_ssl_engine_context *cc) argument
38 br_ssl_engine_set_chapol(cc,
44 br_ssl_engine_set_chacha20(cc, bc);
47 br_ssl_engine_set_chacha20(cc, &br_chacha20_ct_run);
54 br_ssl_engine_set_poly1305(cc, bp);
58 br_ssl_engine_set_poly1305(cc, &br_poly1305_ctmul32_run);
60 br_ssl_engine_set_poly1305(cc, &br_poly1305_ctmul_run);
/freebsd-head/contrib/bearssl/src/symcipher/
H A Daes_pwr8_cbcenc.c43 long cc; local
51 cc = 0;
57 lxvw4x(32, %[cc], %[sk])
58 addi(%[cc], %[cc], 16)
59 lxvw4x(33, %[cc], %[sk])
60 addi(%[cc], %[cc], 16)
61 lxvw4x(34, %[cc], %[sk])
62 addi(%[cc],
147 long cc; local
257 long cc; local
[all...]
/freebsd-head/usr.bin/dtc/
H A DMakefile4 SRCS= dtc.cc input_buffer.cc string.cc dtb.cc fdt.cc checking.cc
/freebsd-head/lib/libcxxrt/
H A DMakefile14 terminate.cc\
15 dynamic_cast.cc\
16 memory.cc\
17 auxhelper.cc\
18 exception.cc\
19 stdexcept.cc\
20 typeinfo.cc\
21 guard.cc
/freebsd-head/contrib/bearssl/samples/
H A Dcustom_profile.c47 example_client_profile(br_ssl_client_context *cc
99 br_ssl_client_zero(cc);
108 br_ssl_engine_set_versions(&cc->eng, BR_TLS10, BR_TLS12);
122 br_ssl_engine_set_prf10(&cc->eng, &br_tls10_prf);
123 br_ssl_engine_set_prf_sha256(&cc->eng, &br_tls12_sha256_prf);
124 br_ssl_engine_set_prf_sha384(&cc->eng, &br_tls12_sha384_prf);
152 br_ssl_engine_set_hash(&cc->eng, br_md5_ID, &br_md5_vtable);
153 br_ssl_engine_set_hash(&cc->eng, br_sha1_ID, &br_sha1_vtable);
154 br_ssl_engine_set_hash(&cc->eng, br_sha224_ID, &br_sha224_vtable);
155 br_ssl_engine_set_hash(&cc
457 example_server_profile(br_ssl_server_context *cc, const br_x509_certificate *chain, size_t chain_len, const br_rsa_private_key *sk) argument
[all...]
/freebsd-head/tests/sys/capsicum/
H A DMakefile19 capsicum-test-main.cc \
20 capsicum-test.cc \
21 capability-fd.cc \
22 fexecve.cc \
23 procdesc.cc \
24 capmode.cc \
25 fcntl.cc \
26 ioctl.cc \
27 openat.cc \
28 sysctl.cc \
[all...]
/freebsd-head/contrib/bearssl/src/hash/
H A Dmd5sha1.c29 br_md5sha1_init(br_md5sha1_context *cc) argument
31 cc->vtable = &br_md5sha1_vtable;
32 memcpy(cc->val_md5, br_md5_IV, sizeof cc->val_md5);
33 memcpy(cc->val_sha1, br_sha1_IV, sizeof cc->val_sha1);
34 cc->count = 0;
39 br_md5sha1_update(br_md5sha1_context *cc, const void *data, size_t len) argument
45 ptr = (size_t)cc->count & 63;
53 memcpy(cc
68 br_md5sha1_out(const br_md5sha1_context *cc, void *dst) argument
103 br_md5sha1_state(const br_md5sha1_context *cc, void *dst) argument
115 br_md5sha1_set_state(br_md5sha1_context *cc, const void *stb, uint64_t count) argument
[all...]

Completed in 104 milliseconds

1234567891011>>