This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

hwmod file for OMAP 4460 with aes definition

Hi

From SDK6 for AM335x, I can see that the AES hwmod layer is defined in omap_hwmod_33xx_data.c file.

Where can I get the similar hwmod layer definition for OMAP4460's AES ? Kindly point me to a kernel source that has it.

  • Hello,

    There is no such information for AES in OMAP devices. They come with already set security/crypto engines. All you can do with the crypto modules is modify their clock settings from PRCM module. Available crypto files are located in:

    <linux kernel sources folder>/drivers/crypto and <linux kernel sources>/crypto for linux

    <adroid_sources>/kernel/android-3.4/crypto and <adroid_sources>/kernel/android-3.4/drivers/crypto for Android

    Best Regards,

    Yordan

  • Yordan,

    Thank you very much for your clarification.

    I am trying to get AES HW module working on OMAP4460 . I found kernel sources for OMAP4 at http://www.omappedia.com/wiki/Ubuntu_kernel_for_OMAP4#Ubuntu_kernel_sources

    In them, AES on OMAP4460 is not being used. The available code is a generic driver. But from reading AES Crypto Addendum for OMAP4460, I found that the crypto/driver/omap4-aes.c from AM335x's SDk v6 can be used as is.

    What I couldn't find is the OMAP4460 specific hwmod layer details at arch/arm/mach-omap2/omap_hwmod_44xx_data.c . Can you point to a kernel for OMAP4460 where those details are available?

    Thanks.