ChangeLog 46 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960
  1. 2008-09-18 01:27 davidm
  2. * Makefile, README, README.sglinux,
  3. patches/linux-2.6.26-natt.patch, patches/linux-2.6.26-ocf.patch,
  4. patches/openssl-0.9.8g.patch, patches/openssl-0.9.8i.patch:
  5. Updates for a new OCF release with openssl-0.9.8i and linux-2.6.26
  6. support.
  7. 2008-09-18 00:19 davidm
  8. * Config.in, Kconfig, Makefile, ep80579/Makefile,
  9. ep80579/environment.mk, ep80579/icp_asym.c, ep80579/icp_common.c,
  10. ep80579/icp_ocf.h, ep80579/icp_sym.c,
  11. ep80579/linux_2.6_kernel_space.mk:
  12. A new driver from Intel for their Intel QuickAssist enabled EP80579
  13. Integrated Processor Product Line.
  14. Adrian Hoban Brad Vrabete
  15. 2008-07-25 01:01 gerg
  16. * ocf-compat.h:
  17. From linux-2.6.26 onwards there is now a linux/fdtable.h include
  18. that contains the file_fdtable() definition.
  19. 2008-07-05 01:20 davidm
  20. * Makefile, patches/linux-2.6.25-natt.patch,
  21. patches/linux-2.6.25-ocf.patch:
  22. A new ocf-linux release and some patches to send to the OS guys.
  23. 2008-07-03 21:21 davidm
  24. * crypto.c:
  25. Clean up a some possible deadlock/busy wait issues with
  26. locking/sleeping. This has greatly improved openswan 2.6.14
  27. reliability ;-)
  28. Make more of our state available in /sys for debugging.
  29. 2008-06-23 20:38 davidm
  30. * Config.in, Kconfig:
  31. Some settings should be bool's John Gumb
  32. 2008-05-28 03:43 philipc
  33. * ixp4xx/ixp4xx.c: Revert previous checkin since the
  34. callbacks are meant to complete the crypto request. Before
  35. reverting this, CONFIG_DEBUG_SLAB gives: slab error in
  36. verify_redzone_free(): cache `ixp4xx_q': double free detected when
  37. trying to ssh to the device.
  38. 2008-04-27 19:31 davidm
  39. * ixp4xx/ixp4xx.c:
  40. We were not completing a crypto request under some error
  41. conditions.
  42. 2008-04-02 01:51 davidm
  43. * talitos/talitos.c:
  44. This patch is for crypto/ocf/talitos for use on linux 2.6.23. It
  45. is applied to the ocf-linux-20071215 release.
  46. Signed-off-by: Lee Nipper
  47. 2008-02-29 00:43 davidm
  48. * crypto.c, ocf-compat.h, ixp4xx/ixp4xx.c:
  49. freshen up the 2.4 support, some recent OCF changes and openswan
  50. changes are not that old-os friendly.
  51. Force OCF to select HW/SW, otherwise it may get stuck on the first
  52. device. This change means we will favour HW over SW, but we will
  53. use both as required. Passing in a crid of 0 to crypto_newsession
  54. effectively meant we were stuck on the first device registered with
  55. OCF, not good. This only applied to ipsec, cryptodev already did
  56. the right thing.
  57. 2008-01-31 07:37 gerg
  58. * hifn/hifn7751.c:
  59. The linux-2.6.24 modules build fails if the pci ID table doesn't
  60. have a NULL entry at the end. So add one.
  61. 2008-01-29 09:16 gerg
  62. * cryptosoft.c, ocf-compat.h:
  63. Added some compatability macros for scatterlist changes from 2.6.24
  64. onwards.
  65. 2007-12-16 07:31 davidm
  66. * Makefile:
  67. missed an openssl patch name change
  68. 2007-12-16 07:27 davidm
  69. * Makefile, README, README.sglinux, patches/linux-2.6.23-ocf.patch,
  70. patches/openssl-0.9.8e.patch, patches/openssl-0.9.8g.patch,
  71. patches/ssl.patch:
  72. updates for a new ocf release and associated bits
  73. 2007-12-16 06:36 davidm
  74. * crypto.c:
  75. Be very careful what you do while potentially in an driver unload
  76. state or we will call through NULL pointers.
  77. Reported by Nawang Chhetan .
  78. 2007-12-14 22:32 davidm
  79. * cryptodev.c:
  80. Add in an unlock_ioctl when available to help SMP systems a lot.
  81. Otherwise all ioctls get a BKL :-(
  82. Problem found by Egor N. Martovetsky
  83. 2007-12-14 18:29 davidm
  84. * cryptosoft.c:
  85. reformat the alg table to make it easier to read.
  86. 2007-12-14 18:29 davidm
  87. * crypto.c:
  88. Fix more driver locking/sleeping bugs report by Nawang Chhetan
  89. 2007-12-12 21:36 davidm
  90. * Config.in, Kconfig, Makefile, pasemi/Makefile, pasemi/pasemi.c,
  91. pasemi/pasemi_fnu.h:
  92. Here I'm including my PA Semi driver patch to OCF. Please consider
  93. it for inclusion into next OCF release.
  94. Egor N. Martovetsky
  95. 2007-12-05 00:37 davidm
  96. * patches/: linux-2.4.35-ocf.patch, linux-2.6.22-ocf.patch:
  97. More correct count setting if we get a signal
  98. Adrian Hoban
  99. 2007-12-05 00:02 davidm
  100. * random.c:
  101. OCF has a static array for holding random data. The random number
  102. generator I have can write directly into physically contiguous
  103. memory. Static memory comes from the heap and isn't physically
  104. contiguous. I could use kmalloc'd memory and then copy into the OCF
  105. static buf but I'd like to avoid a memory copy. The following patch
  106. (Physically_Contig_Rand.patch) allows me to avoid a memory copy and
  107. should not impact the other OCF drivers:
  108. Adrian Hoban
  109. 2007-12-05 00:01 davidm
  110. * Kconfig:
  111. Fix a typo in the Kconfig
  112. 2007-11-23 19:15 davidm
  113. * talitos/talitos_dev.h:
  114. fix the DPRINTF macro so that it actually compiles.
  115. 2007-11-22 19:41 davidm
  116. * ocf-compat.h, talitos/talitos.c, talitos/talitos_dev.h:
  117. Various updates to get talitos compiling and work on real-world (ie
  118. ubuntu) kernels.
  119. 2007-11-08 02:21 davidm
  120. * crypto.c:
  121. keep and eye on us being completely blocked. If we have Q's to
  122. process, but all the requests are blocked, sleep. We do not want
  123. to busy loop until a driver unblocks as it uses valuable CPU
  124. resources that could be doing something much more important ;-)
  125. 2007-11-07 19:04 davidm
  126. * hifn/hifn7751.c:
  127. hifn driver was failing to unblock itself under some "out of
  128. resources" conditions. It would return ERESTART to signal it was
  129. full but never call crypto_unblock to start things moving again.
  130. 2007-11-06 02:09 davidm
  131. * hifn/hifn7751.c:
  132. Remove some bogus trace left in the driver for the overflow (too
  133. busy) case.
  134. 2007-10-12 21:10 gerg
  135. * crypto.c, ixp4xx/ixp4xx.c:
  136. Fix up use of kmem_cache_create() - it takes one less argument in
  137. 2.6.23 onwards.
  138. 2007-10-03 02:41 gerg
  139. * ixp4xx/Makefile:
  140. The directory locations for includes in CSR-2.4 is different. Need
  141. to modify the CFLAGS accordingly if using CSR-2.4.
  142. 2007-09-22 00:39 philipc
  143. * ixp4xx/Makefile: linux 2.4 make dep was failing. This is
  144. a quick fix to get it building, need to double check this.
  145. 2007-09-19 00:13 mmccreat
  146. * Config.in: Add config option CONFIG_OCF_IXP4XX_SHA1_MD5,
  147. that enables SHA1 and MD5 hashing to be done by the IXP4xx crypto
  148. accelerator (although it is much slower than using cryptosoft).
  149. 2007-09-18 21:45 mmccreat
  150. * Makefile, random.c: - Force the inclusion of autoconf.h,
  151. which contains #defines for CONFIG_xxx options for OCF. -
  152. Removing additional -D option, now that we are including the
  153. CONFIG_xxx #defines.
  154. 2007-09-18 21:44 mmccreat
  155. * Kconfig: Add config option CONFIG_OCF_IXP4XX_SHA1_MD5,
  156. that enables SHA1 and MD5 hashing to be done by the IXP4xx crypto
  157. accelerator (although it is much slower than using cryptosoft).
  158. 2007-09-18 21:37 mmccreat
  159. * cryptodev.h: The CRYPTO_MAX_DATA_LEN limit should be
  160. 0xFFFF ie 64K - 1.
  161. 2007-09-18 21:19 mmccreat
  162. * ixp4xx/ixp4xx.c: - Rework the code so that the correct IXP
  163. function, ixCryptoAccHashPerform(), is used to calculate SHA1 and
  164. MD5 hashes. NB: The performance of using the IXP4xx hardware is
  165. really, really poor compared to using cryptosoft (and the kernel
  166. crypto). - Only support SHA1 and MD5 hashing if the
  167. CONFIG_OCF_IXP4XX_SHA1_MD5 is enabled.
  168. 2007-08-30 21:42 davidm
  169. * Makefile:
  170. do not archive build files in the crypto-tools archive
  171. 2007-08-22 19:19 mmccreat
  172. * cryptodev.c: Fix up the checking for key lengths, when the
  173. key can be of unlimited size.
  174. 2007-08-16 01:50 davidm
  175. * Makefile:
  176. Better 2.4 compat for "make dep" now working with fastdep.
  177. 2007-07-28 08:25 davidm
  178. * Makefile, README, README.sglinux, patches/crypto-tools.patch,
  179. patches/linux-2.4.29-ocf.patch, patches/linux-2.4.35-ocf.patch,
  180. patches/linux-2.6.11-ocf.patch, patches/linux-2.6.22-ocf.patch,
  181. patches/ssl.patch:
  182. Update all the patches and put the patch making target back into
  183. the Makefile.
  184. 2007-07-28 08:25 davidm
  185. * hifn/hifn7751.c:
  186. fix an unused variable warning when HARVESTING is disabled
  187. 2007-07-27 21:33 davidm
  188. * hifn/hifn7751.c, ixp4xx/ixp4xx.c, safe/safe.c, talitos/talitos.c:
  189. Remove all the random code if OCF does not have radom harvesting
  190. enabled.
  191. 2007-07-26 00:36 davidm
  192. * Kconfig, hifn/hifnHIPP.c, hifn/hifnHIPPvar.h:
  193. Changes to get the hifn HIPP stub driver to build.
  194. 2007-07-25 21:25 davidm
  195. * Makefile, hifn/Makefile, hifn/hifnHIPP.c, hifn/hifnHIPPreg.h,
  196. hifn/hifnHIPPvar.h, ixp4xx/Makefile, ocfnull/Makefile,
  197. safe/Makefile, talitos/Makefile:
  198. Bring in the hifnHIPP driver written by Xelerance. This is the
  199. super hifn chip with full protocol offload.
  200. Switch to much more traditional Makefile/subdir building. The
  201. Makefiles are nicer now, but still not beautiful, 2.6 and 2.4
  202. capable builds result in a certain amount of uglyiness.
  203. 2007-07-24 21:46 davidm
  204. * cryptodev.c:
  205. Clean up all the driver id checking and session management so
  206. adding/removing drivers all continues to run cleanly.
  207. 2007-07-24 20:14 davidm
  208. * talitos/talitos.c:
  209. From: Ahsan Kabir
  210. less than .1% packet corruption was detected using the talitos
  211. driver. It turns out we don't need the cipher iv out len/ptr field
  212. to do ESP IPsec. Therefore we set the len field as 0, which tells
  213. the SEC not to do anything with this len/ptr field.
  214. Signed-off-by: Ahsan Kabir
  215. Signed-off-by: Kim Phillips
  216. 2007-07-24 08:25 davidm
  217. * cryptosoft.c, ocf-bench.c, hifn/hifn7751.c, ixp4xx/ixp4xx.c,
  218. safe/safe.c, talitos/talitos.c:
  219. Switch the remaining GFP_ATOMIC to the newer and not deprecated
  220. SLAB_ATOMIC
  221. 2007-07-23 22:16 mmccreat
  222. * ixp4xx/ixp4xx.c: Add missing ";" from end of dprintk()
  223. call!
  224. 2007-07-21 01:16 davidm
  225. * ocf-compat.h, rndtest.c, hifn/hifn7751.c, safe/safe.c:
  226. pci_register_driver is nothing like it is depending on the kernel,
  227. so we need a compat function to fix it up for all kernels before
  228. 2.6.10, and in different ways for older and not so older versions.
  229. 2007-07-20 21:54 davidm
  230. * safe/safe.c:
  231. Make the debug macro ';' safe so you do not get compiler warnings
  232. 2007-07-20 21:53 davidm
  233. * talitos/: talitos.c, talitos_dev.h, talitos_soft.h:
  234. update to the latest FreeBSD driver structure and fix up the code
  235. as required.
  236. 2007-07-20 03:07 davidm
  237. * rndtest.c:
  238. more headers needed to compile on 2.4
  239. 2007-07-20 03:00 davidm
  240. * cryptosoft.c:
  241. Put in the 2.4 stubs to support compression
  242. 2007-07-20 02:53 davidm
  243. * crypto.c, ocf-compat.h:
  244. move some more compat stuff into the compat header.
  245. 2007-07-20 02:47 davidm
  246. * talitos/talitos.c:
  247. support of_platform_driver for newer, ARCH=powerpc based kernels.
  248. Signed-off-by: Kim Phillips
  249. 2007-07-20 02:46 davidm
  250. * talitos/talitos.c:
  251. From: Ahsan Kabir
  252. When Talitos completes job both the channel and execution unit are
  253. capable of generating interrupts. Talitos used to take two
  254. interrupts per request - one for channel completion and the other
  255. for execution unit completion. This patch ensures that Talitos
  256. takes interrupt only for channel completion. Execution unit will
  257. generate interrupt only when there is error and the error
  258. interrupts for execution units are not masked.
  259. Signed-off-by: Ahsan Kabir
  260. Signed-off-by: Kim Phillips
  261. 2007-07-20 02:37 davidm
  262. * cryptodev.c:
  263. Unless the user specifies, select from both HW and SW.
  264. Clean up some debug to report the actual ioctl name.
  265. Compiler warning on newer compilers.
  266. 2007-07-20 02:35 davidm
  267. * cryptodev.h:
  268. moved dprintk to the compat code, seemed nicer in there.
  269. 2007-07-20 02:35 davidm
  270. * rndtest.c:
  271. Need to clean up some warnings etc, more includes
  272. 2007-07-20 02:34 davidm
  273. * ocf-compat.h, hifn/hifn7751.c, safe/safe.c:
  274. new shared IRQ flags for 2.6.22 and a safer version of the debug
  275. macro
  276. 2007-07-20 00:52 davidm
  277. * cryptosoft.c:
  278. Implement compression based on the code from the openswan guys.
  279. 2007-07-20 00:52 davidm
  280. * criov.c:
  281. Fix compiler warning on non-value returning void func.
  282. 2007-07-18 22:55 davidm
  283. * hifn/hifn7751.c, safe/safe.c:
  284. Use pci_register_driver rather than pci_module_init.
  285. pci_module_init has been dropped in 2.6.22 yet pci_register_driver
  286. has always existed and used to do some crazy hotplug junk.
  287. 2007-07-18 21:55 gerg
  288. * ixp4xx/ixp4xx.c:
  289. Added a missing ";" at the end of the ixp_kproces() prototype. It
  290. is IXP465 specific, only showed up when generateing for SG720.
  291. 2007-07-17 00:37 davidm
  292. * Makefile, cryptodev.c, random.c, rndtest.c, hifn/hifn7751.c,
  293. ocfnull/ocfnull.c, safe/safe.c:
  294. Fixup all the debug support for 2.4 kernels, clean up the entropy
  295. harvester to be far more robust.
  296. 2007-07-14 02:19 davidm
  297. * talitos/talitos.c:
  298. Old patch that had not been applied Kim Phillips
  299. 2007-07-14 01:12 davidm
  300. * Config.in, Kconfig, Makefile, cryptodev.c, cryptodev.h, random.c,
  301. syscall.h:
  302. Finally ditched all the syscall stuff. You can now enable/disable
  303. the random harvestor. Pulled in most of random.c from openswan
  304. project and fixed some obvious bugs (that were always there).
  305. 2007-07-13 21:59 davidm
  306. * ocf-compat.h:
  307. Better error printing and checking for drivers
  308. 2007-07-13 21:56 davidm
  309. * cryptosoft.c:
  310. Fix some incorrect debug (reporting wrong error type)
  311. 2007-07-13 21:55 davidm
  312. * hifn/hifn7751.c, safe/safe.c:
  313. Make the code more similar to Free-BSD by reverting to the same
  314. debug macros
  315. 2007-07-13 21:53 davidm
  316. * ocfnull/ocfnull.c:
  317. Fix up the null driver to work again in the new framework.
  318. 2007-07-06 23:54 mmccreat
  319. * cryptodev.c, cryptodev.h, cryptosoft.c: - Update OCF to
  320. work with new Crypto API introduced in 2.6.19 kerneli, and add
  321. macros so it work with older kernels. - Add support for SHA256,
  322. SHA384 and SHA512 HASH and HMAC algorithms. - Cryptosoft: Only
  323. register algorithms that the kernel has implementations for.
  324. 2007-07-03 19:52 davidm
  325. * Kconfig, README, README.sglinux, criov.c, crypto.c, cryptodev.c,
  326. cryptodev.h, cryptosoft.c, ocf-bench.c, ocf-compat.h, random.c,
  327. rndtest.c, uio.h, hifn/hifn7751.c, hifn/hifn7751reg.h,
  328. hifn/hifn7751var.h, ixp4xx/ixp4xx.c, ocfnull/ocfnull.c,
  329. safe/safe.c, safe/safevar.h, talitos/talitos.c:
  330. Updated OCF to the lastest FreeBSD version.
  331. There was a lot of change in here, some of which will help FIP's,
  332. some which won't.
  333. Did lots of cleaning and diff reduction against the freebsd code.
  334. Still more cleaning to do.
  335. 2007-06-01 21:58 gerg
  336. * Config.in:
  337. Put the regular old Config.in back, needed for puclic releases.
  338. 2007-06-01 21:58 gerg
  339. * Kconfig:
  340. Change the CONFIG_OCF_IXP400 dependencies to be the same as they
  341. where in the Config.in file.
  342. 2007-05-28 21:40 gerg
  343. * Config.in, Kconfig:
  344. Switch all module configuration over to new style Kconfigs.
  345. 2007-05-24 18:49 davidm
  346. * cryptodev.c, random.c:
  347. Work around some problems on redhat systems with errno redefinition
  348. 2007-04-30 21:09 gerg
  349. * cryptosoft.c:
  350. The CRYPTO_TFM_MODE_ family of defines no longer exists from 2.6.21
  351. onwards. As far as I can tell you don't need to pass it to the
  352. crypto_alloc_tfm() function anymore.
  353. So define it to be 0 if it doesn't exist.
  354. 2007-04-03 02:13 gerg
  355. * syscall.h:
  356. Added syscall macros for SH architecture. Just temporary, 'till
  357. Dave fixes the OCF code to not use syscalls from the modules :-)
  358. 2007-02-16 23:10 davidm
  359. * syscall.h:
  360. ensure the temprary 2.6 fix doesn't break 2.4
  361. 2007-02-07 22:23 gerg
  362. * cryptodev.c, random.c, syscall.h:
  363. Temporary fix for new 2.6 kernels no longer defining in-kernel
  364. system call functions. Define them locally for now until we fix
  365. properly.
  366. 2007-02-07 03:10 gerg
  367. * ixp4xx/ixp4xx.c:
  368. Changes to support the different INIT_WORK() mechanism from kernels
  369. 2.6.20 onwards.
  370. 2007-02-06 02:38 gerg
  371. * crypto.c:
  372. Cleaned up use of kmem_cache_t and use of SLAB_ATOMIC.
  373. 2006-12-05 20:50 cpascoe
  374. * hifn/hifn7751.c, safe/safe.c, talitos/talitos.c:
  375. Remove pt_regs from OCF interrupt handlers for 2.6.19+
  376. 2006-12-02 03:36 gerg
  377. * criov.c, crypto.c, cryptodev.c, cryptosoft.c, ocf-bench.c,
  378. random.c, rndtest.c, hifn/hifn7751.c, ixp4xx/ixp4xx.c,
  379. ocfnull/ocfnull.c, safe/safe.c, talitos/talitos.c:
  380. Can no longer include linux/config.h as of 2.6.19 kernels. Need to
  381. conditionally include it based on AUTOCONF_INCLUDED not being
  382. defined.
  383. 2006-10-13 21:52 cpascoe
  384. * random.c:
  385. Remove another race condition that may result in us running more
  386. than one random thread if modules are reloaded during heavy system
  387. load.
  388. 2006-10-13 21:18 cpascoe
  389. * random.c:
  390. - Permit delivery of SIGKILL to the random thread. - Do not exit
  391. prematurely if poll() is interrupted. - Improve exit conditions so
  392. that we quit immediately, rather than loop infinitely, if the
  393. last RNG source is removed while we are trying to fill our
  394. buffer.
  395. 2006-10-03 20:28 cpascoe
  396. * crypto.c, crypto.c: AutoMerged
  397. >
  398. > Zero the empty half of "new driver" buffer, and not past the end
  399. of the old
  400. > buffer that we are about to free.
  401. 2006-10-03 20:28 cpascoe
  402. * crypto.c:
  403. Zero the empty half of "new driver" buffer, and not past the end of
  404. the old buffer that we are about to free.
  405. 2006-08-25 23:57 davidm
  406. * cryptosoft.c:
  407. Do not print errors for failed ALG requests unless debugging
  408. 2006-07-14 21:44 davidm
  409. * cryptodev.h:
  410. 2.6.11 and earlier did not have the files_fdtable macro.
  411. 2006-06-21 21:26 gerg
  412. * cryptodev.h, hifn/hifn7751.c, ocfnull/ocfnull.c, safe/safe.c,
  413. talitos/talitos.c:
  414. Fixed up more occurrances of MODULE_PARM() needing to be converted
  415. to module_param() (as of 2.6.17 and onwards).
  416. 2006-06-21 00:28 gerg
  417. * cryptosoft.c:
  418. Change use of MODULE_PARM to module_param() for 2.6.17+ kernels.
  419. 2006-06-20 22:13 gerg
  420. * crypto.c, cryptodev.c, cryptodev.h, ocf-bench.c, ixp4xx/ixp4xx.c:
  421. As of 2.6.17 and onwards module_param is used in place of
  422. MODULE_PARM.
  423. 2006-06-06 00:31 gerg
  424. * Makefile:
  425. Fix Makefile to find includes is using CSR-2.1.
  426. 2006-05-31 01:44 gerg
  427. * cryptodev.h:
  428. The vars "crypto_usercrypto", "crypto_userasymcrypto" are declared
  429. as extern in the header file, but static in the c file. I guessed
  430. that they should probably be truely static, so removed the extern
  431. declarations from the header.
  432. 2006-05-25 21:06 davidm
  433. * talitos/talitos.c:
  434. This fixes a situation that I never provably experienced, where a
  435. descriptor in memory may be reserved within the proper lock, and
  436. freed immediately after, only for a few cycles, right outside the
  437. lock. Kim Phillips
  438. 2006-05-15 19:49 davidm
  439. * criov.c, crypto.c, cryptodev.c, cryptodev.h, cryptosoft.c,
  440. ocf-bench.c, random.c, rndtest.c, uio.h, ixp4xx/ixp4xx.c:
  441. Remove the "all rights reserved" from the Intel copyrights.
  442. 2006-05-12 21:19 davidm
  443. * Config.in, Kconfig, Makefile, cryptodev.c, ocf-bench.c,
  444. ocfnull/ocfnull.c:
  445. Add in a null OCF driver that does nothing at all, useful for
  446. measuring the cost of various parts of the ipsec stack.
  447. 2006-05-12 21:17 davidm
  448. * ixp4xx/ixp4xx.c:
  449. make sure we do not overwrite a correctly set error type.
  450. 2006-05-12 06:52 davidm
  451. * crypto.c:
  452. Fix a problem where a driver would return ERESTART (full) but then
  453. unblock itself before the upper layer had marked it as blocked.
  454. This caused the code to get stuck in crypto_proc and process no
  455. more requests.
  456. 2006-05-12 06:47 davidm
  457. * cryptosoft.c:
  458. Implement CRD_F_KEY_EXPLICIT for cryptosoft so keys can be changed
  459. on an active session.
  460. 2006-05-10 20:09 davidm
  461. * README, criov.c, crypto.c, cryptodev.h, cryptosoft.c,
  462. ocf-bench.c, random.c, rndtest.c, uio.h, hifn/hifn7751.c,
  463. ixp4xx/ixp4xx.c, safe/safe.c, safe/safevar.h:
  464. update email addresses and other house cleaning
  465. 2006-05-10 20:08 davidm
  466. * cryptodev.c:
  467. pull in better error checking from openswan modifications
  468. 2006-05-10 19:11 davidm
  469. * cryptosoft.c:
  470. Fix an unused variable warning when various options are disabled.
  471. 2006-05-10 19:10 davidm
  472. * cryptodev.h:
  473. Add support for 2.4 kernels for the new FD cloning operation
  474. 2006-05-09 19:48 davidm
  475. * hifn/hifn7751.c:
  476. remove the hifn 7855 support, this driver will never work with
  477. that chip.
  478. 2006-05-08 23:34 davidm
  479. * hifn/hifn7751var.h:
  480. Contiguous buffer support so that ocf-bench can run properly.
  481. 2006-05-05 23:21 davidm
  482. * hifn/hifn7751.c:
  483. Add in contiguous buffer support so that ocf-bench and run on the
  484. driver.
  485. 2006-05-05 23:14 davidm
  486. * ocf-bench.c:
  487. Our requests were out of order, need to do crypto then auth on
  488. encrypt requests. Some drivers enforce this.
  489. 2006-05-04 23:21 davidm
  490. * crypto.c:
  491. Do not run "newsession" with lock, since newsession may sleep on
  492. some targets. Handle the accounting so that things are not pulled
  493. from underneath us.
  494. 2006-05-04 23:20 davidm
  495. * cryptodev.c:
  496. Switch to a less optimal (marginally) solution for creating a new
  497. fd that appears to work in far more versions of the kernel
  498. including 64bit versions.
  499. 2006-05-04 18:54 davidm
  500. * ocf-bench.c:
  501. Turn off the IXP access lib benchmarking by default as most people
  502. don't have it.
  503. Paul Wouters
  504. 2006-04-01 08:23 davidm
  505. * Makefile:
  506. Remove more temp files when cleaning
  507. 2006-04-01 08:12 davidm
  508. * hifn/hifn7751reg.h:
  509. 7855 PCI id's as yet untested
  510. 2006-04-01 08:08 davidm
  511. * hifn/hifn7751.c:
  512. add PCI id's for the 7855 and AES support, card is untested still
  513. as it requires 128MB of PCI memory !
  514. 2006-03-31 08:38 davidm
  515. * README.sglinux:
  516. small update to instructions with corrected patch name
  517. 2006-03-31 00:23 davidm
  518. * Config.in:
  519. Add the Talitos driver to the 2.4 config, even though it probably
  520. won't compile.
  521. 2006-03-30 07:48 davidm
  522. * Kconfig, Makefile, talitos/talitos.c, talitos/talitos_dev.h,
  523. talitos/talitos_soft.h:
  524. Please find attached the freescale SEC driver for OCF. It's been
  525. (most recently) tested on an SEC2.0 based MPC8541E
  526. (cryptographically identical to the MPC8555E) under 2.6.15.2, with
  527. openssl-0.9.8a and openswan-2.4.3 (2.4.5rc5 won't keep the security
  528. association up for me for some reason).
  529. Please feel free to add it to your next release of OCF-Linux :-)
  530. Kim Phillips
  531. 2006-03-20 19:34 davidm
  532. * safe/: safe.c, safevar.h:
  533. Safenet 1141 v1.0 chips have a DMA lockup error if you access the
  534. chip while DMA'ing. As a work around you need to limit your DMA to
  535. 256 byte chunks using scatter/gather descriptors. All the SG/SME
  536. products have v1.0 chips and would lockup with more than two
  537. outstanding packets at one time.
  538. Fix the KASSERT macro
  539. Add some more exhaustive initialisation.
  540. 2006-03-15 21:58 davidm
  541. * cryptodev.h, random.c:
  542. Switch random support to "ints" since that is what the kernel uses
  543. and not using the same thing is 64bit wise a bad idea.
  544. Fix FIP's code to ensure correct amount of data is passed in.
  545. Add work around for broken 64bit OS RNG support (disable it)
  546. General code cleanups.
  547. 2006-03-15 21:55 davidm
  548. * hifn/hifn7751.c:
  549. Fixes for 64bit OS's, make sure PCI address are within bus space,
  550. make sure we order writes to the bus so that chip functions
  551. correctly. Some small cleanups.
  552. 2006-03-15 21:48 davidm
  553. * hifn/hifn7751var.h:
  554. Remove unused field from structure
  555. 2006-03-15 21:47 davidm
  556. * safe/safe.c:
  557. Make the code more 64bit OS compatible, force PCI address space
  558. and so on.
  559. 2006-03-09 20:42 davidm
  560. * ixp4xx/ixp4xx.c:
  561. If we call ixpCryptoAccInit() and it fails, just assume that it
  562. has already been called. This allows our "rc" scripts to be
  563. openswan and freeswan compatible ore easily.
  564. 2006-02-28 23:21 davidm
  565. * README:
  566. generalise it a bit so rel-dates don't get in the way
  567. 2006-02-28 01:52 davidm
  568. * README, patches/ssh.patch, patches/ssl.patch:
  569. Updated the README and patches for a release
  570. 2006-02-25 09:21 davidm
  571. * README, README.sglinux:
  572. updates for a new release of OCF, ssl patches and so on.
  573. 2006-02-25 08:44 davidm
  574. * crypto.c:
  575. We were calling the "process"routines with interrupts disabled. I
  576. can see no good reason for this and it provokes badness warnings in
  577. 2.6 under some conditions.
  578. I am going to run with the Q's unlocked for processing, and
  579. hopefully it will allow the system to be more responsive. It
  580. hasn't affected ipsec throughput in any way. Userland throughput
  581. (multi threaded) may have improved significantly though, but it
  582. needs more testing.
  583. 2006-02-24 23:32 davidm
  584. * cryptodev.c:
  585. Whoa, set the segments with uninitted values can't be good. Clean
  586. out the rest of the old code that was accidently left in.
  587. 2006-02-22 01:02 davidm
  588. * cryptodev.c:
  589. Still not sure about this one, but this is working for all the
  590. cases I can see so far. If it gets weird, I am going to switch to
  591. a simple clone and chain the sessions rather than a new fcr per fd.
  592. 2006-02-20 22:12 davidm
  593. * cryptodev.c:
  594. Error handling case could free data that was not allocated
  595. Ronen Shitrit Marvell Semiconductor Israel
  596. Ltd
  597. 2006-02-20 21:57 davidm
  598. * cryptosoft.c:
  599. Proper SHA/MD5 (non hmac) implementation, remove some retrictions
  600. for hashes (which only applied to crypto) and fix over zealous
  601. error checking.
  602. Ronen Shitrit Marvell Semiconductor Israel
  603. Ltd
  604. 2006-02-09 21:15 davidm
  605. * cryptodev.c:
  606. The code wasn't quite right and needed some fixing for proper file
  607. accounting.
  608. 2006-01-24 20:08 davidm
  609. * crypto.c, cryptodev.c, hifn/hifn7751.c:
  610. We implement our own open in the CRIOGET ioctl now which does
  611. pretty much the same thing as the BSD version, rather than use an
  612. open system call which gets caught out by chroot.
  613. 2006-01-06 00:42 gerg
  614. * cryptosoft.c:
  615. Moved "{" block marker inside the set of
  616. "defined(CONFIG_CRYPTO_HMAC) || defined(CONFIG_CRYPTO_HMAC_MODULE)"
  617. code (in function swcr_process) so that it compiled if these where
  618. not defined.
  619. 2005-11-11 01:44 davidm
  620. * Makefile, README:
  621. cleanups for a general release of OCF
  622. 2005-11-11 01:18 davidm
  623. * patches/ssl.patch:
  624. Updated the ssl patch to the latest and greatest changed we have
  625. made.
  626. 2005-11-10 21:41 davidm
  627. * Makefile, ixp4xx/ixp4xx.c:
  628. Better debug for bad input.
  629. Have make clean do more cleaning and less talking.
  630. 2005-11-03 20:53 davidm
  631. * cryptosoft.c:
  632. clean up some compilation errors with various options on/off
  633. 2005-10-25 00:25 davidm
  634. * Makefile:
  635. Add a patch target that generates full kernel patches to add OCF
  636. into either a 2.4 or 2.6 kernel as a single patch.
  637. 2005-10-25 00:24 davidm
  638. * Kconfig:
  639. Make sure all OCF settings depend on OCF_OCF
  640. 2005-09-23 02:45 davidm
  641. * README, README.sglinux:
  642. new crypto-tools archive to keep the tools up to date
  643. 2005-09-23 02:08 davidm
  644. * Makefile, README, README.sglinux:
  645. updates for doing OCF releases
  646. 2005-09-23 01:59 davidm
  647. * patches/: ssh.patch, ssl.patch:
  648. updated the patches for the latest in fixes etc to ssh/ssl for a
  649. new OCF release before the openswan 2.4.1 merge.
  650. 2005-09-21 00:57 davidm
  651. * Makefile, cryptosoft.c, hifn/hifn7751.c, ixp4xx/ixp4xx.c:
  652. Fixes for building cleanly under 2.6
  653. 2005-09-13 23:11 davidm
  654. * ocf-bench.c:
  655. Add an exit function for cleaner 2.6 support. Patch from Ronen
  656. Shitrit
  657. 2005-07-30 00:23 davidm
  658. * cryptosoft.c:
  659. Add proper hooks for MD5/SHA and their HMAC countrparts processing
  660. from cryptodev.
  661. 2005-07-29 01:50 davidm
  662. * cryptodev.c:
  663. cryptodev did not support MD5 and SHA1, only the HMAC versions
  664. 2005-07-29 01:05 davidm
  665. * ixp4xx/ixp4xx.c:
  666. register for MD5, return 16 bytes for MD5 and 12 for MD5_HMAC,
  667. likewise for SHA1 (only 20 is not HMAC).
  668. 2005-07-28 21:52 davidm
  669. * ixp4xx/ixp4xx.c:
  670. First pass fix of userland MD5 processing. We now do as well as
  671. the safenet does, I think.
  672. 2005-07-27 06:23 davidm
  673. * cryptodev.c:
  674. udelay doesn't give up the current thread, thus the kernel will get
  675. locked if a process is killed but the hardware never completes the
  676. crypto request.
  677. 2005-07-22 02:07 davidm
  678. * crypto.c, cryptodev.h:
  679. Implement queuing limits for input/output and OCF requests.
  680. Implement 2.6 style work queues instead of the 2.4 task_queues.
  681. 2005-07-21 20:42 davidm
  682. * cryptodev.h, ocf-bench.c, ixp4xx/ixp4xx.c:
  683. Fix OCF to use work queues, add 2.4 version of work queues to
  684. cryptodev.h for use in ipsec and elsewhere.
  685. Problem and initial patch provided by David Vrabel
  686. . Cleaned up and 2.4 support added by me.
  687. 2005-07-21 19:08 davidm
  688. * random.c:
  689. Fix spinlock initialisation, problem reported by Andy @
  690. windsorcarclub.co.uk.
  691. 2005-07-20 20:24 davidm
  692. * cryptodev.c:
  693. fix a silly spelling mistake
  694. 2005-07-08 00:56 gerg
  695. * Makefile:
  696. Only build ocf-bench when CONFIG_OCF_BENCH is acrually enabled.
  697. 2005-06-27 20:29 davidm
  698. * ixp4xx/ixp4xx.c:
  699. Ok, we need a simple implentation here or we go too slow for UDP
  700. tests. For now, if the Q is full just ditch the packet, someone
  701. has to do it.
  702. 2005-06-25 01:13 davidm
  703. * safe/safe.c:
  704. bytes swapping etc all seems wrong for safenet on BE, these fixes
  705. see both MD5 and SHA1 working with OpenSwan.
  706. 2005-06-22 23:10 davidm
  707. * random.c:
  708. clean up some ifdef code a little
  709. 2005-06-22 21:28 davidm
  710. * ixp4xx/ixp4xx.c:
  711. Make sure we do not call blocking functions from ISR callable
  712. routines. In this case we were calling ixCryptoAccCtxUnregister.
  713. Run all the random numbers through SHA1 process to ensure more
  714. uniform distribution of bits (NOTE: it is not more random in any
  715. way)
  716. 2005-06-21 00:11 davidm
  717. * ixp4xx/ixp4xx.c:
  718. do not process requests from the register callback, gets the AES
  719. code all messed up.
  720. Align caches on HW cache boundaries ot improve speed.
  721. More tracking or potential errors.
  722. 2005-06-15 01:55 davidm
  723. * ixp4xx/ixp4xx.c:
  724. technically ixCryptoAccCtxRegister cannot be called from IRQ
  725. context, so run it from the immediate BH.
  726. 2005-06-14 23:13 davidm
  727. * ocf-bench.c:
  728. Fix some compile warnings/errors
  729. 2005-06-14 20:52 davidm
  730. * Config.in, Kconfig, Makefile, ocf-bench.c:
  731. Add in kernel benchmark driver
  732. Support for building under CSR 1.4 and 2.0 is now complete
  733. 2005-06-14 20:51 davidm
  734. * crypto.c:
  735. Do not use immediate processing for SW drivers otherwise we hold a
  736. lock for too long. Instead force BATCH processing.
  737. Problem found by David Vrabel
  738. 2005-06-14 20:46 davidm
  739. * cryptodev.c:
  740. Fix up AES minimum key size
  741. Make some more variables static
  742. 2005-06-14 20:36 davidm
  743. * ixp4xx/ixp4xx.c:
  744. Use kernel caches as they are more efficient and faster to obtain.
  745. Fix some spelling
  746. Tune PKE to only use the space required. Turn off go fast options
  747. to reduce any speed-related cracking.
  748. Only zero data that needs to be zeroed (save some cycles)
  749. 2005-06-02 21:42 davidm
  750. * ixp4xx/ixp4xx.c:
  751. Added optimisations ideas from Intel the improve the PKE
  752. performance for 512 and 1024 bits operations.
  753. 2005-06-01 02:13 davidm
  754. * ixp4xx/ixp4xx.c:
  755. Looks like I found the ixp bug. Using OSAL buffer routines on
  756. non-OSAL buffers is a very very bad thing to do. Must double check
  757. all the API's I am using (ie., PKE) just to be sure.
  758. 2005-05-31 21:38 davidm
  759. * Config.in, Kconfig:
  760. Updated/Added the menu wrapper for the config options
  761. 2005-05-31 21:18 gerg
  762. * Config.in:
  763. Reworked the config.in so that each sub-module has its own
  764. Config.in. That way it is easier to make release trees with some
  765. modules left in.
  766. 2005-05-30 19:46 davidm
  767. * ixp4xx/ixp4xx.c:
  768. Not all the Pke code was appropriately ifdef'd
  769. 2005-05-28 01:49 davidm
  770. * cryptosoft.c:
  771. We were not injecting data in the right places nor calling the
  772. cipher code the best was under all situations. We are now good
  773. enought to do ESP/AH processing with 3DES and SHA1-HMAC.
  774. 2005-05-28 01:42 davidm
  775. * hifn/hifn7751.c:
  776. Non atomic kmallocs at IRQ time are bad and cause lockups
  777. 2005-05-21 08:31 davidm
  778. * README, README.sglinux:
  779. Some small updates to email and patches that no longer exist
  780. 2005-05-21 08:25 davidm
  781. * cryptosoft.c:
  782. better error message on failure, a lot of the error check we do
  783. sems to break apps like cryptotest, not sure who is right yet.
  784. 2005-05-21 00:55 davidm
  785. * criov.c, crypto.c, cryptodev.c, cryptodev.h, cryptosoft.c,
  786. random.c, rndtest.c, uio.h, hifn/hifn7751.c, ixp4xx/ixp4xx.c,
  787. safe/safe.c, safe/safevar.h:
  788. Convert to CyberGuard email addresses for OCF files.
  789. 2005-05-21 00:28 davidm
  790. * crypto.c, cryptodev.c, cryptosoft.c, hifn/hifn7751.c,
  791. ixp4xx/ixp4xx.c, safe/safe.c:
  792. final round of naming changes, hifn driver also confirmed working
  793. in SG710
  794. 2005-05-20 23:50 davidm
  795. * cryptosoft.c, random.c, uio.h, ixp4xx/ixp4xx.c:
  796. more copyright/author updates etc for Intel
  797. 2005-05-20 23:48 davidm
  798. * criov.c, crypto.c, cryptodev.c, cryptodev.h, cryptosoft.c,
  799. random.c, rndtest.c, uio.h, ixp4xx/ixp4xx.c, safe/safe.c,
  800. safe/safevar.h:
  801. updated copyrights to reflect Intels interest/investment in the
  802. project
  803. 2005-05-20 20:31 davidm
  804. * hifn/: hifn7751.c, hifn7751var.h:
  805. Most of a working SKB implementation now
  806. 2005-05-20 20:30 davidm
  807. * safe/: md5.c, md5.h, safe.c, sha1.c, sha1.h:
  808. Full AH/ESP processing now working, just added BSD sha/md5
  809. routines as needed for now.
  810. 2005-05-20 20:30 davidm
  811. * random.c:
  812. use the new BSD rndtest code rather than the old GPL fips code
  813. 2005-05-20 20:28 davidm
  814. * Makefile, fips.c, fips.h, rndtest.c, rndtest.h:
  815. Get rid of the GPL version of the fips test and use a BSD licensed
  816. version so no one can get upset and cry derivative :-)
  817. 2005-05-20 08:19 davidm
  818. * ixp4xx/ixp4xx.c:
  819. High throughput improvements. Can now handle multiple simultaneous
  820. requests.
  821. 2005-05-20 00:55 davidm
  822. * ixp4xx/ixp4xx.c:
  823. works with openswan/OCF for ipsec receive.
  824. fixes ESP/AUTH processing (esp. HMAC)
  825. This driver needs a rework for kernel IPSEC as it's current packet
  826. at a time processing is not up to the task.
  827. 2005-05-20 00:53 davidm
  828. * cryptosoft.c:
  829. working ESP/AUTH code now impleneted. Can do RX processing for
  830. openswan KLIPS.
  831. Fixes numerous problems in skb processing
  832. Fixes broken HMAC code and IV processing
  833. 2005-05-14 01:44 davidm
  834. * cryptodev.c, ixp4xx/ixp4xx.c:
  835. Cleanup IXP key processing to guarantee only a single outstanding
  836. request rather than relying on the intel driver to get it right.
  837. Stops us losing requests.
  838. Tighten up the cryptodev response to "no answer" so that we don't
  839. take all the CPU. Only happens if there is a driver bug.
  840. 2005-05-14 00:07 davidm
  841. * Config.in, Kconfig, Makefile, crypto.c, fips.c, fips.h, random.c,
  842. ixp4xx/ixp4xx.c, tools/bench-ocf:
  843. PKE and RNG support running on the ixp driver, added PKE bench
  844. marking to script. Still some multi-thread problems in the PKE
  845. code.
  846. Added FIP RNG checking option to config and code.
  847. 2005-05-10 19:18 davidm
  848. * Makefile, ixp4xx/ixp4xx.c:
  849. Get the OCF stuff building for the 465 and CSR-2.0
  850. 2005-04-27 19:18 davidm
  851. * cryptodev.h, random.c, hifn/hifn7751.c, safe/safe.c:
  852. cleanup the random number interface some more
  853. 2005-04-27 00:57 davidm
  854. * cryptodev.h, cryptosoft.c, random.c, hifn/hifn7751.c,
  855. ixp4xx/ixp4xx.c, patches/linux-2.4.29-add_true_randomness.patch,
  856. patches/linux-2.6.11-add_true_randomness.patch, safe/safe.c,
  857. safe/safevar.h:
  858. Switch to a more "user" like random number handling. Drivers no
  859. longer poll for RNG data, we pull it as needed to fill
  860. /dev/random's entropy.
  861. Implement sk_buff handling within the OCF framework.
  862. fixup IV handling in cryptosoft.
  863. 2005-04-27 00:41 davidm
  864. * crypto.c:
  865. Fix a race condition with the starting of kernel threads. The
  866. threads were running before the pid assignment in the parent.
  867. 2005-03-24 23:57 davidm
  868. * Makefile:
  869. include crypto-tools.patch in the release file
  870. 2005-03-24 20:14 davidm
  871. * safe/safe.c:
  872. Fixup compile time warnings due to some left over BSDisms
  873. 2005-03-24 00:53 davidm
  874. * Makefile, README, README.sglinux, patches/linux-2.4.29-ocf.patch,
  875. patches/linux-2.6.11-ocf.patch, patches/ocf-linux-2.4.29.patch,
  876. patches/ocf-linux-2.6.11.patch:
  877. added cleaner patch names and a tarball target to aid releases
  878. 2005-03-24 00:28 davidm
  879. * patches/crypto-tools.patch,
  880. patches/linux-2.4.29-add_true_randomness.patch,
  881. patches/linux-2.6.11-add_true_randomness.patch,
  882. patches/ocf-linux-2.4.29.patch, patches/ocf-linux-2.6.11.patch,
  883. patches/ssh.patch, patches/ssl.patch, tools/bench-ocf:
  884. move all the release file patches into CVS for simplicity
  885. 2005-03-23 20:37 davidm
  886. * safe/safe.c:
  887. remove excessive debug from RNG routines so that you can turn on
  888. debug and live through it
  889. 2005-03-23 02:23 davidm
  890. * safe/safe.c:
  891. fix memory corruption for mod_exp and the safenet, we were copying
  892. back more than the space available.
  893. 2005-03-22 21:45 davidm
  894. * crypto.c, cryptodev.c, cryptodev.h, safe/safe.c:
  895. fixup a major sync issues with key processing (callback called
  896. before sleeping). Improve its performance while we are there with
  897. a CBIMM (callback immediate) option.
  898. 2005-03-19 00:33 davidm
  899. * random.c:
  900. A new randomness function for both 2.4 and 2.6 that replaces out
  901. previous old solution for the hifn driver with more generic code
  902. that works on both kernels.
  903. add_true_randomness(u_int32_t *buf, int nwords);
  904. 2005-03-18 21:01 davidm
  905. * Makefile, cryptodev.h, random.c, hifn/hifn7751.c, safe/safe.c:
  906. RNG support in both the safenet and the hifn plus the required
  907. kernel support.
  908. "hd /dev/random" runs much much faster now :-)
  909. 2005-03-17 23:29 toby
  910. * cryptodev.c: Make sure the CIOCASYMFEAT ioctl on
  911. /dev/crypto copies out the capable features.
  912. 2005-03-17 01:19 davidm
  913. * safe/: safe.c, safereg.h, safevar.h:
  914. hardware PK acceleration on the safenet (CRK_MOD_EXP only)
  915. 2005-03-16 04:28 davidm
  916. * criov.c, crypto.c, cryptodev.c, safe/safe.c:
  917. fixup the FBSD id stuff to compile :-)
  918. 2005-03-16 04:02 davidm
  919. * README, README.sglinux, TODO:
  920. Updated with versions, removed tabs, new kernel versions, web
  921. site etc
  922. 2005-03-16 03:45 davidm
  923. * criov.c, crypto.c, cryptodev.c, cryptodev.h:
  924. more license formatting and version id's to help keep in touch with
  925. FreeBSD
  926. 2005-03-16 03:16 davidm
  927. * safe/safe.c:
  928. up to date with FreeBSD versioning, no changes to merge
  929. 2005-03-16 03:15 davidm
  930. * safe/safe.c:
  931. include FreeBSD version info so I can track changes better
  932. 2005-03-16 03:11 davidm
  933. * hifn/: hifn7751.c, hifn7751reg.h, hifn7751var.h:
  934. incorporate latest updates from FreeBSD:
  935. | Update support for 795x parts: | o rework pll setup code to
  936. follow h/w specification | o add hint.hifn.X.pllconfig to specify
  937. reference clock setup | requirements; default is pci66 which
  938. means the clock is | derived from the PCI bus clock and the card
  939. resides in a | 66MHz slot | | Tested on 7955 and 7956 cards;
  940. support for 7954 cards not enabled | since we have no cards to test
  941. against.
  942. 2005-03-16 02:50 davidm
  943. * Config.in, Kconfig, README, crypto.c, cryptodev.c, cryptodev.h,
  944. hifn/hifn7751.c, hifn/hifn7751var.h, safe/safe.c, safe/safevar.h:
  945. cleanups to build and run on 2.6.11 and 2.4.29 for a public release
  946. included configs locally to reduce patch to kernel and required
  947. user effort.
  948. pci_dma_sync_single fix from Michele Baldessari
  949. , with modifications by me to work on all
  950. kernels.
  951. 2005-03-11 23:30 davidm
  952. * Makefile:
  953. fix up the compiling again, I had outstanding commits for this one
  954. :-)
  955. 2005-03-11 21:56 danield
  956. * Makefile: Get ocf modules building again.
  957. 2004-12-25 07:12 davidm
  958. * TODO:
  959. safenet is all good now AKAIK
  960. 2004-12-25 07:02 davidm
  961. * Makefile, crypto.c, cryptodev.c, cryptosoft.c, uio.h:
  962. 2.6 port of the OCF framework, tested on Xscale and compiled for
  963. x86
  964. 2004-12-10 02:41 davidm
  965. * hifn/hifn7751.c:
  966. Fix compilation as l_flags was not defined for LOCK in pci_remove
  967. 2004-12-06 19:15 davidm
  968. * hifn/hifn7751.c, safe/safe.c:
  969. * Put locking into hifn_remove to ensure interrupts are not running
  970. while we remove the driver
  971. Use del_timer_sync (need to ensure timer is not running on
  972. another CPU
  973. * when we delete it).
  974. Improvements suggested by Evgeniy Polyakov <[email protected]>
  975. 2004-12-02 09:16 davidm
  976. * README, README.sglinux:
  977. * Fix up all tabs to be spaces * explain how to update the ocf
  978. support in the patch to the current version.
  979. 2004-12-02 09:11 davidm
  980. * README:
  981. * fix some spelling/grammar * add more info on the ssl.patch file
  982. and what it contains
  983. 2004-12-02 09:08 davidm
  984. * README.sglinux:
  985. give some more instructions on the shar archive and extracting the
  986. release.
  987. 2004-12-02 09:03 davidm
  988. * README.sglinux:
  989. how to include crypto-tools into 3.1.6
  990. 2004-12-02 08:48 davidm
  991. * README.sglinux:
  992. updated for a new crypto patch for openssl-0.9.7e
  993. 2004-12-02 08:04 davidm
  994. * README, README.sglinux:
  995. Clean up the README's to use the new SG Linux alpha and a specific
  996. 2.4.28 patch.
  997. 2004-12-01 23:11 davidm
  998. * Makefile, criov.c, crypto.c, cryptodev.c, cryptosoft.c,
  999. hifn/Makefile, hifn/hifn7751.c, ixp4xx/Makefile, ixp4xx/ixp4xx.c,
  1000. safe/Makefile, safe/safe.c:
  1001. Re-worked the Makefiles so that including the code into a standard
  1002. non-SG kernel is really easy.
  1003. Fixed a non-initialised bug that was introduce into cryptosoft.c
  1004. with the additional error checking.
  1005. 2004-12-01 01:54 davidm
  1006. * TODO:
  1007. updates based on things that have been fixed.
  1008. 2004-12-01 01:53 davidm
  1009. * safe/: safe.c, safevar.h:
  1010. Cleanup some old hacks based on the much cleaner port of the hifn
  1011. driver.
  1012. 2004-12-01 01:53 davidm
  1013. * cryptosoft.c:
  1014. fix some crashes due to bad buffer sizes etc.
  1015. 2004-11-27 09:16 davidm
  1016. * crypto.c, cryptodev.c, ixp4xx/ixp4xx.c:
  1017. Fixed some nasty problems that were stopping reliable behaviour:
  1018. 1) we were not initialising some of our lists/wait queues, which
  1019. meant they appears to have things in them when in fact they did
  1020. not. This actually didn't seems to cause any problems but is
  1021. extremely bogus.
  1022. 2) While a process was waiting for the crypto engine, if
  1023. itreceived a signal we would lose sync with the engine and end
  1024. up allowing out-of-band actions that were invalid (ie.,
  1025. unregistering a context that was still active in a crypto
  1026. operation).
  1027. Of source the CryptACC should probably deal with this as well
  1028. ;-)
  1029. 2004-11-26 01:33 davidm
  1030. * TODO:
  1031. We should also hook in the random number generators to linux
  1032. 2004-11-26 01:33 davidm
  1033. * hifn/hifn7751.c:
  1034. Changed all the accesses to DMS descriptors to not set the valid
  1035. bit until after everything else was set. This got the driver
  1036. running smoothly, along with a fixup to the pci_map_uio which
  1037. wasn't settings lengths correctly.
  1038. 2004-11-25 21:15 davidm
  1039. * ixp4xx/ixp4xx.c:
  1040. document why using a new context for each packet is actually a
  1041. better idea than allocating one (actually two) per session.
  1042. 2004-11-25 08:48 davidm
  1043. * README, README.sglinux:
  1044. updates from email with Intel to fix a few little things
  1045. 2004-11-25 00:02 davidm
  1046. * README, README.sglinux, safe/safe.c:
  1047. Some cleanups of doc and so on for Intel/General use
  1048. 2004-11-23 07:58 davidm
  1049. * TODO:
  1050. safenet is working on big endian machines now
  1051. 2004-11-23 07:56 davidm
  1052. * ixp4xx/: Makefile, ixp4xx.c:
  1053. Reference the Intel library, cleanup the IV sizes and turn on AES.
  1054. Fix Makefile for new config options.
  1055. 2004-11-23 07:52 davidm
  1056. * Makefile:
  1057. Complete the changes of ixp to ixp4xx (IXP4xx) as appropriate
  1058. 2004-11-23 00:33 davidm
  1059. * Makefile, README, ixp4xx/Makefile:
  1060. Changes all references to ixp to be ixp4xx at Intels request
  1061. 2004-11-20 01:07 davidm
  1062. * safe/: safe.c, safereg.h:
  1063. fully working safenet on BE machines
  1064. 2004-11-19 01:03 davidm
  1065. * Makefile, hifn/Makefile, hifn/hifn7751.c, hifn/hifn7751reg.h,
  1066. hifn/hifn7751var.h:
  1067. hifn driver code complete and compiling, needs a test now ;-)
  1068. 2004-11-18 21:45 davidm
  1069. * hifn/: Makefile, hifn7751.c, hifn7751var.h:
  1070. Makefile for building the hifn driver
  1071. 2004-11-18 21:44 davidm
  1072. * hifn/: hifn7751.c, hifn7751reg.h, hifn7751var.h:
  1073. Checkin the orginal freebsd source for the hifn driver as a
  1074. reference in the future.
  1075. 2004-11-18 10:05 davidm
  1076. * Makefile, README, TODO, criov.c, crypto.c, cryptodev.c,
  1077. cryptodev.h, cryptosoft.c, uio.h, ixp4xx/Makefile, ixp4xx/ixp4xx.c,
  1078. safe/Makefile, safe/safe.c, safe/safevar.h:
  1079. Clean up license and copyright info to be more acceptable (and
  1080. present) Clean up debug and trace Fixup memory freeing etc on
  1081. safenet Fix compiler warnings (some were bugs)
  1082. 2004-11-17 02:23 davidm
  1083. * safe/safe.c:
  1084. working on Xscale (big endian) now but packet data is getting
  1085. stuffed up due to endian problems (at least now we are talking to
  1086. the chip correctly for BE). Good enough to test packet throughput,
  1087. no good for testing scp.
  1088. 2004-11-17 02:21 davidm
  1089. * criov.c:
  1090. Make sure public symbols are exported by including the correct
  1091. header files
  1092. 2004-11-17 02:15 davidm
  1093. * crypto.c:
  1094. even better cleanup of kernel threads on exit
  1095. 2004-11-17 02:15 davidm
  1096. * cryptosoft.c:
  1097. return some trace to debug so it doesn't appear
  1098. 2004-11-17 02:14 davidm
  1099. * Makefile:
  1100. Make sure all drivers get built, not just IXP
  1101. 2004-11-16 21:31 davidm
  1102. * crypto.c:
  1103. Fix problem with reboots and driver not unloading cleanly, we were
  1104. not handling signals correctly in the kernel threads,
  1105. 2004-11-10 10:46 davidm
  1106. * ixp4xx/ixp4xx.c:
  1107. fix serious context leak, itturns out the context is still
  1108. considered busy while it is calling the perform callback, so we
  1109. cleanup on closing the session and on allocating the next context
  1110. to work around this.
  1111. 2004-11-10 05:26 davidm
  1112. * crypto.c, cryptodev.c, ixp4xx/ixp4xx.c, safe/safe.c:
  1113. cleaned out some debug, found MAX tunnels bug, traced it various
  1114. other cleanups.
  1115. 2004-11-10 04:02 davidm
  1116. * cryptodev.c, cryptosoft.c, ixp4xx/ixp4xx.c, safe/Makefile,
  1117. safe/safe.c:
  1118. Fix up kmalloc usage to always zero resulting buffer everywhere
  1119. (stops crashes in ixp)
  1120. Add some function debug to ixp so you can see it working
  1121. Fix safe driver to build and install in a real tree.
  1122. 2004-11-10 02:27 davidm
  1123. * Makefile, criov.c, crypto.c, cryptosoft.c, ixp4xx/Makefile,
  1124. ixp4xx/ixp4xx.c:
  1125. Compiling OCF modules for the IXP crypto, needs testing now
  1126. 2004-11-09 19:16 davidm
  1127. * criov.c, crypto.c, cryptodev.c, cryptodev.h, cryptosoft.c,
  1128. cryptosoft.h, uio.h, safe/safe.c, safe/safevar.h:
  1129. The linux port of OCF with working safenet and software modules.
  1130. Still some bugs with mutiple crypto threads using the safenet
  1131. driver.
  1132. 2004-11-09 18:49 davidm
  1133. * Makefile, criov.c, crypto.c, cryptodev.c, cryptodev.h,
  1134. cryptosoft.c, cryptosoft.h, uio.h, safe/Makefile, safe/safe.c,
  1135. safe/safereg.h, safe/safevar.h:
  1136. Check in the orginal free-bsd sources for the OCF support. This
  1137. allows us to diff against it later to see if we botched anything
  1138. major league.