| 7182 | } |
| 7183 | |
| 7184 | aes_encrypt_ctx *Driver::GetAuthKey |
| 7185 | ( |
| 7186 | ) |
| 7187 | { |
| 7188 | if( m_currentControllerCommand != NULL && |
| 7189 | m_currentControllerCommand->m_controllerCommand == ControllerCommand_AddDevice && |
| 7190 | m_currentControllerCommand->m_controllerState == ControllerState_Completed ) { |
| 7191 | /* we are adding a Node, so our AuthKey is different from normal comms */ |
| 7192 | initNetworkKeys(true); |
| 7193 | } else if (m_inclusionkeySet) { |
| 7194 | initNetworkKeys(false); |
| 7195 | } |
| 7196 | return this->AuthKey; |
| 7197 | }; |
| 7198 | aes_encrypt_ctx *Driver::GetEncKey |
| 7199 | ( |
| 7200 | ) |
no outgoing calls
no test coverage detected