Lines Matching refs:lc
253 #define IMPLEMENT_cipher(alg, lc, UCMODE, flags, kbits, blkbits, ivbits) \ argument
254 static OSSL_FUNC_cipher_newctx_fn alg##kbits##lc##_newctx; \
255 static OSSL_FUNC_cipher_freectx_fn alg##_##lc##_freectx; \
256 static OSSL_FUNC_cipher_dupctx_fn lc##_dupctx; \
257 static OSSL_FUNC_cipher_encrypt_init_fn lc##_einit; \
258 static OSSL_FUNC_cipher_decrypt_init_fn lc##_dinit; \
259 static OSSL_FUNC_cipher_update_fn lc##_stream_update; \
260 static OSSL_FUNC_cipher_final_fn lc##_stream_final; \
261 static OSSL_FUNC_cipher_cipher_fn lc##_cipher; \
262 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lc##_get_params; \
263 static OSSL_FUNC_cipher_get_ctx_params_fn alg##_##lc##_get_ctx_params; \
265 alg##_##lc##_gettable_ctx_params; \
266 static OSSL_FUNC_cipher_set_ctx_params_fn alg##_##lc##_set_ctx_params; \
268 alg##_##lc##_settable_ctx_params; \
269 static int alg##_##kbits##_##lc##_get_params(OSSL_PARAM params[]) \
274 static void *alg##kbits##lc##_newctx(void *provctx) \
276 return alg##_##lc##_newctx(provctx, 2*kbits, EVP_CIPH_##UCMODE##_MODE, \
279 const OSSL_DISPATCH ossl_##alg##kbits##lc##_functions[] = { \
280 { OSSL_FUNC_CIPHER_NEWCTX, (void (*)(void))alg##kbits##lc##_newctx }, \
281 { OSSL_FUNC_CIPHER_FREECTX, (void (*)(void))alg##_##lc##_freectx }, \
282 { OSSL_FUNC_CIPHER_DUPCTX, (void (*)(void)) lc##_dupctx }, \
283 { OSSL_FUNC_CIPHER_ENCRYPT_INIT, (void (*)(void)) lc##_einit }, \
284 { OSSL_FUNC_CIPHER_DECRYPT_INIT, (void (*)(void)) lc##_dinit }, \
285 { OSSL_FUNC_CIPHER_UPDATE, (void (*)(void)) lc##_stream_update }, \
286 { OSSL_FUNC_CIPHER_FINAL, (void (*)(void)) lc##_stream_final }, \
287 { OSSL_FUNC_CIPHER_CIPHER, (void (*)(void)) lc##_cipher }, \
289 (void (*)(void)) alg##_##kbits##_##lc##_get_params }, \
293 (void (*)(void)) alg##_##lc##_get_ctx_params }, \
295 (void (*)(void)) alg##_##lc##_gettable_ctx_params }, \
297 (void (*)(void)) alg##_##lc##_set_ctx_params }, \
299 (void (*)(void)) alg##_##lc##_settable_ctx_params }, \