1310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales/* 2310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales * Copyright (C) 2015 The Android Open Source Project 3310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales * 4310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales * Licensed under the Apache License, Version 2.0 (the "License"); 5310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales * you may not use this file except in compliance with the License. 6310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales * You may obtain a copy of the License at 7310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales * 8310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales * http://www.apache.org/licenses/LICENSE-2.0 9310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales * 10310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales * Unless required by applicable law or agreed to in writing, software 11310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales * distributed under the License is distributed on an "AS IS" BASIS, 12310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales * See the License for the specific language governing permissions and 14310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales * limitations under the License. 15310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales */ 16310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales 17310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales__BEGIN_DECLS 18310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales 19310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Moralesint trusty_gatekeeper_connect(); 20310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Moralesint trusty_gatekeeper_call(uint32_t cmd, void *in, uint32_t in_size, uint8_t *out, 21310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales uint32_t *out_size); 22310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Moralesvoid trusty_gatekeeper_disconnect(); 23310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales 24310dcffbe0c57b686f459c9961ae7b03a1c86a93Andres Morales__END_DECLS 25