Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
W wiki
  • Project overview
    • Project overview
    • Details
    • Activity
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
Collapse sidebar
  • pub
  • wiki
  • Wiki
  • avl_aes_key_handling

Last edited by Guido Voigt Mar 02, 2021
Page history
This is an old version of this page. You can view the most recent version or browse the history.

avl_aes_key_handling

AVL AES Key Handling

sequenceDiagram

participant "Device" as Dev;
participant "Device TCP Session" as Dev_TCP;
participant "D2Sphere TCP Session" as D2S_TCP; 
participant "D2Sphere Database" as D2S_DB;
participant "D2SPhere REST API" as D2S_API;
 
autonumber
... create D2Sphere TCP conncetion ...
Dev -> Dev_TCP : create TCP session
Dev_TCP -> D2S_TCP : sent Login plain (contains uuid/IMEI and used enryption mode)
Dev_TCP <- Dev : load AES key from TPM key store to AES module
Dev_TCP <- Dev_TCP : start using enryption
Dev_TCP <- Dev_TCP : parse Login, mode, uuid
Dev_TCP <- D2S_DB : load AES key for uuid
D2S_TCP <- D2S_TCP : start using enryption
Dev_TCP <-> D2S_TCP : excahnge data
Dev_TCP <-> D2S_TCP : excahnge data

... key change via REST API ...
Dev_TCP <-> D2S_TCP : excahnge data
Dev_TCP <-> D2S_TCP : excahnge data
D2S_TCP <- D2S_API: keychange request with new key
Dev_TCP <- D2S_TCP : sent new Key
Dev <- Dev_TCP : store new key in TPM key store
D2S_TCP <- Dev_TCP : sent ACK / OK:ERROR
Dev_TCP <- Dev_TCP : use new Key
D2S_TCP <- D2S_TCP : receive ACK / OK
D2S_DB <- D2S_TCP : store new Key
D2S_TCP -> D2S_API : respond API request
D2S_TCP <- D2S_TCP : use new key
Dev_TCP <-> D2S_TCP : excahnge data with new Key
Dev_TCP <-> D2S_TCP : excahnge data with new Key
Clone repository
  • AVL Filesystem
  • BOLERO40_GNSS_improvement
  • BOLERO40_improvement_of_the_GNSS_performance
  • NFC_commands,_event,_dynamic_variable
  • Promotion_Kit_Settings
  • Workbench Mac Installation Readme
  • avl_aes_key_handling
  • avl_ble
  • avl_blueid
  • avl_config_commented_1
  • avl_ecodrive
  • avl_feature_list
  • avl_frp_main
  • avl_fw_update
  • avl_premium_feature_cpc
View All Pages