Home
last modified time | relevance | path

Searched defs:vctx (Results 1 – 25 of 74) sorted by relevance

123

/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Dzoneverify.c58 typedef struct vctx { struct
59 isc_mem_t *mctx;
60 dns_zone_t *zone;
61 dns_db_t *db;
85 } vctx_t; argument
118 zoneverify_log_error(const vctx_t *vctx, const char *fmt, ...) { in zoneverify_log_error()
133 is_delegation(const vctx_t *vctx, const dns_name_t *name, dns_dbnode_t *node, in is_delegation()
160 has_dname(const vctx_t *vctx, dns_dbnode_t *node) { in has_dname()
176 goodsig(const vctx_t *vctx, dns_rdata_t *sigrdata, const dns_name_t *name, in goodsig()
217 verifynsec(const vctx_t *vctx, const dns_name_t *name, dns_dbnode_t *node, in verifynsec()
[all …]
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Dzoneverify.c57 typedef struct vctx { struct
117 zoneverify_log_error(const vctx_t *vctx, const char *fmt, ...) { in zoneverify_log_error() argument
132 is_delegation(const vctx_t *vctx, const dns_name_t *name, dns_dbnode_t *node, in is_delegation() argument
159 has_dname(const vctx_t *vctx, dns_dbnode_t *node) { in has_dname() argument
58 mctxvctx global() argument
59 zonevctx global() argument
60 dbvctx global() argument
84 found_chainsvctx global() argument
175 goodsig(const vctx_t * vctx,dns_rdata_t * sigrdata,const dns_name_t * name,dst_key_t ** dstkeys,size_t nkeys,dns_rdataset_t * rdataset) goodsig() argument
216 verifynsec(const vctx_t * vctx,const dns_name_t * name,dns_dbnode_t * node,const dns_name_t * nextname,isc_result_t * vresult) verifynsec() argument
303 check_no_rrsig(const vctx_t * vctx,const dns_rdataset_t * rdataset,const dns_name_t * name,dns_dbnode_t * node) check_no_rrsig() argument
401 record_nsec3(const vctx_t * vctx,const unsigned char * rawhash,const dns_rdata_nsec3_t * nsec3,isc_heap_t * chains) record_nsec3() argument
459 match_nsec3(const vctx_t * vctx,const dns_name_t * name,const dns_rdata_nsec3param_t * nsec3param,dns_rdataset_t * rdataset,const unsigned char types[8192],unsigned int maxtype,const unsigned char * rawhash,size_t rhsize,isc_result_t * vresult) match_nsec3() argument
559 record_found(const vctx_t * vctx,const dns_name_t * name,dns_dbnode_t * node,dns_rdataset_t * nsec3paramset) record_found() argument
622 isoptout(const vctx_t * vctx,const dns_rdata_nsec3param_t * nsec3param,bool * optout) isoptout() argument
684 verifynsec3(const vctx_t * vctx,const dns_name_t * name,const dns_rdata_t * rdata,bool delegation,bool empty,const unsigned char types[8192],unsigned int maxtype,isc_result_t * vresult) verifynsec3() argument
782 verifynsec3s(const vctx_t * vctx,const dns_name_t * name,dns_rdataset_t * nsec3paramset,bool delegation,bool empty,const unsigned char types[8192],unsigned int maxtype,isc_result_t * vresult) verifynsec3s() argument
810 verifyset(vctx_t * vctx,dns_rdataset_t * rdataset,const dns_name_t * name,dns_dbnode_t * node,dst_key_t ** dstkeys,size_t nkeys) verifyset() argument
913 verifynode(vctx_t * vctx,const dns_name_t * name,dns_dbnode_t * node,bool delegation,dst_key_t ** dstkeys,size_t nkeys,dns_rdataset_t * nsecset,dns_rdataset_t * nsec3paramset,const dns_name_t * nextname,isc_result_t * vresult) verifynode() argument
1013 is_empty(const vctx_t * vctx,dns_dbnode_t * node,bool * empty) is_empty() argument
1032 check_no_nsec(const vctx_t * vctx,const dns_name_t * name,dns_dbnode_t * node) check_no_nsec() argument
1072 _checknext(const vctx_t * vctx,const struct nsec3_chain_fixed * first,const struct nsec3_chain_fixed * e) _checknext() argument
1112 checknext(isc_mem_t * mctx,const vctx_t * vctx,const struct nsec3_chain_fixed * first,struct nsec3_chain_fixed * prev,const struct nsec3_chain_fixed * cur) checknext() argument
1125 checklast(isc_mem_t * mctx,const vctx_t * vctx,struct nsec3_chain_fixed * first,struct nsec3_chain_fixed * prev) checklast() argument
1137 verify_nsec3_chains(const vctx_t * vctx,isc_mem_t * mctx) verify_nsec3_chains() argument
1233 verifyemptynodes(const vctx_t * vctx,const dns_name_t * name,const dns_name_t * prevname,bool isdelegation,dns_rdataset_t * nsec3paramset,isc_result_t * vresult) verifyemptynodes() argument
1278 vctx_init(vctx_t * vctx,isc_mem_t * mctx,dns_zone_t * zone,dns_db_t * db,dns_dbversion_t * ver,dns_name_t * origin,dns_keytable_t * secroots) vctx_init() argument
1309 vctx_destroy(vctx_t * vctx) vctx_destroy() argument
1341 check_apex_rrsets(vctx_t * vctx) check_apex_rrsets() argument
1445 check_dnskey_sigs(vctx_t * vctx,const dns_rdata_dnskey_t * dnskey,dns_rdata_t * keyrdata,bool is_ksk) check_dnskey_sigs() argument
1574 check_dnskey(vctx_t * vctx) check_dnskey() argument
1641 determine_active_algorithms(vctx_t * vctx,bool ignore_kskflag,bool keyset_kskonly,void (* report)(const char *,...)) determine_active_algorithms() argument
1696 verify_nodes(vctx_t * vctx,isc_result_t * vresult) verify_nodes() argument
1915 check_bad_algorithms(const vctx_t * vctx,void (* report)(const char *,...)) check_bad_algorithms() argument
1940 print_summary(const vctx_t * vctx,bool keyset_kskonly,void (* report)(const char *,...)) print_summary() argument
1975 vctx_t vctx; dns_zoneverify_dnssec() local
[all...]
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/signature/
H A Decdsa_sig.c128 static int ecdsa_signverify_init(void *vctx, void *ec, in ecdsa_signverify_init()
159 static int ecdsa_sign_init(void *vctx, void *ec, const OSSL_PARAM params[]) in ecdsa_sign_init()
164 static int ecdsa_verify_init(void *vctx, void *ec, const OSSL_PARAM params[]) in ecdsa_verify_init()
169 static int ecdsa_sign(void *vctx, unsigned char *sig, size_t *siglen, in ecdsa_sign()
204 static int ecdsa_verify(void *vctx, const unsigned char *sig, size_t siglen, in ecdsa_verify()
281 static int ecdsa_digest_signverify_init(void *vctx, const char *mdname, in ecdsa_digest_signverify_init()
311 static int ecdsa_digest_sign_init(void *vctx, const char *mdname, void *ec, in ecdsa_digest_sign_init()
318 static int ecdsa_digest_verify_init(void *vctx, const char *mdname, void *ec, in ecdsa_digest_verify_init()
325 int ecdsa_digest_signverify_update(void *vctx, const unsigned char *data, in ecdsa_digest_signverify_update()
336 int ecdsa_digest_sign_final(void *vctx, unsigned char *sig, size_t *siglen, in ecdsa_digest_sign_final()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/ciphers/
H A Dcipher_aes_siv.c49 static void aes_siv_freectx(void *vctx) in aes_siv_freectx()
59 static void *siv_dupctx(void *vctx) in siv_dupctx()
79 static int siv_init(void *vctx, const unsigned char *key, size_t keylen, in siv_init()
101 static int siv_einit(void *vctx, const unsigned char *key, size_t keylen, in siv_einit()
108 static int siv_dinit(void *vctx, const unsigned char *key, size_t keylen, in siv_dinit()
115 static int siv_cipher(void *vctx, unsigned char *out, size_t *outl, in siv_cipher()
145 static int siv_stream_final(void *vctx, unsigned char *out, size_t *outl, in siv_stream_final()
161 static int aes_siv_get_ctx_params(void *vctx, OSSL_PARAM params[]) in aes_siv_get_ctx_params()
201 static int aes_siv_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_siv_set_ctx_params()
H A Dcipher_aes_xts.c68 static int aes_xts_init(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_init()
97 static int aes_xts_einit(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_einit()
104 static int aes_xts_dinit(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_dinit()
124 static void aes_xts_freectx(void *vctx) in aes_xts_freectx()
132 static void *aes_xts_dupctx(void *vctx) in aes_xts_dupctx()
157 static int aes_xts_cipher(void *vctx, unsigned char *out, size_t *outl, in aes_xts_cipher()
192 static int aes_xts_stream_update(void *vctx, unsigned char *out, size_t *outl, in aes_xts_stream_update()
211 static int aes_xts_stream_final(void *vctx, unsigned char *out, size_t *outl, in aes_xts_stream_final()
231 static int aes_xts_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_xts_set_ctx_params()
H A Dcipher_aes_siv_hw.c20 static int aes_siv_initkey(void *vctx, const unsigned char *key, size_t keylen) in aes_siv_initkey()
77 static int aes_siv_settag(void *vctx, const unsigned char *tag, size_t tagl) in aes_siv_settag()
85 static void aes_siv_setspeed(void *vctx, int speed) in aes_siv_setspeed()
93 static void aes_siv_cleanup(void *vctx) in aes_siv_cleanup()
103 static int aes_siv_cipher(void *vctx, unsigned char *out, in aes_siv_cipher()
H A Dciphercommon.c228 int ossl_cipher_generic_einit(void *vctx, const unsigned char *key, in ossl_cipher_generic_einit()
236 int ossl_cipher_generic_dinit(void *vctx, const unsigned char *key, in ossl_cipher_generic_dinit()
247 int ossl_cipher_generic_block_update(void *vctx, unsigned char *out, in ossl_cipher_generic_block_update()
393 int ossl_cipher_generic_block_final(void *vctx, unsigned char *out, in ossl_cipher_generic_block_final()
467 int ossl_cipher_generic_stream_update(void *vctx, unsigned char *out, in ossl_cipher_generic_stream_update()
529 int ossl_cipher_generic_stream_final(void *vctx, unsigned char *out, in ossl_cipher_generic_stream_final()
546 int ossl_cipher_generic_cipher(void *vctx, unsigned char *out, size_t *outl, in ossl_cipher_generic_cipher()
574 int ossl_cipher_generic_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_cipher_generic_get_ctx_params()
622 int ossl_cipher_generic_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in ossl_cipher_generic_set_ctx_params()
691 void ossl_cipher_generic_initkey(void *vctx, size_t kbits, size_t blkbits, in ossl_cipher_generic_initkey()
H A Dcipher_null.c34 static void null_freectx(void *vctx) in null_freectx()
40 static int null_einit(void *vctx, const unsigned char *key, size_t keylen, in null_einit()
54 static int null_dinit(void *vctx, const unsigned char *key, size_t keylen, in null_dinit()
65 static int null_cipher(void *vctx, unsigned char *out, size_t *outl, in null_cipher()
92 static int null_final(void *vctx, unsigned char *out, size_t *outl, in null_final()
123 static int null_get_ctx_params(void *vctx, OSSL_PARAM params[]) in null_get_ctx_params()
161 static int null_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in null_set_ctx_params()
H A Dciphercommon_ccm.c68 int ossl_ccm_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in ossl_ccm_set_ctx_params()
147 int ossl_ccm_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_ccm_get_ctx_params()
225 static int ccm_init(void *vctx, const unsigned char *key, size_t keylen, in ccm_init()
255 int ossl_ccm_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_ccm_einit()
262 int ossl_ccm_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_ccm_dinit()
269 int ossl_ccm_stream_update(void *vctx, unsigned char *out, size_t *outl, in ossl_ccm_stream_update()
287 int ossl_ccm_stream_final(void *vctx, unsigned char *out, size_t *outl, in ossl_ccm_stream_final()
304 int ossl_ccm_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, in ossl_ccm_cipher()
H A Dcipher_tdes_common.c56 void ossl_tdes_freectx(void *vctx) in ossl_tdes_freectx()
64 static int tdes_init(void *vctx, const unsigned char *key, size_t keylen, in tdes_init()
100 int ossl_tdes_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_tdes_einit()
107 int ossl_tdes_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_tdes_dinit()
135 int ossl_tdes_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_tdes_get_ctx_params()
H A Dcipher_chacha20_poly1305.c81 static void chacha20_poly1305_freectx(void *vctx) in chacha20_poly1305_freectx()
99 static int chacha20_poly1305_get_ctx_params(void *vctx, OSSL_PARAM params[]) in chacha20_poly1305_get_ctx_params()
161 static int chacha20_poly1305_set_ctx_params(void *vctx, in chacha20_poly1305_set_ctx_params()
245 static int chacha20_poly1305_einit(void *vctx, const unsigned char *key, in chacha20_poly1305_einit()
265 static int chacha20_poly1305_dinit(void *vctx, const unsigned char *key, in chacha20_poly1305_dinit()
285 static int chacha20_poly1305_cipher(void *vctx, unsigned char *out, in chacha20_poly1305_cipher()
312 static int chacha20_poly1305_final(void *vctx, unsigned char *out, size_t *outl, in chacha20_poly1305_final()
H A Dcipher_chacha20.c58 static void chacha20_freectx(void *vctx) in chacha20_freectx()
68 static void *chacha20_dupctx(void *vctx) in chacha20_dupctx()
95 static int chacha20_get_ctx_params(void *vctx, OSSL_PARAM params[]) in chacha20_get_ctx_params()
124 static int chacha20_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in chacha20_set_ctx_params()
168 int ossl_chacha20_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_chacha20_einit()
187 int ossl_chacha20_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_chacha20_dinit()
H A Dciphercommon_gcm.c48 static int gcm_init(void *vctx, const unsigned char *key, size_t keylen, in gcm_init()
81 int ossl_gcm_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_gcm_einit()
88 int ossl_gcm_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_gcm_dinit()
143 int ossl_gcm_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_gcm_get_ctx_params()
230 int ossl_gcm_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in ossl_gcm_set_ctx_params()
309 int ossl_gcm_stream_update(void *vctx, unsigned char *out, size_t *outl, in ossl_gcm_stream_update()
331 int ossl_gcm_stream_final(void *vctx, unsigned char *out, size_t *outl, in ossl_gcm_stream_final()
348 int ossl_gcm_cipher(void *vctx, in ossl_gcm_cipher()
H A Dcipher_aes_ocb.c104 static int aes_ocb_init(void *vctx, const unsigned char *key, size_t keylen, in aes_ocb_init()
141 static int aes_ocb_einit(void *vctx, const unsigned char *key, size_t keylen, in aes_ocb_einit()
148 static int aes_ocb_dinit(void *vctx, const unsigned char *key, size_t keylen, in aes_ocb_dinit()
231 static int aes_ocb_block_update(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_block_update()
262 static int aes_ocb_block_final(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_block_final()
323 static void aes_ocb_freectx(void *vctx) in aes_ocb_freectx()
334 static void *aes_ocb_dupctx(void *vctx) in aes_ocb_dupctx()
355 static int aes_ocb_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_ocb_set_ctx_params()
411 static int aes_ocb_get_ctx_params(void *vctx, OSSL_PARAM params[]) in aes_ocb_get_ctx_params()
500 static int aes_ocb_cipher(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_cipher()
H A Dcipher_aes_ocb_hw.c32 static int cipher_hw_aes_ocb_generic_initkey(PROV_CIPHER_CTX *vctx, in cipher_hw_aes_ocb_generic_initkey()
64 static int cipher_hw_aes_ocb_aesni_initkey(PROV_CIPHER_CTX *vctx, in cipher_hw_aes_ocb_aesni_initkey()
87 static int cipher_hw_aes_ocb_t4_initkey(PROV_CIPHER_CTX *vctx, in cipher_hw_aes_ocb_t4_initkey()
H A Dcipher_aes_wrp.c89 static void aes_wrap_freectx(void *vctx) in aes_wrap_freectx()
97 static int aes_wrap_init(void *vctx, const unsigned char *key, in aes_wrap_init()
162 static int aes_wrap_cipher_internal(void *vctx, unsigned char *out, in aes_wrap_cipher_internal()
222 static int aes_wrap_final(void *vctx, unsigned char *out, size_t *outl, in aes_wrap_final()
232 static int aes_wrap_cipher(void *vctx, in aes_wrap_cipher()
260 static int aes_wrap_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_wrap_set_ctx_params()
H A Dcipher_des.c65 static void des_freectx(void *vctx) in des_freectx()
73 static int des_init(void *vctx, const unsigned char *key, size_t keylen, in des_init()
106 static int des_einit(void *vctx, const unsigned char *key, size_t keylen, in des_einit()
113 static int des_dinit(void *vctx, const unsigned char *key, size_t keylen, in des_dinit()
H A Dcipher_rc4_hmac_md5.c67 static void rc4_hmac_md5_freectx(void *vctx) in rc4_hmac_md5_freectx()
75 static void *rc4_hmac_md5_dupctx(void *vctx) in rc4_hmac_md5_dupctx()
114 static int rc4_hmac_md5_get_ctx_params(void *vctx, OSSL_PARAM params[]) in rc4_hmac_md5_get_ctx_params()
150 static int rc4_hmac_md5_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in rc4_hmac_md5_set_ctx_params()
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/digests/
H A Dsha3_prov.c53 static int keccak_init(void *vctx, ossl_unused const OSSL_PARAM params[]) in keccak_init()
62 static int keccak_init_params(void *vctx, const OSSL_PARAM params[]) in keccak_init_params()
68 static int keccak_update(void *vctx, const unsigned char *inp, size_t len) in keccak_update()
105 static int keccak_final(void *vctx, unsigned char *out, size_t *outl, in keccak_final()
123 static size_t generic_sha3_absorb(void *vctx, const void *inp, size_t len) in generic_sha3_absorb()
130 static int generic_sha3_final(unsigned char *md, void *vctx) in generic_sha3_final()
150 static size_t s390x_sha3_absorb(void *vctx, const void *inp, size_t len) in s390x_sha3_absorb()
159 static int s390x_sha3_final(unsigned char *md, void *vctx) in s390x_sha3_final()
170 static int s390x_shake_final(unsigned char *md, void *vctx) in s390x_shake_final()
254 static void keccak_freectx(void *vctx) in keccak_freectx()
[all …]
/netbsd-src/sys/opencrypto/
H A Daesxcbcmac.c43 aes_xcbc_mac_init(void *vctx, const uint8_t *key, u_int16_t keylen) in aes_xcbc_mac_init()
81 aes_xcbc_mac_loop(void *vctx, const uint8_t *addr, u_int16_t len) in aes_xcbc_mac_loop()
127 aes_xcbc_mac_result(uint8_t *addr, void *vctx) in aes_xcbc_mac_result()
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/encode_decode/
H A Dencode_key2ms.c83 static void key2ms_freectx(void *vctx) in key2ms_freectx()
101 static int key2pvk_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in key2pvk_set_ctx_params()
112 static int key2ms_does_selection(void *vctx, int selection) in key2ms_does_selection()
128 static int key2msblob_encode(void *vctx, const void *key, int selection, in key2msblob_encode()
150 static int key2pvk_encode(void *vctx, const void *key, int selection, in key2pvk_encode()
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/kdfs/
H A Dpbkdf1.c120 static void kdf_pbkdf1_free(void *vctx) in kdf_pbkdf1_free()
130 static void kdf_pbkdf1_reset(void *vctx) in kdf_pbkdf1_reset()
158 static int kdf_pbkdf1_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_pbkdf1_derive()
182 static int kdf_pbkdf1_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_pbkdf1_set_ctx_params()
219 static int kdf_pbkdf1_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_pbkdf1_get_ctx_params()
H A Dsshkdf.c67 static void kdf_sshkdf_free(void *vctx) in kdf_sshkdf_free()
77 static void kdf_sshkdf_reset(void *vctx) in kdf_sshkdf_reset()
99 static int kdf_sshkdf_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_sshkdf_derive()
135 static int kdf_sshkdf_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_sshkdf_set_ctx_params()
194 static int kdf_sshkdf_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_sshkdf_get_ctx_params()
H A Dtls1_prf.c113 static void kdf_tls1_prf_free(void *vctx) in kdf_tls1_prf_free()
123 static void kdf_tls1_prf_reset(void *vctx) in kdf_tls1_prf_reset()
136 static int kdf_tls1_prf_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_tls1_prf_derive()
167 static int kdf_tls1_prf_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_tls1_prf_set_ctx_params()
232 static int kdf_tls1_prf_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_tls1_prf_get_ctx_params()
H A Dpbkdf2.c91 static void kdf_pbkdf2_free(void *vctx) in kdf_pbkdf2_free()
101 static void kdf_pbkdf2_reset(void *vctx) in kdf_pbkdf2_reset()
144 static int kdf_pbkdf2_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_pbkdf2_derive()
169 static int kdf_pbkdf2_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_pbkdf2_set_ctx_params()
231 static int kdf_pbkdf2_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_pbkdf2_get_ctx_params()

123