Se api

Just for preview. Please don't merge it.
This can be solved if we split the file into public part and private part, and keep the private part in core/tee/se/