Lines Matching refs:alg
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 }, \
44 (void (*)(void)) alg##_##kbits##_##lc##_get_params }, \