Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
security_key_update.h File Reference

Go to the source code of this file.

Functions

bool infuse_rpc_command_security_authorised (struct epacket_rx_metadata *meta, struct rpc_security_key_update_request *req)
 Application level authorisation check for security_key_update

Detailed Description

Author
Jordan Yates jorda.nosp@m.n@em.nosp@m.beint.nosp@m..com

SPDX-License-Identifier: FSL-1.1-ALv2

Function Documentation

◆ infuse_rpc_command_security_authorised()

bool infuse_rpc_command_security_authorised ( struct epacket_rx_metadata * meta,
struct rpc_security_key_update_request * req )

Application level authorisation check for security_key_update

Only required if CONFIG_INFUSE_RPC_COMMAND_SECURITY_KEY_UPDATE_REQUIRED_AUTH allows non-device authorised packets.

Parameters
metaMetadata of the request
reqRequest parameters
Return values
trueCommand can run
falseCommand cannot run