mirror of https://github.com/ARMmbed/mbed-os.git
40 lines
1.3 KiB
C
40 lines
1.3 KiB
C
/*
|
|
* Copyright (c) 2014-2017, Arm Limited and affiliates.
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
/*
|
|
* \file mac_pairwise_key.h
|
|
* \brief Add short description about this file!!!
|
|
*
|
|
*/
|
|
|
|
#ifndef MAC_PAIRWISE_KEY_H_
|
|
#define MAC_PAIRWISE_KEY_H_
|
|
|
|
#include "ns_list.h"
|
|
|
|
int mac_pairwise_key_add(int8_t interface_id, uint32_t valid_life_time, const uint8_t eui64[static 8], const uint8_t key[static 16]);
|
|
|
|
int mac_pairwise_key_del(int8_t interface_id, const uint8_t eui64[static 8]);
|
|
|
|
int mac_pairwise_key_interface_register(int8_t interface_id, uint8_t mac_supported_key_decription_size, uint8_t network_key_size);
|
|
|
|
int mac_pairwise_key_interface_unregister(int8_t interface_id);
|
|
|
|
int mac_pairwise_key_flush_list(int8_t interface_id);
|
|
|
|
#endif /* MAC_PAIRWISE_KEY_H_ */
|