Searched refs:cbc_ctx (Results 1 – 2 of 2) sorted by relevance
/external/syslinux/gpxe/src/include/gpxe/ |
D | cbc.h | 26 void *cbc_ctx __unused ) { in cbc_setkey() 41 void *cbc_ctx ) { in cbc_setiv() argument 42 memcpy ( cbc_ctx, iv, raw_cipher->blocksize ); in cbc_setiv() 47 void *cbc_ctx ); 50 void *cbc_ctx ); 65 uint8_t cbc_ctx[_blocksize]; \ 71 &_raw_cipher, &_cbc_name ## _ctx->cbc_ctx );\ 76 &_raw_cipher, &aes_cbc_ctx->cbc_ctx ); \ 82 &_raw_cipher, &aes_cbc_ctx->cbc_ctx ); \ 88 &_raw_cipher, &aes_cbc_ctx->cbc_ctx ); \
|
/external/syslinux/gpxe/src/crypto/ |
D | cbc.c | 62 struct cipher_algorithm *raw_cipher, void *cbc_ctx ) { in cbc_encrypt() argument 68 cbc_xor ( src, cbc_ctx, blocksize ); in cbc_encrypt() 69 cipher_encrypt ( raw_cipher, ctx, cbc_ctx, dst, blocksize ); in cbc_encrypt() 70 memcpy ( cbc_ctx, dst, blocksize ); in cbc_encrypt() 88 struct cipher_algorithm *raw_cipher, void *cbc_ctx ) { in cbc_decrypt() argument 95 cbc_xor ( cbc_ctx, dst, blocksize ); in cbc_decrypt() 96 memcpy ( cbc_ctx, src, blocksize ); in cbc_decrypt()
|