Home
last modified time | relevance | path

Searched refs:vctx (Results 1 – 25 of 100) sorted by relevance

1234

/openssl/providers/implementations/signature/
H A Decdsa_sig.c302 PROV_ECDSA_CTX *ctx = (PROV_ECDSA_CTX *)vctx; in ecdsa_sign_init()
315 static int ecdsa_sign_directly(void *vctx, in ecdsa_sign_directly() argument
319 PROV_ECDSA_CTX *ctx = (PROV_ECDSA_CTX *)vctx; in ecdsa_sign_directly()
367 PROV_ECDSA_CTX *ctx = (PROV_ECDSA_CTX *)vctx; in ecdsa_signverify_message_update()
378 PROV_ECDSA_CTX *ctx = (PROV_ECDSA_CTX *)vctx; in ecdsa_sign_message_final()
403 PROV_ECDSA_CTX *ctx = (PROV_ECDSA_CTX *)vctx; in ecdsa_sign()
431 static int ecdsa_verify_directly(void *vctx, in ecdsa_verify_directly() argument
443 static int ecdsa_verify_set_sig(void *vctx, in ecdsa_verify_set_sig() argument
480 static int ecdsa_verify(void *vctx, in ecdsa_verify() argument
607 static void ecdsa_freectx(void *vctx) in ecdsa_freectx() argument
[all …]
/openssl/providers/implementations/kem/
H A Dtemplate_kem.c73 static void template_freectx(void *vctx) in template_freectx() argument
75 PROV_TEMPLATE_CTX *ctx = (PROV_TEMPLATE_CTX *)vctx; in template_freectx()
81 static int template_init(void *vctx, int operation, void *vkey, void *vauth, in template_init() argument
84 PROV_TEMPLATE_CTX *ctx = (PROV_TEMPLATE_CTX *)vctx; in template_init()
96 static int template_encapsulate_init(void *vctx, void *vkey, in template_encapsulate_init() argument
99 return template_init(vctx, EVP_PKEY_OP_ENCAPSULATE, vkey, NULL, params); in template_encapsulate_init()
102 static int template_decapsulate_init(void *vctx, void *vkey, in template_decapsulate_init() argument
108 static int template_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in template_set_ctx_params() argument
110 PROV_TEMPLATE_CTX *ctx = (PROV_TEMPLATE_CTX *)vctx; in template_set_ctx_params()
136 debug_print("encaps %p to %p\n", vctx, out); in template_encapsulate()
[all …]
/openssl/providers/implementations/ciphers/
H A Dcipher_aes_xts.c76 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)vctx; in aes_xts_init()
85 if (!ossl_cipher_generic_initiv(vctx, iv, ivlen)) in aes_xts_init()
140 static void aes_xts_freectx(void *vctx) in aes_xts_freectx() argument
142 PROV_AES_XTS_CTX *ctx = (PROV_AES_XTS_CTX *)vctx; in aes_xts_freectx()
144 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in aes_xts_freectx()
148 static void *aes_xts_dupctx(void *vctx) in aes_xts_dupctx() argument
150 PROV_AES_XTS_CTX *in = (PROV_AES_XTS_CTX *)vctx; in aes_xts_dupctx()
158 return s390x_aes_xts_dupctx(vctx); in aes_xts_dupctx()
179 PROV_AES_XTS_CTX *ctx = (PROV_AES_XTS_CTX *)vctx; in aes_xts_cipher()
220 PROV_AES_XTS_CTX *ctx = (PROV_AES_XTS_CTX *)vctx; in aes_xts_stream_update()
[all …]
H A Dcipher_tdes_common.c57 void ossl_tdes_freectx(void *vctx) in ossl_tdes_freectx() argument
59 PROV_TDES_CTX *ctx = (PROV_TDES_CTX *)vctx; in ossl_tdes_freectx()
61 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in ossl_tdes_freectx()
82 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in tdes_init()
124 return tdes_init(vctx, key, keylen, iv, ivlen, params, 1); in ossl_tdes_einit()
131 return tdes_init(vctx, key, keylen, iv, ivlen, params, 0); in ossl_tdes_dinit()
155 int ossl_tdes_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_tdes_get_ctx_params() argument
157 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_tdes_get_ctx_params()
160 if (!ossl_cipher_generic_get_ctx_params(vctx, params)) in ossl_tdes_get_ctx_params()
181 if (!OSSL_FIPS_IND_SET_CTX_PARAM((PROV_TDES_CTX *)vctx, in OSSL_PARAM_uint()
[all …]
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() argument
36 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_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() argument
68 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_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() argument
91 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in cipher_hw_aes_ocb_t4_initkey()
113 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_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() argument
124 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in cipher_hw_aes_ocb_rv64i_zvkned_initkey()
161 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in cipher_hw_aes_ocb_rv32i_zknd_zkne_initkey()
[all …]
H A Dcipher_chacha20.c58 static void chacha20_freectx(void *vctx) in chacha20_freectx() argument
60 PROV_CHACHA20_CTX *ctx = (PROV_CHACHA20_CTX *)vctx; in chacha20_freectx()
63 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in chacha20_freectx()
68 static void *chacha20_dupctx(void *vctx) in chacha20_dupctx() argument
70 PROV_CHACHA20_CTX *ctx = (PROV_CHACHA20_CTX *)vctx; in chacha20_dupctx()
95 static int chacha20_get_ctx_params(void *vctx, OSSL_PARAM params[]) in chacha20_get_ctx_params() argument
175 ret = ossl_cipher_generic_einit(vctx, key, keylen, iv, ivlen, NULL); in ossl_chacha20_einit()
177 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_chacha20_einit()
182 if (ret && !chacha20_set_ctx_params(vctx, params)) in ossl_chacha20_einit()
196 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_chacha20_dinit()
[all …]
H A Dcipher_null.c34 static void null_freectx(void *vctx) in null_freectx() argument
36 OPENSSL_free(vctx); in null_freectx()
40 static int null_einit(void *vctx, const unsigned char *key, size_t keylen, in null_einit() argument
44 PROV_CIPHER_NULL_CTX *ctx = (PROV_CIPHER_NULL_CTX *)vctx; in null_einit()
65 static int null_cipher(void *vctx, unsigned char *out, size_t *outl, in null_cipher() argument
68 PROV_CIPHER_NULL_CTX *ctx = (PROV_CIPHER_NULL_CTX *)vctx; in null_cipher()
92 static int null_final(void *vctx, unsigned char *out, size_t *outl, in null_final() argument
123 static int null_get_ctx_params(void *vctx, OSSL_PARAM params[]) in null_get_ctx_params() argument
125 PROV_CIPHER_NULL_CTX *ctx = (PROV_CIPHER_NULL_CTX *)vctx; in null_get_ctx_params()
161 static int null_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in null_set_ctx_params() argument
[all …]
H A Dcipher_aes_siv_hw.c18 static void aes_siv_cleanup(void *vctx);
20 static int aes_siv_initkey(void *vctx, const unsigned char *key, size_t keylen) in aes_siv_initkey() argument
22 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in aes_siv_initkey()
77 static int aes_siv_settag(void *vctx, const unsigned char *tag, size_t tagl) in aes_siv_settag() argument
79 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in aes_siv_settag()
85 static void aes_siv_setspeed(void *vctx, int speed) in aes_siv_setspeed() argument
87 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in aes_siv_setspeed()
93 static void aes_siv_cleanup(void *vctx) in aes_siv_cleanup() argument
95 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in aes_siv_cleanup()
103 static int aes_siv_cipher(void *vctx, unsigned char *out, in aes_siv_cipher() argument
[all …]
H A Dcipher_aes_siv.c49 static void aes_siv_freectx(void *vctx) in aes_siv_freectx() argument
51 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in aes_siv_freectx()
59 static void *siv_dupctx(void *vctx) in siv_dupctx() argument
61 PROV_AES_SIV_CTX *in = (PROV_AES_SIV_CTX *)vctx; in siv_dupctx()
81 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in siv_init()
103 return siv_init(vctx, key, keylen, iv, ivlen, params, 1); in siv_einit()
116 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in siv_cipher()
146 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in siv_stream_final()
151 if (!ctx->hw->cipher(vctx, out, NULL, 0)) in siv_stream_final()
161 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; in aes_siv_get_ctx_params()
[all …]
H A Dcipher_chacha20_poly1305.c81 static void chacha20_poly1305_freectx(void *vctx) in chacha20_poly1305_freectx() argument
83 PROV_CHACHA20_POLY1305_CTX *ctx = (PROV_CHACHA20_POLY1305_CTX *)vctx; in chacha20_poly1305_freectx()
86 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in chacha20_poly1305_freectx()
161 static int chacha20_poly1305_set_ctx_params(void *vctx, in chacha20_poly1305_set_ctx_params() argument
254 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in chacha20_poly1305_einit()
260 if (ret && !chacha20_poly1305_set_ctx_params(vctx, params)) in chacha20_poly1305_einit()
274 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in chacha20_poly1305_dinit()
280 if (ret && !chacha20_poly1305_set_ctx_params(vctx, params)) in chacha20_poly1305_dinit()
285 static int chacha20_poly1305_cipher(void *vctx, unsigned char *out, in chacha20_poly1305_cipher() argument
289 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in chacha20_poly1305_cipher()
[all …]
H A Dcipher_sm4_xts.c40 PROV_SM4_XTS_CTX *xctx = (PROV_SM4_XTS_CTX *)vctx; in sm4_xts_init()
49 if (!ossl_cipher_generic_initiv(vctx, iv, ivlen)) in sm4_xts_init()
67 return sm4_xts_init(vctx, key, keylen, iv, ivlen, params, 1); in sm4_xts_einit()
74 return sm4_xts_init(vctx, key, keylen, iv, ivlen, params, 0); in sm4_xts_dinit()
90 static void sm4_xts_freectx(void *vctx) in sm4_xts_freectx() argument
92 PROV_SM4_XTS_CTX *ctx = (PROV_SM4_XTS_CTX *)vctx; in sm4_xts_freectx()
94 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in sm4_xts_freectx()
98 static void *sm4_xts_dupctx(void *vctx) in sm4_xts_dupctx() argument
100 PROV_SM4_XTS_CTX *in = (PROV_SM4_XTS_CTX *)vctx; in sm4_xts_dupctx()
124 PROV_SM4_XTS_CTX *ctx = (PROV_SM4_XTS_CTX *)vctx; in sm4_xts_cipher()
[all …]
H A Dcipher_aes_gcm_siv.c44 static void ossl_aes_gcm_siv_freectx(void *vctx) in ossl_aes_gcm_siv_freectx() argument
46 PROV_AES_GCM_SIV_CTX *ctx = (PROV_AES_GCM_SIV_CTX *)vctx; in ossl_aes_gcm_siv_freectx()
56 static void *ossl_aes_gcm_siv_dupctx(void *vctx) in ossl_aes_gcm_siv_dupctx() argument
58 PROV_AES_GCM_SIV_CTX *in = (PROV_AES_GCM_SIV_CTX *)vctx; in ossl_aes_gcm_siv_dupctx()
95 PROV_AES_GCM_SIV_CTX *ctx = (PROV_AES_GCM_SIV_CTX *)vctx; in ossl_aes_gcm_siv_init()
127 return ossl_aes_gcm_siv_init(vctx, key, keylen, iv, ivlen, params, 1); in ossl_aes_gcm_siv_einit()
141 PROV_AES_GCM_SIV_CTX *ctx = (PROV_AES_GCM_SIV_CTX *)vctx; in ossl_aes_gcm_siv_cipher()
169 PROV_AES_GCM_SIV_CTX *ctx = (PROV_AES_GCM_SIV_CTX *)vctx; in ossl_aes_gcm_siv_stream_final()
175 error |= !ctx->hw->cipher(vctx, out, NULL, 0); in ossl_aes_gcm_siv_stream_final()
184 PROV_AES_GCM_SIV_CTX *ctx = (PROV_AES_GCM_SIV_CTX *)vctx; in ossl_aes_gcm_siv_get_ctx_params()
[all …]
H A Dcipher_des.c63 static void des_freectx(void *vctx) in des_freectx() argument
65 PROV_DES_CTX *ctx = (PROV_DES_CTX *)vctx; in des_freectx()
67 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in des_freectx()
71 static int des_init(void *vctx, const unsigned char *key, size_t keylen, in des_init() argument
75 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in des_init()
104 static int des_einit(void *vctx, const unsigned char *key, size_t keylen, in des_einit() argument
108 return des_init(vctx, key, keylen, iv, ivlen, params, 1); in des_einit()
115 return des_init(vctx, key, keylen, iv, ivlen, params, 0); in des_dinit()
134 static int des_get_ctx_params(void *vctx, OSSL_PARAM params[])
136 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx;
[all …]
H A Dcipher_aes_wrp.c92 static void aes_wrap_freectx(void *vctx) in aes_wrap_freectx() argument
94 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_freectx()
96 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in aes_wrap_freectx()
100 static int aes_wrap_init(void *vctx, const unsigned char *key, in aes_wrap_init() argument
104 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in aes_wrap_init()
105 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_init()
168 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in aes_wrap_cipher_internal()
169 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_cipher_internal()
235 static int aes_wrap_cipher(void *vctx, in aes_wrap_cipher() argument
239 PROV_AES_WRAP_CTX *ctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_cipher()
[all …]
H A Dciphercommon.c115 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx;
121 if (!ossl_cipher_generic_set_ctx_params(vctx, params))
229 int ossl_cipher_generic_einit(void *vctx, const unsigned char *key, in ossl_cipher_generic_einit() argument
253 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_cipher_generic_block_update()
397 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_cipher_generic_block_final()
472 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_cipher_generic_stream_update()
533 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_cipher_generic_stream_final()
551 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_cipher_generic_cipher()
577 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_cipher_generic_get_ctx_params()
625 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; in ossl_cipher_generic_set_ctx_params()
[all …]
H A Dcipher_aes_ocb.c108 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in aes_ocb_init()
235 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in aes_ocb_block_update()
265 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in aes_ocb_block_final()
323 static void aes_ocb_freectx(void *vctx) in aes_ocb_freectx() argument
325 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in aes_ocb_freectx()
329 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in aes_ocb_freectx()
334 static void *aes_ocb_dupctx(void *vctx) in aes_ocb_dupctx() argument
336 PROV_AES_OCB_CTX *in = (PROV_AES_OCB_CTX *)vctx; in aes_ocb_dupctx()
355 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in aes_ocb_set_ctx_params()
419 PROV_AES_OCB_CTX *ctx = (PROV_AES_OCB_CTX *)vctx; in aes_ocb_get_ctx_params()
[all …]
H A Dcipher_rc5.c33 static void rc5_freectx(void *vctx) in rc5_freectx() argument
35 PROV_RC5_CTX *ctx = (PROV_RC5_CTX *)vctx; in rc5_freectx()
37 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in rc5_freectx()
75 static int rc5_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in rc5_set_ctx_params() argument
77 PROV_RC5_CTX *ctx = (PROV_RC5_CTX *)vctx; in rc5_set_ctx_params()
83 if (!ossl_cipher_var_keylen_set_ctx_params(vctx, params)) in rc5_set_ctx_params()
115 static int rc5_get_ctx_params(void *vctx, OSSL_PARAM params[]) in OSSL_PARAM_uint()
117 PROV_RC5_CTX *ctx = (PROV_RC5_CTX *)vctx; in OSSL_PARAM_uint()
120 if (!ossl_cipher_generic_get_ctx_params(vctx, params)) in OSSL_PARAM_uint()
H A Dciphercommon_ccm.c68 int ossl_ccm_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in ossl_ccm_set_ctx_params() argument
70 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_set_ctx_params()
147 int ossl_ccm_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_ccm_get_ctx_params() argument
149 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_get_ctx_params()
229 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ccm_init()
255 int ossl_ccm_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_ccm_einit() argument
259 return ccm_init(vctx, key, keylen, iv, ivlen, params, 1); in ossl_ccm_einit()
266 return ccm_init(vctx, key, keylen, iv, ivlen, params, 0); in ossl_ccm_dinit()
273 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_stream_update()
290 PROV_CCM_CTX *ctx = (PROV_CCM_CTX *)vctx; in ossl_ccm_stream_final()
[all …]
H A Dcipher_rc4_hmac_md5.c67 static void rc4_hmac_md5_freectx(void *vctx) in rc4_hmac_md5_freectx() argument
69 PROV_RC4_HMAC_MD5_CTX *ctx = (PROV_RC4_HMAC_MD5_CTX *)vctx; in rc4_hmac_md5_freectx()
71 ossl_cipher_generic_reset_ctx((PROV_CIPHER_CTX *)vctx); in rc4_hmac_md5_freectx()
75 static void *rc4_hmac_md5_dupctx(void *vctx) in rc4_hmac_md5_dupctx() argument
77 PROV_RC4_HMAC_MD5_CTX *ctx = 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() argument
116 PROV_RC4_HMAC_MD5_CTX *ctx = (PROV_RC4_HMAC_MD5_CTX *)vctx; 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() argument
152 PROV_RC4_HMAC_MD5_CTX *ctx = (PROV_RC4_HMAC_MD5_CTX *)vctx; in rc4_hmac_md5_set_ctx_params()
/openssl/providers/implementations/digests/
H A Dsha3_prov.c70 return keccak_init(vctx, NULL) in keccak_init_params()
76 KECCAK1600_CTX *ctx = vctx; in keccak_update()
115 KECCAK1600_CTX *ctx = vctx; in keccak_final()
134 KECCAK1600_CTX *ctx = vctx; in shake_squeeze()
152 KECCAK1600_CTX *ctx = vctx; in generic_sha3_absorb()
195 KECCAK1600_CTX *ctx = vctx; in s390x_sha3_absorb()
213 KECCAK1600_CTX *ctx = vctx; in s390x_sha3_final()
231 KECCAK1600_CTX *ctx = vctx; in s390x_shake_final()
248 KECCAK1600_CTX *ctx = vctx; in s390x_shake_squeeze()
291 KECCAK1600_CTX *ctx = vctx; in s390x_keccakc_final()
[all …]
/openssl/providers/implementations/kdfs/
H A Dhmacdrbg_kdf.c56 static void hmac_drbg_kdf_reset(void *vctx) in hmac_drbg_kdf_reset() argument
58 KDF_HMAC_DRBG *ctx = (KDF_HMAC_DRBG *)vctx; in hmac_drbg_kdf_reset()
70 static void hmac_drbg_kdf_free(void *vctx) in hmac_drbg_kdf_free() argument
72 KDF_HMAC_DRBG *ctx = (KDF_HMAC_DRBG *)vctx; in hmac_drbg_kdf_free()
94 static void *hmac_drbg_kdf_dup(void *vctx) in hmac_drbg_kdf_dup() argument
119 KDF_HMAC_DRBG *ctx = (KDF_HMAC_DRBG *)vctx; in hmac_drbg_kdf_derive()
141 KDF_HMAC_DRBG *hmac = (KDF_HMAC_DRBG *)vctx; in hmac_drbg_kdf_get_ctx_params()
166 ossl_unused void *vctx, ossl_unused void *p_ctx) in hmac_drbg_kdf_gettable_ctx_params() argument
176 static int hmac_drbg_kdf_set_ctx_params(void *vctx, in hmac_drbg_kdf_set_ctx_params() argument
179 KDF_HMAC_DRBG *hmac = (KDF_HMAC_DRBG *)vctx; in hmac_drbg_kdf_set_ctx_params()
[all …]
H A Dpvkkdf.c64 static void kdf_pvk_free(void *vctx) in kdf_pvk_free() argument
66 KDF_PVK *ctx = (KDF_PVK *)vctx; in kdf_pvk_free()
74 static void *kdf_pvk_dup(void *vctx) in kdf_pvk_dup() argument
76 const KDF_PVK *src = (const KDF_PVK *)vctx; in kdf_pvk_dup()
94 static void kdf_pvk_reset(void *vctx) in kdf_pvk_reset() argument
96 KDF_PVK *ctx = (KDF_PVK *)vctx; in kdf_pvk_reset()
133 static int kdf_pvk_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_pvk_derive() argument
136 KDF_PVK *ctx = (KDF_PVK *)vctx; in kdf_pvk_derive()
179 static int kdf_pvk_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_pvk_set_ctx_params() argument
182 KDF_PVK *ctx = vctx; in kdf_pvk_set_ctx_params()
[all …]
H A Dpbkdf1.c119 static void kdf_pbkdf1_free(void *vctx) in kdf_pbkdf1_free() argument
121 KDF_PBKDF1 *ctx = (KDF_PBKDF1 *)vctx; in kdf_pbkdf1_free()
129 static void kdf_pbkdf1_reset(void *vctx) in kdf_pbkdf1_reset() argument
131 KDF_PBKDF1 *ctx = (KDF_PBKDF1 *)vctx; in kdf_pbkdf1_reset()
138 static void *kdf_pbkdf1_dup(void *vctx) in kdf_pbkdf1_dup() argument
140 const KDF_PBKDF1 *src = (const KDF_PBKDF1 *)vctx; in kdf_pbkdf1_dup()
177 static int kdf_pbkdf1_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_pbkdf1_derive() argument
180 KDF_PBKDF1 *ctx = (KDF_PBKDF1 *)vctx; in kdf_pbkdf1_derive()
201 static int kdf_pbkdf1_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_pbkdf1_set_ctx_params() argument
204 KDF_PBKDF1 *ctx = vctx; in kdf_pbkdf1_set_ctx_params()
[all …]
/openssl/providers/implementations/encode_decode/
H A Dencode_key2ms.c83 static void key2ms_freectx(void *vctx) in key2ms_freectx() argument
85 struct key2ms_ctx_st *ctx = vctx; in key2ms_freectx()
101 static int key2pvk_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in key2pvk_set_ctx_params() argument
103 struct key2ms_ctx_st *ctx = vctx; in key2pvk_set_ctx_params()
112 static int key2ms_does_selection(void *vctx, int selection) in key2ms_does_selection() argument
128 static int key2msblob_encode(void *vctx, const void *key, int selection, in key2msblob_encode() argument
132 struct key2ms_ctx_st *ctx = vctx; in key2msblob_encode()
150 static int key2pvk_encode(void *vctx, const void *key, int selection, in key2pvk_encode() argument
154 struct key2ms_ctx_st *ctx = vctx; in key2pvk_encode()
196 static int impl##2##output##_encode(void *vctx, OSSL_CORE_BIO *cout, \
[all …]
H A Ddecode_spki2typespki.c47 static void spki2typespki_freectx(void *vctx) in spki2typespki_freectx() argument
49 struct spki2typespki_ctx_st *ctx = vctx; in spki2typespki_freectx()
63 static int spki2typespki_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in spki2typespki_set_ctx_params() argument
65 struct spki2typespki_ctx_st *ctx = vctx; in spki2typespki_set_ctx_params()
76 static int spki2typespki_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, in spki2typespki_decode() argument
80 struct spki2typespki_ctx_st *ctx = vctx; in spki2typespki_decode()

Completed in 103 milliseconds

1234