Make function tee_cryp_init() generic

Signed-off-by: Pascal Brand <pascal.brand@st.com>