06 Aug, 2009

1 commit


24 Jul, 2009

1 commit

  • The aligned ctx helper was using a bogus alignment value thas was
    one off the correct value. Fortunately the current users do not
    require anything beyond the natural alignment of the platform so
    this hasn't caused a problem.

    This patch fixes that and also removes the unnecessary minimum
    check since if the alignment is less than the natural alignment
    then the subsequent ALIGN operation should be a noop.

    Signed-off-by: Herbert Xu

    Herbert Xu
     

22 Jul, 2009

2 commits


15 Jul, 2009

2 commits

  • When an shash algorithm is exported as ahash, ahash will access
    its digest size through hash_alg_common. That's why the shash
    layout needs to match hash_alg_common. This wasn't the case
    because the alignment weren't identical.

    This patch fixes the problem.

    Signed-off-by: Herbert Xu

    Herbert Xu
     
  • This patch exports the finup operation where available and adds
    a default finup operation for ahash. The operations final, finup
    and digest also will now deal with unaligned result pointers by
    copying it. Finally export/import operations are will now be
    exported too.

    Signed-off-by: Herbert Xu

    Herbert Xu
     

14 Jul, 2009

10 commits


12 Jul, 2009

1 commit


11 Jul, 2009

3 commits

  • This patch adds export/import support to sha256_generic. The exported
    type is defined by struct sha256_state, which is basically the entire
    descriptor state of sha256_generic.

    Signed-off-by: Herbert Xu

    Herbert Xu
     
  • This patch adds export/import support to sha1_generic. The exported
    type is defined by struct sha1_state, which is basically the entire
    descriptor state of sha1_generic.

    Signed-off-by: Herbert Xu

    Herbert Xu
     
  • This patch replaces the full descriptor export with an export of
    the partial hash state. This allows the use of a consistent export
    format across all implementations of a given algorithm.

    This is useful because a number of cases require the use of the
    partial hash state, e.g., PadLock can use the SHA1 hash state
    to get around the fact that it can only hash contiguous data
    chunks.

    Signed-off-by: Herbert Xu

    Herbert Xu
     

09 Jul, 2009

1 commit


08 Jul, 2009

8 commits


07 Jul, 2009

2 commits

  • This patch adds a new argument to crypto_alloc_instance which
    sets aside some space before the instance for use by algorithms
    such as shash that place type-specific data before crypto_alg.

    For compatibility the function has been renamed so that existing
    users aren't affected.

    Signed-off-by: Herbert Xu

    Herbert Xu
     
  • This patch introduces the template->create function intended
    to replace the existing alloc function. The intention is for
    create to handle the registration directly, whereas currently
    the caller of alloc has to handle the registration.

    This allows type-specific code to be run prior to registration.

    Signed-off-by: Herbert Xu

    Herbert Xu
     

18 Jun, 2009

9 commits

  • FIPS-140 requires that all random number generators implement continuous self
    tests in which each extracted block of data is compared against the last block
    for repetition. The ansi_cprng implements such a test, but it would be nice if
    the hw rng's did the same thing. Obviously its not something thats always
    needed, but it seems like it would be a nice feature to have on occasion. I've
    written the below patch which allows individual entropy stores to be flagged as
    desiring a continuous test to be run on them as is extracted. By default this
    option is off, but is enabled in the event that fips mode is selected during
    bootup.

    Signed-off-by: Neil Horman
    Acked-by: Matt Mackall
    Signed-off-by: Herbert Xu

    Neil Horman
     
  • This function was only used by pci_claim_resource(), and the last commit
    deleted that use.

    Signed-off-by: Matthew Wilcox
    Signed-off-by: Linus Torvalds

    Matthew Wilcox
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
    [IA64] Convert ia64 to use int-ll64.h
    [IA64] Fix build error in paravirt_patchlist.c
    [IA64] ia64 does not need umount2() syscall
    [IA64] hook up new rt_tgsigqueueinfo syscall
    [IA64] msi_ia64.c dmar_msi_type should be static
    [IA64] remove obsolete hw_interrupt_type
    [IA64] remove obsolete irq_desc_t typedef
    [IA64] remove obsolete no_irq_type
    [IA64] unexport fpswa.h

    Linus Torvalds
     
  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6:
    mfd: early init for MFD running regulators
    mfd: fix tmio related warnings
    mfd: asic3: enable SD/SDIO cell
    mfd: asic3: enable DS1WM cell
    mfd: asic3: remove SD/SDIO controller register definitions
    mfd: asic3: use resource_size macro instead of local variable
    mfd: add ASIC3 IRQ numbers
    mfd: asic3: add clock handling for MFD cells
    mfd: asic3: add asic3_set_register common operation
    mfd: Fix Kconfig help text for WM8350
    mfd: add PCAP driver
    mfd: add U300 AB3100 core support
    drivers/mfd: remove obsolete irq_desc_t typedef
    mfd/pcf50633-gpio.c: add MODULE_LICENSE
    mfd: Mark WM8350 mask revision as readable to match silicon
    mfd: Mark clocks_init as non-init in twl4030-core.c
    mfd: Correct readability of WM8350 register 227

    Linus Torvalds
     
  • We can not have .driver_data as const since platform_set_drvdata() doesnt take
    a const.
    The hclk mmc_data field can be const though.

    Signed-off-by: Samuel Ortiz

    Samuel Ortiz
     
  • Only the base addresses remain, as they are needed to set up
    the IOMEM resources.

    Signed-off-by: Philipp Zabel
    Signed-off-by: Samuel Ortiz

    Philipp Zabel
     
  • IRQ number definitions for PWM, LED, SPI and OWM (ds1wm).

    Signed-off-by: Philipp Zabel
    Signed-off-by: Samuel Ortiz

    Philipp Zabel
     
  • Used to configure single bits of the SDHWCTRL_SDCONF and EXTCF_RESET/SELECT
    registers needed for DS1WM, MMC/SDIO and PCMCIA functionality.

    Signed-off-by: Philipp Zabel
    Signed-off-by: Samuel Ortiz

    Philipp Zabel
     
  • The PCAP Asic as present on EZX phones is a multi function device with
    voltage regulators, ADC, touch screen controller, RTC, USB transceiver,
    leds controller, and audio codec.

    It has two SPI ports, typically one is connected to the application
    processor and another to the baseband, this driver provides read/write
    functions to its registers, irq demultiplexer and ADC
    queueing/abstraction.

    This chip is used on a lot of Motorola phones, it was manufactured by TI
    as a custom product with the name PTWL93017, later this design evolved
    into the ATLAS PMIC from Freescale (MC13783).

    Signed-off-by: Daniel Ribeiro
    Signed-off-by: Samuel Ortiz

    Daniel Ribeiro