trunks: Make CreateStorageRootKeys and CreateSaltingKey public

We need to expose these methods as public so that any clients
of the utility who take ownership themselves (cryptohome) can
manually create SRKs and SaltingKeys rather than calling one opaque
TakeOwnership call.

BUG=chromium:415999
TEST=unit

Change-Id: I6d72ef26e05e1714ff867b28a2c508e3a01b0474
Reviewed-on: https://chromium-review.googlesource.com/265183
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
Commit-Queue: Utkarsh Sanghi <usanghi@chromium.org>
Tested-by: Utkarsh Sanghi <usanghi@chromium.org>
6 files changed
tree: 93b907d85bf73741a3ef6b5dced6fc213c1417da
  1. generator/
  2. authorization_delegate.h
  3. authorization_session.h
  4. authorization_session_impl.cc
  5. authorization_session_impl.h
  6. authorization_session_test.cc
  7. background_command_transceiver.cc
  8. background_command_transceiver.h
  9. background_command_transceiver_test.cc
  10. command_transceiver.h
  11. CPPLINT.cfg
  12. dbus_interface.h
  13. dbus_interface.proto
  14. error_codes.cc
  15. error_codes.h
  16. hmac_authorization_delegate.cc
  17. hmac_authorization_delegate.h
  18. hmac_authorization_delegate_unittest.cc
  19. Makefile
  20. mock_authorization_delegate.cc
  21. mock_authorization_delegate.h
  22. mock_authorization_session.cc
  23. mock_authorization_session.h
  24. mock_command_transceiver.cc
  25. mock_command_transceiver.h
  26. mock_tpm.cc
  27. mock_tpm.h
  28. mock_tpm_state.cc
  29. mock_tpm_state.h
  30. mock_tpm_utility.cc
  31. mock_tpm_utility.h
  32. org.chromium.Trunks.conf
  33. OWNERS
  34. password_authorization_delegate.cc
  35. password_authorization_delegate.h
  36. password_authorization_delegate_unittest.cc
  37. README
  38. scoped_key_handle.cc
  39. scoped_key_handle.h
  40. scoped_key_handle_test.cc
  41. tpm_constants.h
  42. tpm_generated.cc
  43. tpm_generated.h
  44. tpm_generated_test.cc
  45. tpm_handle.cc
  46. tpm_handle.h
  47. tpm_state.h
  48. tpm_state_impl.cc
  49. tpm_state_impl.h
  50. tpm_state_test.cc
  51. tpm_utility.h
  52. tpm_utility_impl.cc
  53. tpm_utility_impl.h
  54. tpm_utility_test.cc
  55. trunks.gyp
  56. trunks_client.cc
  57. trunks_export.h
  58. trunks_factory.h
  59. trunks_factory_for_test.cc
  60. trunks_factory_for_test.h
  61. trunks_factory_impl.cc
  62. trunks_factory_impl.h
  63. trunks_proxy.cc
  64. trunks_proxy.h
  65. trunks_service.cc
  66. trunks_service.h
  67. trunks_testrunner.cc
  68. trunksd-seccomp-amd64.policy
  69. trunksd-seccomp-arm.policy
  70. trunksd-seccomp-x86.policy
  71. trunksd.cc
  72. trunksd.conf