23 Nov, 2018

3 commits

  • The iMX6 platform does not support fardware GCM, more
    recent iMX does so we enable it.

    Signed-off-by: Franck LENORMAND
    (cherry picked from commit 2a4e35399f37caff111d420866a9d4beb494e2e9)

    Franck LENORMAND
     
  • A tagged key is a key which has been tagged with metadata
    using tag_object.h API.

    We add the support for these keys to caamalg.

    For each algo of caamalg which supports tagged keys , it is done by:
    - Creating a modified version of the algo
    - Registering the modified version
    - When the modified transform is used, it gets
    the load parameter of the key.

    Signed-off-by: Franck LENORMAND
    (cherry picked from commit 88dee97d985890dbf37cafa7934c476d0ecfd0b3)

    Franck LENORMAND
     
  • Add functions to tag an object with metadata(configuration).

    It is possible to:
    - create metadata:
    - init_tag_object_header
    - init_blackey_conf
    - set_tag_object_conf
    - retrieve metadata:
    - get_tag_object_conf
    - get_blackey_conf

    The API expects an object to be a space a memory
    with an address and a size.

    The implementation of the tag is currently exposed
    but users shouldn't access it directly, they should
    use the functions provided.

    Signed-off-by: Franck LENORMAND
    (cherry picked from commit ebbb132da8e7f9de7f3d375eff8d87f684feb1eb)

    Franck LENORMAND
     

02 Nov, 2018

1 commit


29 Oct, 2018

36 commits