On 07/24/2011 10:04 PM, Philip Prindeville wrote: > On 7/24/11 7:54 AM, Hauke Mehrtens wrote: >> On 07/24/2011 12:55 AM, Philip Prindeville wrote: >>> Fixes problem with TFM allocation in cryptosoft.c >>> >>> When checking in, please do: >>> >>> svn rename patches-2.6.39/941-ocf_20105030.patch >>> patches-2.6.39/941-ocf_20110720.patch >>> >>> for each "patches" directory before committing (but after applying patch, >>> obviously). >>> >>> Redux to include 2.6.30 - 32, as per Hauke's comment. >>> >>> Signed-off-by: Philip Prindeville <[email protected]> >>> >> Hi Philip, >> >> I applied the patch with some changes in r27753. >> >> * remove ubsec_ssb package and take it from ocf-linux > > What was the problem with ubsec_ssb? That is not a problem. ubsec_ssb is some driver for the ipsec accelerator on some bcm47xx SoCs and it was in some package in OpenWrt. Now ocf linux contains this (copied the OpenWrt version) and it is cleaner to just use that version. > >> * use patches from ocf-linux package > > I had used the patches from ocf-linux... the change I made was to replace > linux-2.6.??.orig/ with "a/" and linux-2.6.??/ with "b/" in the --- and +++ > lines... but other than that they should have been identical. > >> * refresh all patches >> * readd some build fixes for OpenWrt. > > What build fixes were these? I do not exactly any more I think the patches did not apply for kernel 2.6.37. > >> * readd CRYPTO_MANAGER dependency > > For cryptosoft? According to the Kconfig that comes with the latest > ocf-linux, it no longer has a dependency on crypto-manager, that's why I took > it out.
This dependency was added in OpenWrt (see: https://dev.openwrt.org/changeset/26402 ). Without it I get the following error when loading the module: cryptosoft: Unknown symbol crypto_alloc_ahash (err 0) cryptosoft: Unknown symbol crypto_ahash_setkey (err 0) cryptosoft: Unknown symbol crypto_alloc_ablkcipher (err 0) cryptosoft: Unknown symbol crypto_ahash_digest (err 0) I also added these 3 things: https://dev.openwrt.org/changeset/21373/ https://dev.openwrt.org/changeset/21849/ https://dev.openwrt.org/changeset/21854/ Hauke _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
