scp03.h 476 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2021, Foundries.IO
  4. *
  5. */
  6. #ifndef _SCP03_H
  7. #define _SCP03_H
  8. /*
  9. * Requests to OPTEE to enable or provision the Secure Channel Protocol on its
  10. * Secure Element
  11. *
  12. * If key provisioning is requested, OPTEE shall generate new SCP03 keys and
  13. * write them to the Secure Element.
  14. *
  15. * Both functions return < 0 on error else 0.
  16. */
  17. int tee_enable_scp03(void);
  18. int tee_provision_scp03(void);
  19. #endif /* _SCP03_H */