/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_virtual.c | 35 return ((a->vtable->archive_filter_code)(a, n)); in archive_filter_code() 41 return ((a->vtable->archive_filter_count)(a)); in archive_filter_count() 47 return ((a->vtable->archive_filter_name)(a, n)); in archive_filter_name() 53 return ((a->vtable->archive_filter_bytes)(a, n)); in archive_filter_bytes() 61 return ((a->vtable->archive_free)(a)); in archive_free() 67 return ((a->vtable->archive_close)(a)); in archive_write_close() 73 return ((a->vtable->archive_close)(a)); in archive_read_close() 117 return ((a->vtable->archive_write_header)(a, entry)); in archive_write_header() 123 return ((a->vtable->archive_write_finish_entry)(a)); in archive_write_finish_entry() 129 return ((a->vtable in archive_write_data() [all...] |
/freebsd/contrib/bearssl/src/mac/ |
H A D | hmac.c | 64 hc.vtable = dig; in br_hmac_key_init() 66 dig->init(&hc.vtable); in br_hmac_key_init() 67 dig->update(&hc.vtable, key, key_len); in br_hmac_key_init() 68 dig->out(&hc.vtable, kbuf); in br_hmac_key_init() 72 process_key(&hc.vtable, kc->ksi, key, key_len, 0x36); in br_hmac_key_init() 73 process_key(&hc.vtable, kc->kso, key, key_len, 0x5C); in br_hmac_key_init() 86 dig->init(&ctx->dig.vtable); in br_hmac_init() 87 dig->set_state(&ctx->dig.vtable, kc->ksi, (uint64_t)blen); in br_hmac_init() 100 ctx->dig.vtable->update(&ctx->dig.vtable, data, len); in br_hmac_update() 112 dig = ctx->dig.vtable; in br_hmac_out() [all …]
|
H A D | hmac_ct.c | 82 dig = hc.vtable; in br_hmac_outCT() 94 count = dig->state(&hc.vtable, tmp1); in br_hmac_outCT() 107 dig->update(&hc.vtable, data, zlen); in br_hmac_outCT() 177 dig->update(&hc.vtable, x, 1); in br_hmac_outCT() 179 dig->state(&hc.vtable, tmp1); in br_hmac_outCT() 187 dig->init(&hc.vtable); in br_hmac_outCT() 188 dig->set_state(&hc.vtable, ctx->kso, (uint64_t)bs); in br_hmac_outCT() 189 dig->update(&hc.vtable, tmp2, hlen); in br_hmac_outCT() 190 dig->out(&hc.vtable, tmp2); in br_hmac_outCT()
|
/freebsd/contrib/bearssl/src/rand/ |
H A D | aesctr_drbg.c | 35 ctx->vtable = &br_aesctr_drbg_vtable; in br_aesctr_drbg_init() 37 aesctr->init(&ctx->sk.vtable, tmp, 16); in br_aesctr_drbg_init() 80 ctx->cc = ctx->sk.vtable->run(&ctx->sk.vtable, in br_aesctr_drbg_generate() 136 ctx->sk.vtable->run(&ctx->sk.vtable, iv, 0xFFFFFFFF, s, 16); in br_aesctr_drbg_update() 172 ctx->sk.vtable->init(&ctx->sk.vtable, tmp, 32); in br_aesctr_drbg_update() 179 ctx->sk.vtable->run(&ctx->sk.vtable, iv, in br_aesctr_drbg_update() 184 ctx->sk.vtable->run(&ctx->sk.vtable, iv, in br_aesctr_drbg_update() 193 ctx->sk.vtable->init(&ctx->sk.vtable, H, 16); in br_aesctr_drbg_update()
|
/freebsd/contrib/bearssl/inc/ |
H A D | bearssl_block.h | 711 const br_block_cbcenc_class *vtable; member 726 const br_block_cbcdec_class *vtable; member 742 const br_block_ctr_class *vtable; member 758 const br_block_ctrcbc_class *vtable; member 931 const br_block_cbcenc_class *vtable; member 946 const br_block_cbcdec_class *vtable; member 962 const br_block_ctr_class *vtable; member 978 const br_block_ctrcbc_class *vtable; member 1150 const br_block_cbcenc_class *vtable; member 1165 const br_block_cbcdec_class *vtable; member [all …]
|
H A D | bearssl_hash.h | 393 const br_hash_class *vtable; member 488 const br_hash_class *vtable; member 583 const br_hash_class *vtable; member 680 const br_hash_class *vtable; member 786 const br_hash_class *vtable; member 883 const br_hash_class *vtable; member 999 const br_hash_class *vtable; member 1078 const br_hash_class *vtable; member
|
H A D | bearssl_ssl.h | 350 const br_sslrec_out_class *vtable; member 445 const br_sslrec_in_cbc_class *vtable; member 449 const br_block_cbcdec_class *vtable; member 474 const br_sslrec_out_cbc_class *vtable; member 478 const br_block_cbcenc_class *vtable; member 578 } vtable; member 582 const br_block_ctr_class *vtable; member 681 } vtable; member 783 } vtable; member 787 const br_block_ctrcbc_class *vtable; member [all …]
|
/freebsd/lib/libsecureboot/ |
H A D | vets.c | 238 mc.vtable->start_chain(&mc.vtable, NULL); in x509_cn_get() 239 mc.vtable->start_cert(&mc.vtable, xc->data_len); in x509_cn_get() 240 mc.vtable->append(&mc.vtable, xc->data, xc->data_len); in x509_cn_get() 241 mc.vtable->end_cert(&mc.vtable); in x509_cn_get() 243 err = mc.vtable->end_chain(&mc.vtable); in x509_cn_get() 545 mc.vtable->start_chain(&mc.vtable, NULL); in verify_signer_xcs() 548 mc.vtable->start_cert(&mc.vtable, xc->data_len); in verify_signer_xcs() 549 mc.vtable->append(&mc.vtable, xc->data, xc->data_len); in verify_signer_xcs() 550 mc.vtable->end_cert(&mc.vtable); in verify_signer_xcs() 561 err = mc.vtable->end_chain(&mc.vtable); in verify_signer_xcs() [all …]
|
/freebsd/contrib/bearssl/src/hash/ |
H A D | multihash.c | 32 const br_hash_class *vtable; member 97 hc->init(&g.vtable); in br_multihash_init() 98 hc->state(&g.vtable, in br_multihash_init() 138 hc->set_state(&g.vtable, in br_multihash_update() 140 hc->update(&g.vtable, ctx->buf, 128); in br_multihash_update() 141 hc->state(&g.vtable, state); in br_multihash_update() 162 hc->set_state(&g.vtable, state, ctx->count & ~(uint64_t)127); in br_multihash_out() 163 hc->update(&g.vtable, ctx->buf, ctx->count & (uint64_t)127); in br_multihash_out() 164 hc->out(&g.vtable, dst); in br_multihash_out()
|
H A D | mgf1.c | 43 hc.vtable = dig; in br_mgf1_xor() 44 dig->init(&hc.vtable); in br_mgf1_xor() 45 dig->update(&hc.vtable, seed, seed_len); in br_mgf1_xor() 47 dig->update(&hc.vtable, tmp, 4); in br_mgf1_xor() 48 dig->out(&hc.vtable, tmp); in br_mgf1_xor()
|
/freebsd/contrib/bearssl/tools/ |
H A D | verify.c | 270 mc.vtable->start_chain(&mc.vtable, sni); in do_verify() 275 mc.vtable->start_cert(&mc.vtable, xc->data_len); in do_verify() 276 mc.vtable->append(&mc.vtable, xc->data, xc->data_len); in do_verify() 277 mc.vtable->end_cert(&mc.vtable); in do_verify() 279 err = mc.vtable->end_chain(&mc.vtable); in do_verify() 280 tpk = mc.vtable->get_pkey(&mc.vtable, &usages); in do_verify()
|
/freebsd/contrib/bearssl/src/ssl/ |
H A D | ssl_rec_cbc.c | 35 cc->vtable = &br_sslrec_in_cbc_vtable; in in_cbc_init() 37 bc_impl->init(&cc->bc.vtable, bc_key, bc_key_len); in in_cbc_init() 66 blen = cc->bc.vtable->block_size; in cbc_check_length() 115 blen = cc->bc.vtable->block_size; in cbc_decrypt() 124 cc->bc.vtable->run(&cc->bc.vtable, cc->iv, data, len); in cbc_decrypt() 275 cc->vtable = &br_sslrec_out_cbc_vtable; in out_cbc_init() 277 bc_impl->init(&cc->bc.vtable, bc_key, bc_key_len); in out_cbc_init() 295 blen = cc->bc.vtable->block_size; in cbc_max_plaintext() 320 blen = cc->bc.vtable->block_size; in cbc_encrypt() 412 cc->bc.vtable->run(&cc->bc.vtable, cc->iv, buf, len); in cbc_encrypt()
|
H A D | ssl_rec_gcm.c | 42 bc_impl->init(&cc->bc.vtable, key, key_len); in gen_gcm_init() 47 bc_impl->run(&cc->bc.vtable, tmp, 0, cc->h, sizeof cc->h); in gen_gcm_init() 57 cc->vtable.in = &br_sslrec_in_gcm_vtable; in in_gcm_init() 118 cc->bc.vtable->run(&cc->bc.vtable, iv, 2, data, len); in do_ctr() 119 cc->bc.vtable->run(&cc->bc.vtable, iv, 1, xortag, 16); in do_ctr() 175 cc->vtable.out = &br_sslrec_out_gcm_vtable; in out_gcm_init()
|
H A D | ssl_engine.c | 318 rc->out.vtable->max_plaintext(&rc->out.vtable, &a, &b); in make_ready_out() 449 rc->out.vtable = &br_sslrec_out_clear_vtable; in br_ssl_engine_set_buffers_bidi() 523 if (sd != 0 && sd(&cc->rng.vtable)) { in br_ssl_engine_init_rand() 681 if (!rc->in.vtable->check_length( in recvrec_ack() 682 &rc->in.vtable, rlen)) in recvrec_ack() 743 pbuf = rc->in.vtable->decrypt(&rc->in.vtable, in recvrec_ack() 851 buf = rc->out.vtable->encrypt(&rc->out.vtable, in sendpld_flush() 1409 cc->icbc_in->init(&cc->in.cbc.vtable, in br_ssl_engine_switch_cbc_in() 1452 cc->icbc_out->init(&cc->out.cbc.vtable, in br_ssl_engine_switch_cbc_out() 1474 cc->igcm_in->init(&cc->in.gcm.vtable.in, in br_ssl_engine_switch_gcm_in() [all …]
|
H A D | ssl_rec_ccm.c | 39 bc_impl->init(&cc->bc.vtable, key, key_len); in gen_ccm_init() 50 cc->vtable.in = &br_sslrec_in_ccm_vtable; in in_ccm_init() 96 br_ccm_init(&zc, &cc->bc.vtable); in ccm_decrypt() 130 cc->vtable.out = &br_sslrec_out_ccm_vtable; in out_ccm_init() 178 br_ccm_init(&zc, &cc->bc.vtable); in ccm_encrypt()
|
/freebsd/contrib/bearssl/src/rsa/ |
H A D | rsa_pss_sig_pad.c | 74 hf_data->init(&hc.vtable); in br_rsa_pss_sig_pad() 76 hf_data->update(&hc.vtable, seed, 8); in br_rsa_pss_sig_pad() 77 hf_data->update(&hc.vtable, hash, hash_len); in br_rsa_pss_sig_pad() 78 hf_data->update(&hc.vtable, salt, salt_len); in br_rsa_pss_sig_pad() 79 hf_data->out(&hc.vtable, seed); in br_rsa_pss_sig_pad()
|
H A D | rsa_pss_sig_unpad.c | 105 hf_data->init(&hc.vtable); in br_rsa_pss_sig_unpad() 107 hf_data->update(&hc.vtable, tmp, 8); in br_rsa_pss_sig_unpad() 108 hf_data->update(&hc.vtable, hash, hash_len); in br_rsa_pss_sig_unpad() 109 hf_data->update(&hc.vtable, salt, salt_len); in br_rsa_pss_sig_unpad() 110 hf_data->out(&hc.vtable, tmp); in br_rsa_pss_sig_unpad()
|
H A D | rsa_oaep_pad.c | 37 hc.vtable = dig; in hash_data() 38 dig->init(&hc.vtable); in hash_data() 39 dig->update(&hc.vtable, src, len); in hash_data() 40 dig->out(&hc.vtable, dst); in hash_data()
|
H A D | rsa_oaep_unpad.c | 40 hc.vtable = dig; in xor_hash_data() 41 dig->init(&hc.vtable); in xor_hash_data() 42 dig->update(&hc.vtable, src, len); in xor_hash_data() 43 dig->out(&hc.vtable, tmp); in xor_hash_data()
|
/freebsd/usr.bin/tip/tip/ |
H A D | cmds.c | 751 if (vtable[BEAUTIFY].v_access&CHANGED) { in variable() 752 vtable[BEAUTIFY].v_access &= ~CHANGED; in variable() 755 if (vtable[SCRIPT].v_access&CHANGED) { in variable() 756 vtable[SCRIPT].v_access &= ~CHANGED; in variable() 762 if (vtable[RECORD].v_access&CHANGED) in variable() 763 vtable[RECORD].v_access &= ~CHANGED; in variable() 765 if (vtable[RECORD].v_access&CHANGED) { in variable() 766 vtable[RECORD].v_access &= ~CHANGED; in variable() 770 if (vtable[TAND].v_access&CHANGED) { in variable() 771 vtable[TAND].v_access &= ~CHANGED; in variable() [all …]
|
/freebsd/lib/libcxxrt/ |
H A D | Version.map | 44 "vtable for __cxxabiv1::__array_type_info"; 45 "vtable for __cxxabiv1::__class_type_info"; 46 "vtable for __cxxabiv1::__enum_type_info"; 47 "vtable for __cxxabiv1::__function_type_info"; 48 "vtable for __cxxabiv1::__fundamental_type_info"; 49 "vtable for __cxxabiv1::__pbase_type_info"; 50 "vtable for __cxxabiv1::__pointer_to_member_type_info"; 51 "vtable for __cxxabiv1::__pointer_type_info"; 52 "vtable for __cxxabiv1::__si_class_type_info"; 53 "vtable for __cxxabiv1::__vmi_class_type_info"; [all …]
|
H A D | Version.map.arm | 45 "vtable for __cxxabiv1::__array_type_info"; 46 "vtable for __cxxabiv1::__class_type_info"; 47 "vtable for __cxxabiv1::__enum_type_info"; 48 "vtable for __cxxabiv1::__function_type_info"; 49 "vtable for __cxxabiv1::__fundamental_type_info"; 50 "vtable for __cxxabiv1::__pbase_type_info"; 51 "vtable for __cxxabiv1::__pointer_to_member_type_info"; 52 "vtable for __cxxabiv1::__pointer_type_info"; 53 "vtable for __cxxabiv1::__si_class_type_info"; 54 "vtable for __cxxabiv1::__vmi_class_type_info"; [all …]
|
/freebsd/contrib/llvm-project/lld/docs/ |
H A D | missingkeyfunction.rst | 6 foo.cc:28: error: undefined reference to 'vtable for C' 7 the vtable symbol may be undefined because the class is missing its key function 13 When a class has a key function, the compiler emits the vtable (and some other 15 if you're missing the key function, you'll also be missing the vtable. If no other 17 for it, but you will see undefined references to the vtable symbol. 20 function, and the compiler is forced to emit the vtable in every translation unit 42 not emit the vtable for ``B``, and you'll get an undefined reference to "vtable 70 and as a result, the vtable for ``A`` is not emitted, because the compiler is
|
/freebsd/usr.bin/dc/ |
H A D | bcode.h | 66 struct vtable { struct 81 struct vtable *vtable; argument
|
/freebsd/contrib/bearssl/test/ |
H A D | test_x509.c | 1587 ctx.vtable->start_chain(&ctx.vtable, tc->servername); in run_test_case() 1591 ctx.vtable->start_cert(&ctx.vtable, certs[u].len); in run_test_case() 1600 ctx.vtable->append(&ctx.vtable, in run_test_case() 1604 ctx.vtable->end_cert(&ctx.vtable); in run_test_case() 1606 status = ctx.vtable->end_chain(&ctx.vtable); in run_test_case() 1607 ee_pkey = ctx.vtable->get_pkey(&ctx.vtable, &usages); in run_test_case() 1918 ctx.vtable->start_chain(&ctx.vtable, NULL); in test_name_extraction() 1919 ctx.vtable->start_cert(&ctx.vtable, len); in test_name_extraction() 1920 ctx.vtable->append(&ctx.vtable, data, len); in test_name_extraction() 1921 ctx.vtable->end_cert(&ctx.vtable); in test_name_extraction() [all …]
|