Lines Matching refs:alg

134 # define IMPLEMENT_generic_cipher_func(alg, UCALG, lcmode, UCMODE, flags, kbits,\  argument
136 const OSSL_DISPATCH ossl_##alg##kbits##lcmode##_functions[] = { \
138 (void (*)(void)) alg##_##kbits##_##lcmode##_newctx }, \
139 { OSSL_FUNC_CIPHER_FREECTX, (void (*)(void)) alg##_freectx }, \
140 { OSSL_FUNC_CIPHER_DUPCTX, (void (*)(void)) alg##_dupctx }, \
147 (void (*)(void)) alg##_##kbits##_##lcmode##_get_params }, \
161 # define IMPLEMENT_var_keylen_cipher_func(alg, UCALG, lcmode, UCMODE, flags, \ argument
163 const OSSL_DISPATCH ossl_##alg##kbits##lcmode##_functions[] = { \
165 (void (*)(void)) alg##_##kbits##_##lcmode##_newctx }, \
166 { OSSL_FUNC_CIPHER_FREECTX, (void (*)(void)) alg##_freectx }, \
167 { OSSL_FUNC_CIPHER_DUPCTX, (void (*)(void)) alg##_dupctx }, \
174 (void (*)(void)) alg##_##kbits##_##lcmode##_get_params }, \
189 # define IMPLEMENT_generic_cipher_genfn(alg, UCALG, lcmode, UCMODE, flags, \ argument
191 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lcmode##_get_params; \
192 static int alg##_##kbits##_##lcmode##_get_params(OSSL_PARAM params[]) \
197 static OSSL_FUNC_cipher_newctx_fn alg##_##kbits##_##lcmode##_newctx; \
198 static void * alg##_##kbits##_##lcmode##_newctx(void *provctx) \
205 ossl_prov_cipher_hw_##alg##_##lcmode(kbits),\
211 # define IMPLEMENT_generic_cipher(alg, UCALG, lcmode, UCMODE, flags, kbits, \ argument
213 IMPLEMENT_generic_cipher_genfn(alg, UCALG, lcmode, UCMODE, flags, kbits, \
215 IMPLEMENT_generic_cipher_func(alg, UCALG, lcmode, UCMODE, flags, kbits, \
218 # define IMPLEMENT_var_keylen_cipher(alg, UCALG, lcmode, UCMODE, flags, kbits, \ argument
220 IMPLEMENT_generic_cipher_genfn(alg, UCALG, lcmode, UCMODE, flags, kbits, \
222 IMPLEMENT_var_keylen_cipher_func(alg, UCALG, lcmode, UCMODE, flags, kbits, \