• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v32/drivers/

Lines Matching defs:tcfg

80 	struct cryptocop_tfrm_cfg *tcfg;
439 if ((tc->tctx->init.alg == cryptocop_alg_aes) && (tc->tcfg->flags & CRYPTOCOP_DECRYPT)) {
496 iv_desc->dma_descr->buf = (char*)virt_to_phys(tc->tcfg->iv);
531 if (((tc->produced + tc->tcfg->inject_ix) > operation->tfrm_op.outlen) || (tc->produced && (operation->tfrm_op.outlen == 0))) {
536 while ((outiov_ix < operation->tfrm_op.outcount) && ((out_ix + operation->tfrm_op.outdata[outiov_ix].iov_len) <= tc->tcfg->inject_ix)){
544 iov_offset = tc->tcfg->inject_ix - out_ix;
641 if (tc->tcfg) {
718 .tcfg = NULL};
737 .tcfg = NULL};
755 .tcfg = NULL,
759 struct cryptocop_tfrm_cfg *tcfg = operation->tfrm_op.tfrm_cfg;
813 if (!tcfg) {
818 while (tcfg) {
819 tctx = get_transform_ctx(sess, tcfg->tid);
821 DEBUG_API(printk("cryptocop_setup_dma_list: no transform id %d in session.\n", tcfg->tid));
825 if (tcfg->inject_ix > operation->tfrm_op.outlen){
826 DEBUG_API(printk("cryptocop_setup_dma_list: transform id %d inject_ix (%d) > operation->tfrm_op.outlen(%d)", tcfg->tid, tcfg->inject_ix, operation->tfrm_op.outlen));
832 if (cipher_ctx.tcfg != NULL){
843 cipher_ctx.tcfg = tcfg;
850 if (cipher_ctx.tcfg != NULL){
855 cipher_ctx.tcfg = tcfg;
857 if (cipher_ctx.tcfg->flags & CRYPTOCOP_DECRYPT){
897 if (digest_ctx.tcfg != NULL){
902 digest_ctx.tcfg = tcfg;
922 if (csum_ctx.tcfg != NULL){
928 csum_ctx.tcfg = tcfg;
933 DEBUG_API(printk("cryptocop_setup_dma_list: invalid algorithm %d specified in tfrm %d.\n", tctx->init.alg, tcfg->tid));
937 tcfg = tcfg->next;
940 if (cipher_ctx.tcfg && (cipher_ctx.tctx->init.alg != cryptocop_alg_mem2mem)){
953 if ((cipher_ctx.tctx->init.cipher_mode == cryptocop_cipher_mode_cbc) && (cipher_ctx.tcfg->flags & CRYPTOCOP_EXPLICIT_IV)) {
986 if (digest_ctx.tcfg && (digest_ctx.tcfg->tid == dcfg->tid)){
988 } else if (cipher_ctx.tcfg && (cipher_ctx.tcfg->tid == dcfg->tid)){
990 } else if (csum_ctx.tcfg && (csum_ctx.tcfg->tid == dcfg->tid)){
1127 if (cipher_ctx.cbcmode && !(cipher_ctx.tcfg->flags & CRYPTOCOP_EXPLICIT_IV) && cipher_ctx.produced){
1247 if (cipher_ctx.tcfg && (cipher_ctx.active || !cipher_ctx.done)){
1252 if (digest_ctx.tcfg && (digest_ctx.active || !digest_ctx.done)){
1257 if (csum_ctx.tcfg && (csum_ctx.active || !csum_ctx.done)){