Ticket #8928: 0006-Package-ccm-crypto-module.patch

File 0006-Package-ccm-crypto-module.patch, 1.1 KB (added by kevinoid, 6 years ago)

Patch to add a package for the ccm module

  • package/kernel/modules/crypto.mk

    From 5b79e8f2ee7772c3756ed82fc621abb571d19e77 Mon Sep 17 00:00:00 2001
    From: Kevin Locke <klocke@digitalenginesoftware.com>
    Date: Wed, 23 Feb 2011 13:04:00 -0700
    Subject: [PATCH 6/8] Package ccm crypto module
    
    This module provides the "Counter with CBC MAC" used by most (all?)
    IPSec configurations.
    
    Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>
    ---
     package/kernel/modules/crypto.mk |   12 ++++++++++++
     1 files changed, 12 insertions(+), 0 deletions(-)
    
    diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
    index d6dd4f7..763ce78 100644
    a b endef 
    252252$(eval $(call KernelPackage,crypto-cbc)) 
    253253 
    254254 
     255define KernelPackage/crypto-ccm 
     256  TITLE:=Counter with CBC MAC for IPSec 
     257  DEPENDS:=+kmod-crypto-ctr 
     258  KCONFIG:=CONFIG_CRYPTO_CCM 
     259  FILES:=$(LINUX_DIR)/crypto/ccm.ko 
     260  AUTOLOAD:=$(call AutoLoad,09,ccm) 
     261  $(call AddDepends/crypto) 
     262endef 
     263 
     264$(eval $(call KernelPackage,crypto-ccm)) 
     265 
     266 
    255267define KernelPackage/crypto-ctr 
    256268  TITLE:=Counter mode block cipher algorithm for IPSec. 
    257269  DEPENDS:=+kmod-crypto-seqiv