Home
last modified time | relevance | path

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

/external/syslinux/gpxe/src/include/gpxe/
Dcbc.h61 #define CBC_CIPHER( _cbc_name, _cbc_cipher, _raw_cipher, _raw_context, \ argument
63 struct _cbc_name ## _context { \
67 static int _cbc_name ## _setkey ( void *ctx, const void *key, \
69 struct _cbc_name ## _context * _cbc_name ## _ctx = ctx; \
70 return cbc_setkey ( &_cbc_name ## _ctx->raw_ctx, key, keylen, \
71 &_raw_cipher, &_cbc_name ## _ctx->cbc_ctx );\
73 static void _cbc_name ## _setiv ( void *ctx, const void *iv ) { \
74 struct _cbc_name ## _context * _cbc_name ## _ctx = ctx; \
75 cbc_setiv ( &_cbc_name ## _ctx->raw_ctx, iv, \
78 static void _cbc_name ## _encrypt ( void *ctx, const void *src, \
[all …]