2 * Copyright (c) 2023 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License
17 #include "e2ee-adaptation-layer.h"
19 int ckmew_key_agreement(const char * /*private_key_alias*/,
20 const unsigned char * /*raw_public_key*/,
21 size_t /*raw_public_key_len*/,
22 const char * /*new_key_alias*/)
25 return CKMC_ERROR_NONE;
28 int ckmew_key_derive_pbkdf2(const char * /*password*/,
29 const unsigned char * /*salt*/,
31 size_t /*new_key_len*/,
32 const char * /*new_key_alias*/)
35 return CKMC_ERROR_NONE;
38 int ckmew_get_ocf_cert_chain(char ** /*cert_chain*/, size_t * /*cert_chain_len*/)
41 return DCM_ERROR_NONE;
44 int ckmew_sign_with_ocf(const char * /*public_key_alias*/,
45 ckmc_raw_buffer_s** /*message_buf*/,
46 ckmc_raw_buffer_s** /*signature_buf*/)
49 return DCM_ERROR_NONE;