Skip to content

SA2UL algorithms supported by the Linux kernel driver #694

@rmcelaya

Description

@rmcelaya

The table presented in [1] shows the different crypto algorithms supported by the SA2UL engine for the different device families. I have noticed, however, the sau2l Crypto API driver included in the upstream Linux kernel only supports the following ones (see [2]):

  • Encryption:
    • AES CBC
    • AES EBC
    • DES3 CBC
    • DES3 ECB
  • Encryption with authentication:
    • AUTHENC(HMAC-SHA1, CBC-AES)
    • AUTHENC(HMAC-SHA256, CBC-AES)
  • Hashing:
    • SHA1
    • SHA256
    • SHA512

Some points:

  • Are there any drivers, even if not integrated in the upstream kernel that provide the remaining algorithms (CMAC(AES), AES-GCM, HMAC etc) through the Crypto API? In case there aren't ,are there any plans to add all these algorithms to the already existing upstream sa2ul driver?
  • Maybe it would make sense to include an overview of which of the algorithms supported by the hardware are also supported by the upstream driver and which not in the docs

[1] https://github.com/texasinstruments/processor-sdk-doc/blob/master/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Crypto/SA2UL_OMAP.rst
[2] https://github.com/torvalds/linux/blob/v7.0/drivers/crypto/sa2ul.c#L74-L84

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions