Home
last modified time | relevance | path

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

1234

/openssl/providers/implementations/signature/
H A Decdsa_sig.c315 static int ecdsa_sign_directly(void *vctx, in ecdsa_sign_directly()
363 static int ecdsa_signverify_message_update(void *vctx, in ecdsa_signverify_message_update()
431 static int ecdsa_verify_directly(void *vctx, in ecdsa_verify_directly()
443 static int ecdsa_verify_set_sig(void *vctx, in ecdsa_verify_set_sig()
456 static int ecdsa_verify_message_final(void *vctx) in ecdsa_verify_message_final()
480 static int ecdsa_verify(void *vctx, in ecdsa_verify()
607 static void ecdsa_freectx(void *vctx) in ecdsa_freectx()
621 static void *ecdsa_dupctx(void *vctx) in ecdsa_dupctx()
667 static int ecdsa_get_ctx_params(void *vctx, OSSL_PARAM *params) in ecdsa_get_ctx_params()
810 static const OSSL_PARAM *ecdsa_settable_ctx_params(void *vctx, in ecdsa_settable_ctx_params()
[all …]
/openssl/providers/implementations/kem/
H A Dtemplate_kem.c73 static void template_freectx(void *vctx) in template_freectx()
81 static int template_init(void *vctx, int operation, void *vkey, void *vauth, in template_init()
96 static int template_encapsulate_init(void *vctx, void *vkey, in template_encapsulate_init()
102 static int template_decapsulate_init(void *vctx, void *vkey, in template_decapsulate_init()
108 static int template_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in template_set_ctx_params()
127 static const OSSL_PARAM *template_settable_ctx_params(ossl_unused void *vctx, in template_settable_ctx_params()
133 static int template_encapsulate(void *vctx, unsigned char *out, size_t *outlen, in template_encapsulate()
156 static int template_decapsulate(void *vctx, unsigned char *out, size_t *outlen, in template_decapsulate()
/openssl/providers/implementations/ciphers/
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()
109 static int cipher_hw_aes_ocb_rv64i_zknd_zkne_initkey(PROV_CIPHER_CTX *vctx, in cipher_hw_aes_ocb_rv64i_zknd_zkne_initkey()
120 static int cipher_hw_aes_ocb_rv64i_zvkned_initkey(PROV_CIPHER_CTX *vctx, in cipher_hw_aes_ocb_rv64i_zvkned_initkey()
157 static int cipher_hw_aes_ocb_rv32i_zknd_zkne_initkey(PROV_CIPHER_CTX *vctx, in cipher_hw_aes_ocb_rv32i_zknd_zkne_initkey()
168 static int cipher_hw_aes_ocb_rv32i_zbkb_zknd_zkne_initkey(PROV_CIPHER_CTX *vctx, in cipher_hw_aes_ocb_rv32i_zbkb_zknd_zkne_initkey()
H A Dcipher_aes_gcm_siv.c44 static void ossl_aes_gcm_siv_freectx(void *vctx) in ossl_aes_gcm_siv_freectx()
56 static void *ossl_aes_gcm_siv_dupctx(void *vctx) in ossl_aes_gcm_siv_dupctx()
91 static int ossl_aes_gcm_siv_init(void *vctx, const unsigned char *key, size_t keylen, in ossl_aes_gcm_siv_init()
123 static int ossl_aes_gcm_siv_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_aes_gcm_siv_einit()
130 static int ossl_aes_gcm_siv_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_aes_gcm_siv_dinit()
138 static int ossl_aes_gcm_siv_cipher(void *vctx, unsigned char *out, size_t *outl, in ossl_aes_gcm_siv_cipher()
166 static int ossl_aes_gcm_siv_stream_final(void *vctx, unsigned char *out, size_t *outl, in ossl_aes_gcm_siv_stream_final()
182 static int ossl_aes_gcm_siv_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_aes_gcm_siv_get_ctx_params()
222 static int ossl_aes_gcm_siv_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in ossl_aes_gcm_siv_set_ctx_params()
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()
77 static int siv_init(void *vctx, const unsigned char *key, size_t keylen, in siv_init()
99 static int siv_einit(void *vctx, const unsigned char *key, size_t keylen, in siv_einit()
106 static int siv_dinit(void *vctx, const unsigned char *key, size_t keylen, in siv_dinit()
113 static int siv_cipher(void *vctx, unsigned char *out, size_t *outl, in siv_cipher()
143 static int siv_stream_final(void *vctx, unsigned char *out, size_t *outl, in siv_stream_final()
159 static int aes_siv_get_ctx_params(void *vctx, OSSL_PARAM params[]) in aes_siv_get_ctx_params()
199 static int aes_siv_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_siv_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 Dcipher_aes_xts.c72 static int aes_xts_init(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_init()
101 static int aes_xts_einit(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_einit()
112 static int aes_xts_dinit(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_dinit()
140 static void aes_xts_freectx(void *vctx) in aes_xts_freectx()
148 static void *aes_xts_dupctx(void *vctx) in aes_xts_dupctx()
176 static int aes_xts_cipher(void *vctx, unsigned char *out, size_t *outl, in aes_xts_cipher()
216 static int aes_xts_stream_update(void *vctx, unsigned char *out, size_t *outl, in aes_xts_stream_update()
235 static int aes_xts_stream_final(void *vctx, unsigned char *out, size_t *outl, in aes_xts_stream_final()
255 static int aes_xts_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_xts_set_ctx_params()
H A Dcipher_sm4_xts.c36 static int sm4_xts_init(void *vctx, const unsigned char *key, size_t keylen, in sm4_xts_init()
63 static int sm4_xts_einit(void *vctx, const unsigned char *key, size_t keylen, in sm4_xts_einit()
70 static int sm4_xts_dinit(void *vctx, const unsigned char *key, size_t keylen, in sm4_xts_dinit()
90 static void sm4_xts_freectx(void *vctx) in sm4_xts_freectx()
98 static void *sm4_xts_dupctx(void *vctx) in sm4_xts_dupctx()
121 static int sm4_xts_cipher(void *vctx, unsigned char *out, size_t *outl, in sm4_xts_cipher()
164 static int sm4_xts_stream_update(void *vctx, unsigned char *out, size_t *outl, in sm4_xts_stream_update()
183 static int sm4_xts_stream_final(void *vctx, unsigned char *out, size_t *outl, in sm4_xts_stream_final()
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.c229 int ossl_cipher_generic_einit(void *vctx, const unsigned char *key, in ossl_cipher_generic_einit()
237 int ossl_cipher_generic_dinit(void *vctx, const unsigned char *key, in ossl_cipher_generic_dinit()
248 int ossl_cipher_generic_block_update(void *vctx, unsigned char *out, in ossl_cipher_generic_block_update()
394 int ossl_cipher_generic_block_final(void *vctx, unsigned char *out, in ossl_cipher_generic_block_final()
468 int ossl_cipher_generic_stream_update(void *vctx, unsigned char *out, in ossl_cipher_generic_stream_update()
530 int ossl_cipher_generic_stream_final(void *vctx, unsigned char *out, in ossl_cipher_generic_stream_final()
547 int ossl_cipher_generic_cipher(void *vctx, unsigned char *out, size_t *outl, in ossl_cipher_generic_cipher()
575 int ossl_cipher_generic_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_cipher_generic_get_ctx_params()
623 int ossl_cipher_generic_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in ossl_cipher_generic_set_ctx_params()
692 void ossl_cipher_generic_initkey(void *vctx, size_t kbits, size_t blkbits, in ossl_cipher_generic_initkey()
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_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 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_tdes_common.c57 void ossl_tdes_freectx(void *vctx) in ossl_tdes_freectx()
78 static int tdes_init(void *vctx, const unsigned char *key, size_t keylen, in tdes_init()
120 int ossl_tdes_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_tdes_einit()
127 int ossl_tdes_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_tdes_dinit()
155 int ossl_tdes_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_tdes_get_ctx_params()
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()
353 static int aes_ocb_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_ocb_set_ctx_params()
417 static int aes_ocb_get_ctx_params(void *vctx, OSSL_PARAM params[]) in aes_ocb_get_ctx_params()
506 static int aes_ocb_cipher(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_cipher()
H A Dciphercommon_gcm.c49 static int gcm_init(void *vctx, const unsigned char *key, size_t keylen, in gcm_init()
82 int ossl_gcm_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_gcm_einit()
89 int ossl_gcm_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_gcm_dinit()
144 int ossl_gcm_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_gcm_get_ctx_params()
247 int ossl_gcm_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in ossl_gcm_set_ctx_params()
330 int ossl_gcm_stream_update(void *vctx, unsigned char *out, size_t *outl, in ossl_gcm_stream_update()
352 int ossl_gcm_stream_final(void *vctx, unsigned char *out, size_t *outl, in ossl_gcm_stream_final()
369 int ossl_gcm_cipher(void *vctx, in ossl_gcm_cipher()
H A Dcipher_aes_wrp.c92 static void aes_wrap_freectx(void *vctx) in aes_wrap_freectx()
100 static int aes_wrap_init(void *vctx, const unsigned char *key, in aes_wrap_init()
165 static int aes_wrap_cipher_internal(void *vctx, unsigned char *out, in aes_wrap_cipher_internal()
225 static int aes_wrap_final(void *vctx, unsigned char *out, size_t *outl, in aes_wrap_final()
235 static int aes_wrap_cipher(void *vctx, in aes_wrap_cipher()
263 static int aes_wrap_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_wrap_set_ctx_params()
H A Dcipher_des.c63 static void des_freectx(void *vctx) in des_freectx()
71 static int des_init(void *vctx, const unsigned char *key, size_t keylen, in des_init()
104 static int des_einit(void *vctx, const unsigned char *key, size_t keylen, in des_einit()
111 static int des_dinit(void *vctx, const unsigned char *key, size_t keylen, in des_dinit()
/openssl/providers/implementations/digests/
H A Dsha3_prov.c59 static int keccak_init(void *vctx, ossl_unused const OSSL_PARAM params[]) in keccak_init()
68 static int keccak_init_params(void *vctx, const OSSL_PARAM params[]) in keccak_init_params()
74 static int keccak_update(void *vctx, const unsigned char *inp, size_t len) in keccak_update()
111 static int keccak_final(void *vctx, unsigned char *out, size_t *outl, in keccak_final()
130 static int shake_squeeze(void *vctx, unsigned char *out, size_t *outl, in shake_squeeze()
150 static size_t generic_sha3_absorb(void *vctx, const void *inp, size_t len) in generic_sha3_absorb()
193 static size_t s390x_sha3_absorb(void *vctx, const void *inp, size_t len) in s390x_sha3_absorb()
211 static int s390x_sha3_final(void *vctx, unsigned char *out, size_t outlen) in s390x_sha3_final()
558 static void keccak_freectx(void *vctx) in keccak_freectx()
595 static int shake_get_ctx_params(void *vctx, OSSL_PARAM params[]) in shake_get_ctx_params()
[all …]
/openssl/providers/implementations/kdfs/
H A Dhmacdrbg_kdf.c56 static void hmac_drbg_kdf_reset(void *vctx) in hmac_drbg_kdf_reset()
70 static void hmac_drbg_kdf_free(void *vctx) in hmac_drbg_kdf_free()
94 static void *hmac_drbg_kdf_dup(void *vctx) in hmac_drbg_kdf_dup()
116 static int hmac_drbg_kdf_derive(void *vctx, unsigned char *out, size_t outlen, in hmac_drbg_kdf_derive()
139 static int hmac_drbg_kdf_get_ctx_params(void *vctx, OSSL_PARAM params[]) in hmac_drbg_kdf_get_ctx_params()
166 ossl_unused void *vctx, ossl_unused void *p_ctx) in hmac_drbg_kdf_gettable_ctx_params()
176 static int hmac_drbg_kdf_set_ctx_params(void *vctx, in hmac_drbg_kdf_set_ctx_params()
236 ossl_unused void *vctx, ossl_unused void *p_ctx) in hmac_drbg_kdf_settable_ctx_params()
H A Dpvkkdf.c64 static void kdf_pvk_free(void *vctx) in kdf_pvk_free()
74 static void *kdf_pvk_dup(void *vctx) in kdf_pvk_dup()
94 static void kdf_pvk_reset(void *vctx) in kdf_pvk_reset()
133 static int kdf_pvk_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_pvk_derive()
179 static int kdf_pvk_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_pvk_set_ctx_params()
216 static int kdf_pvk_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_pvk_get_ctx_params()
H A Dpbkdf1.c119 static void kdf_pbkdf1_free(void *vctx) in kdf_pbkdf1_free()
129 static void kdf_pbkdf1_reset(void *vctx) in kdf_pbkdf1_reset()
138 static void *kdf_pbkdf1_dup(void *vctx) in kdf_pbkdf1_dup()
177 static int kdf_pbkdf1_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_pbkdf1_derive()
201 static int kdf_pbkdf1_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_pbkdf1_set_ctx_params()
238 static int kdf_pbkdf1_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_pbkdf1_get_ctx_params()
H A Dpkcs12kdf.c159 static void kdf_pkcs12_free(void *vctx) in kdf_pkcs12_free()
169 static void kdf_pkcs12_reset(void *vctx) in kdf_pkcs12_reset()
178 static void *kdf_pkcs12_dup(void *vctx) in kdf_pkcs12_dup()
218 static int kdf_pkcs12_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_pkcs12_derive()
242 static int kdf_pkcs12_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_pkcs12_set_ctx_params()
287 static int kdf_pkcs12_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_pkcs12_get_ctx_params()
H A Dsshkdf.c70 static void kdf_sshkdf_free(void *vctx) in kdf_sshkdf_free()
80 static void kdf_sshkdf_reset(void *vctx) in kdf_sshkdf_reset()
93 static void *kdf_sshkdf_dup(void *vctx) in kdf_sshkdf_dup()
172 static int kdf_sshkdf_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_sshkdf_derive()
209 static int kdf_sshkdf_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_sshkdf_set_ctx_params()
298 static int kdf_sshkdf_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_sshkdf_get_ctx_params()
/openssl/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()

Completed in 57 milliseconds

1234