Home
last modified time | relevance | path

Searched refs:lcmode (Results 1 – 7 of 7) sorted by relevance

/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_tdes.h31 #define IMPLEMENT_tdes_cipher(type, UCTYPE, lcmode, UCMODE, flags, \ argument
33 static OSSL_FUNC_cipher_newctx_fn tdes_##type##_##lcmode##_newctx; \
34 static void *tdes_##type##_##lcmode##_newctx(void *provctx) \
38 ossl_prov_cipher_hw_tdes_##type##_##lcmode()); \
40 static OSSL_FUNC_cipher_get_params_fn tdes_##type##_##lcmode##_get_params; \
41 static int tdes_##type##_##lcmode##_get_params(OSSL_PARAM params[]) \
46 const OSSL_DISPATCH ossl_tdes_##type##_##lcmode##_functions[] = { \
55 (void (*)(void))tdes_##type##_##lcmode##_newctx }, \
59 (void (*)(void))tdes_##type##_##lcmode##_get_params }, \
H A Dcipher_cts.h13 #define IMPLEMENT_cts_cipher(alg, UCALG, lcmode, UCMODE, flags, kbits, \ argument
15 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lcmode##_get_params; \
16 static int alg##_cts_##kbits##_##lcmode##_get_params(OSSL_PARAM params[]) \
21 const OSSL_DISPATCH ossl_##alg##kbits##lcmode##_cts_functions[] = { \
23 (void (*)(void)) alg##_##kbits##_##lcmode##_newctx }, \
34 (void (*)(void)) alg##_cts_##kbits##_##lcmode##_get_params }, \
H A Dcipher_rc5.c132 #define IMPLEMENT_cipher(alg, UCALG, lcmode, UCMODE, flags, kbits, \ argument
134 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lcmode##_get_params; \
135 static int alg##_##kbits##_##lcmode##_get_params(OSSL_PARAM params[]) \
140 static OSSL_FUNC_cipher_newctx_fn alg##_##kbits##_##lcmode##_newctx; \
141 static void * alg##_##kbits##_##lcmode##_newctx(void *provctx) \
150 ossl_prov_cipher_hw_##alg##_##lcmode(kbits),\
156 const OSSL_DISPATCH ossl_##alg##kbits##lcmode##_functions[] = { \
158 (void (*)(void)) alg##_##kbits##_##lcmode##_newctx }, \
167 (void (*)(void)) alg##_##kbits##_##lcmode##_get_params }, \
H A Dcipher_des.c152 #define IMPLEMENT_des_cipher(type, lcmode, UCMODE, flags, \ argument
154 static OSSL_FUNC_cipher_newctx_fn type##_##lcmode##_newctx; \
155 static void *des_##lcmode##_newctx(void *provctx) \
159 ossl_prov_cipher_hw_des_##lcmode()); \
161 static OSSL_FUNC_cipher_get_params_fn des_##lcmode##_get_params; \
162 static int des_##lcmode##_get_params(OSSL_PARAM params[]) \
167 const OSSL_DISPATCH ossl_##des_##lcmode##_functions[] = { \
175 (void (*)(void))des_##lcmode##_newctx }, \
179 (void (*)(void))des_##lcmode##_get_params }, \
H A Dcipher_rc2.c222 #define IMPLEMENT_cipher(alg, UCALG, lcmode, UCMODE, flags, kbits, blkbits, \ argument
224 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lcmode##_get_params; \
225 static int alg##_##kbits##_##lcmode##_get_params(OSSL_PARAM params[]) \
230 static OSSL_FUNC_cipher_newctx_fn alg##_##kbits##_##lcmode##_newctx; \
231 static void * alg##_##kbits##_##lcmode##_newctx(void *provctx) \
240 ossl_prov_cipher_hw_##alg##_##lcmode(kbits), \
246 const OSSL_DISPATCH ossl_##alg##kbits##lcmode##_functions[] = { \
248 (void (*)(void)) alg##_##kbits##_##lcmode##_newctx }, \
257 (void (*)(void)) alg##_##kbits##_##lcmode##_get_params }, \
H A Dcipher_aes_xts.c255 #define IMPLEMENT_cipher(lcmode, UCMODE, kbits, flags) \ argument
256 static OSSL_FUNC_cipher_get_params_fn aes_##kbits##_##lcmode##_get_params; \
257 static int aes_##kbits##_##lcmode##_get_params(OSSL_PARAM params[]) \
279 (void (*)(void))aes_##kbits##_##lcmode##_get_params }, \
/freebsd/crypto/openssl/providers/implementations/include/prov/
H A Dciphercommon.h130 #define IMPLEMENT_generic_cipher_func(alg, UCALG, lcmode, UCMODE, flags, kbits,\
132 const OSSL_DISPATCH ossl_##alg##kbits##lcmode##_functions[] = { \
134 (void (*)(void)) alg##_##kbits##_##lcmode##_newctx }, \
143 (void (*)(void)) alg##_##kbits##_##lcmode##_get_params }, \
157 #define IMPLEMENT_var_keylen_cipher_func(alg, UCALG, lcmode, UCMODE, flags, \
159 const OSSL_DISPATCH ossl_##alg##kbits##lcmode##_functions[] = { \
161 (void (*)(void)) alg##_##kbits##_##lcmode##_newctx }, \
170 (void (*)(void)) alg##_##kbits##_##lcmode##_get_params }, \
185 #define IMPLEMENT_generic_cipher_genfn(alg, UCALG, lcmode, UCMODE, flags, \
187 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lcmode##_get_param
129 IMPLEMENT_generic_cipher_func(alg,UCALG,lcmode,UCMODE,flags,kbits,blkbits,ivbits,typ) global() argument
156 IMPLEMENT_var_keylen_cipher_func(alg,UCALG,lcmode,UCMODE,flags,kbits,blkbits,ivbits,typ) global() argument
184 IMPLEMENT_generic_cipher_genfn(alg,UCALG,lcmode,UCMODE,flags,kbits,blkbits,ivbits,typ) global() argument
206 IMPLEMENT_generic_cipher(alg,UCALG,lcmode,UCMODE,flags,kbits,blkbits,ivbits,typ) global() argument
213 IMPLEMENT_var_keylen_cipher(alg,UCALG,lcmode,UCMODE,flags,kbits,blkbits,ivbits,typ) global() argument
[all...]