Lines Matching refs:lc
18 # define IMPLEMENT_aead_cipher(alg, lc, UCMODE, flags, kbits, blkbits, ivbits) \ argument
19 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lc##_get_params; \
20 static int alg##_##kbits##_##lc##_get_params(OSSL_PARAM params[]) \
25 static OSSL_FUNC_cipher_newctx_fn alg##kbits##lc##_newctx; \
26 static void * alg##kbits##lc##_newctx(void *provctx) \
28 return alg##_##lc##_newctx(provctx, kbits); \
30 static void * alg##kbits##lc##_dupctx(void *src) \
32 return alg##_##lc##_dupctx(src); \
34 const OSSL_DISPATCH ossl_##alg##kbits##lc##_functions[] = { \
35 { OSSL_FUNC_CIPHER_NEWCTX, (void (*)(void))alg##kbits##lc##_newctx }, \
36 { OSSL_FUNC_CIPHER_FREECTX, (void (*)(void))alg##_##lc##_freectx }, \
37 { OSSL_FUNC_CIPHER_DUPCTX, (void (*)(void))alg##kbits##lc##_dupctx }, \
38 { OSSL_FUNC_CIPHER_ENCRYPT_INIT, (void (*)(void))ossl_##lc##_einit }, \
39 { OSSL_FUNC_CIPHER_DECRYPT_INIT, (void (*)(void))ossl_##lc##_dinit }, \
40 { OSSL_FUNC_CIPHER_UPDATE, (void (*)(void))ossl_##lc##_stream_update }, \
41 { OSSL_FUNC_CIPHER_FINAL, (void (*)(void))ossl_##lc##_stream_final }, \
42 { OSSL_FUNC_CIPHER_CIPHER, (void (*)(void))ossl_##lc##_cipher }, \
44 (void (*)(void)) alg##_##kbits##_##lc##_get_params }, \
46 (void (*)(void)) ossl_##lc##_get_ctx_params }, \
48 (void (*)(void)) ossl_##lc##_set_ctx_params }, \