smg_comms_skeys_s... 1
smg_comms_skeys_s... 2
smg_comms_skeys_s... 3
smg_comms_skeys_s... 4
smg_comms_skeys_s... 5
smg_comms_skeys_s... 6
smg_comms_skeys_s... 7
smg_comms_skeys_s... 8
smg_comms_skeys_s... 9
smg_comms_skeys_s... 10
smg_comms_skeys_s... 11
smg_comms_skeys_s... 12
smg_comms_skeys_s... 13
smg_comms_skeys_s... 14 with Raw_Types;
smg_comms_skeys_s... 15 with RNG;
smg_comms_skeys_s... 16 with CRC32;
smg_comms_skeys_s... 17 with Data_Structs; use Data_Structs;
smg_comms_skeys_s... 18 with Interfaces;
smg_comms_skeys_s... 19
smg_comms_skeys_s... 20 package Messages is
smg_comms_skeys_s... 21
smg_comms_skeys_s... 22 Invalid_Msg: exception;
smg_comms_skeys_s... 23
smg_comms_keymgm 24
smg_comms_keymgm 25
smg_comms_keymgm 26
smg_comms_keymgm 27
smg_comms_keymgm 28
smg_comms_skeys_s... 29
smg_comms_skeys_s... 30
smg_comms_skeys_s... 31
smg_comms_skeys_s... 32
smg_comms_skeys_s... 33 procedure Write_SKeys_SMsg( Keyset : in Serpent_Keyset;
smg_comms_skeys_s... 34 Counter : in Interfaces.Unsigned_16;
smg_comms_skeys_s... 35 Msg : out Raw_Types.Serpent_Msg);
smg_comms_skeys_s... 36
smg_comms_skeys_s... 37
smg_comms_skeys_s... 38
smg_comms_skeys_s... 39
smg_comms_skeys_s... 40 procedure Read_SKeys_SMsg( Msg : in Raw_Types.Serpent_Msg;
smg_comms_skeys_s... 41 Counter : out Interfaces.Unsigned_16;
smg_comms_skeys_s... 42 Keyset : out Serpent_Keyset);
smg_comms_skeys_s... 43
smg_comms_keymgm 44
smg_comms_keymgm 45
smg_comms_keymgm 46
smg_comms_keymgm 47
smg_comms_keymgm 48
smg_comms_keymgm 49 procedure Write_KMgm_SMsg( KMgm : in Keys_Mgm;
smg_comms_keymgm 50 Counter : in Interfaces.Unsigned_16;
smg_comms_keymgm 51 Msg : out Raw_Types.Serpent_Msg);
smg_comms_keymgm 52
smg_comms_keymgm 53
smg_comms_keymgm 54
smg_comms_keymgm 55
smg_comms_keymgm 56 procedure Read_KMgm_SMsg( Msg : in Raw_Types.Serpent_Msg;
smg_comms_keymgm 57 Counter : out Interfaces.Unsigned_16;
smg_comms_keymgm 58 KMgm : out Keys_Mgm);
smg_comms_keymgm 59
smg_comms_files 60
smg_comms_files 61
smg_comms_files 62
smg_comms_files 63
smg_comms_files 64 procedure Write_File_Transfer( Chunk : in File_Chunk;
smg_comms_files 65 Msg : out Raw_Types.Serpent_Msg);
smg_comms_files 66
smg_comms_files 67
smg_comms_files 68
smg_comms_files 69 procedure Read_File_Transfer( Msg : in Raw_Types.Serpent_Msg;
smg_comms_files 70 Chunk : out File_Chunk);
smg_comms_files 71
smg_comms_files 72
smg_comms_files 73
smg_comms_files 74
smg_comms_files 75
smg_comms_files 76
smg_comms_files 77
smg_comms_files 78 procedure Write_File_Request( FR : in Filenames;
smg_comms_files 79 Counter : in Interfaces.Unsigned_16;
smg_comms_files 80 Msg : out Raw_Types.Serpent_Msg;
smg_comms_files 81 Written : out Natural);
smg_comms_keymgm 82
smg_comms_files 83
smg_comms_files 84
smg_comms_files 85 procedure Read_File_Request( Msg : in Raw_Types.Serpent_Msg;
smg_comms_files 86 Counter : out Interfaces.Unsigned_16;
smg_comms_files 87 FR : out Filenames);
smg_comms_keymgm 88
smg_comms_keymgm 89
smg_comms_keymgm 90
smg_comms_keymgm 91
smg_comms_keymgm 92
smg_comms_keymgm 93
smg_comms_keymgm 94
smg_comms_keymgm 95
smg_comms_keymgm 96
smg_comms_keymgm 97
smg_comms_keymgm 98 procedure Write_SKeys_RMsg( Keyset : in Serpent_Keyset;
smg_comms_keymgm 99 Counter : in Interfaces.Unsigned_16;
smg_comms_keymgm 100 Msg : out Raw_Types.RSA_Msg);
smg_comms_keymgm 101
smg_comms_keymgm 102
smg_comms_keymgm 103
smg_comms_keymgm 104
smg_comms_keymgm 105 procedure Read_SKeys_RMsg( Msg : in Raw_Types.RSA_Msg;
smg_comms_keymgm 106 Counter : out Interfaces.Unsigned_16;
smg_comms_keymgm 107 Keyset : out Serpent_Keyset);
smg_comms_keymgm 108
smg_comms_keymgm 109
smg_comms_keymgm 110
smg_comms_keymgm 111
smg_comms_keymgm 112
smg_comms_keymgm 113
smg_comms_keymgm 114 procedure Write_KMgm_RMsg( KMgm : in Keys_Mgm;
smg_comms_keymgm 115 Counter : in Interfaces.Unsigned_16;
smg_comms_keymgm 116 Msg : out Raw_Types.RSA_Msg);
smg_comms_keymgm 117
smg_comms_keymgm 118
smg_comms_keymgm 119
smg_comms_files 120
smg_comms_keymgm 121 procedure Read_KMgm_RMsg( Msg : in Raw_Types.RSA_Msg;
smg_comms_keymgm 122 Counter : out Interfaces.Unsigned_16;
smg_comms_keymgm 123 KMgm : out Keys_Mgm);
smg_comms_keymgm 124
smg_comms_keymgm 125
smg_comms_files 126
smg_comms_files 127
smg_comms_files 128 procedure String_To_Octets(Str: in String; O: out Raw_Types.Octets);
smg_comms_files 129
smg_comms_files 130
smg_comms_files 131
smg_comms_files 132 procedure Octets_To_String(O: in Raw_Types.Octets; Str: out String);
smg_comms_files 133
smg_comms_skeys_s... 134 private
smg_comms_skeys_s... 135
smg_comms_skeys_s... 136
smg_comms_skeys_s... 137
smg_comms_skeys_s... 138
smg_comms_skeys_s... 139 procedure Cast_LE( LE: in out Raw_Types.Octets );
smg_comms_skeys_s... 140
smg_comms_files 141
smg_comms_files 142 F_Sep: constant String := ";";
smg_comms_files 143 Sep: constant Interfaces.Unsigned_8 := 16#3B#;
smg_comms_files 144
smg_comms_skeys_s... 145
smg_comms_skeys_s... 146
smg_comms_skeys_s... 147
smg_comms_skeys_s... 148
smg_comms_skeys_s... 149
smg_comms_skeys_s... 150
smg_comms_skeys_s... 151 SKeys_S_Type : constant Interfaces.Unsigned_8 := 1;
smg_comms_skeys_s... 152 Key_Mgm_S_Type : constant Interfaces.Unsigned_8 := 2;
smg_comms_skeys_s... 153 File_Transfer_S_Type : constant Interfaces.Unsigned_8 := 3;
smg_comms_skeys_s... 154 File_Req_S_Type : constant Interfaces.Unsigned_8 := 4;
smg_comms_skeys_s... 155 Client_Action_S_Type : constant Interfaces.Unsigned_8 := 5;
smg_comms_skeys_s... 156 World_Bulletin_S_Type: constant Interfaces.Unsigned_8 := 6;
smg_comms_skeys_s... 157 Obj_Request_S_Type : constant Interfaces.Unsigned_8 := 7;
smg_comms_skeys_s... 158 Obj_Info_S_Type : constant Interfaces.Unsigned_8 := 8;
smg_comms_skeys_s... 159
smg_comms_skeys_s... 160
smg_comms_skeys_s... 161 RKeys_R_Type : constant Interfaces.Unsigned_8 := 251;
smg_comms_skeys_s... 162 SKeys_R_Type : constant Interfaces.Unsigned_8 := 157;
smg_comms_skeys_s... 163 Key_Mgm_R_Type : constant Interfaces.Unsigned_8 := 233;
smg_comms_skeys_s... 164
smg_comms_skeys_s... 165
smg_comms_skeys_s... 166 Lock_A_Type : constant Interfaces.Unsigned_8 := 0;
smg_comms_skeys_s... 167 Make_A_Type : constant Interfaces.Unsigned_8 := 1;
smg_comms_skeys_s... 168 Explore_A_Type : constant Interfaces.Unsigned_8 := 2;
smg_comms_skeys_s... 169 Exchange_A_Type : constant Interfaces.Unsigned_8 := 3;
smg_comms_skeys_s... 170 Attack_A_Type : constant Interfaces.Unsigned_8 := 4;
smg_comms_skeys_s... 171 Repair_A_Type : constant Interfaces.Unsigned_8 := 5;
smg_comms_skeys_s... 172 Move_A_Type : constant Interfaces.Unsigned_8 := 6;
smg_comms_skeys_s... 173 Train_A_Type : constant Interfaces.Unsigned_8 := 7;
smg_comms_skeys_s... 174
smg_comms_keymgm 175
smg_comms_keymgm 176
smg_comms_keymgm 177
smg_comms_keymgm 178
smg_comms_keymgm 179
smg_comms_keymgm 180 procedure Write_SKeys( Keyset : in Serpent_Keyset;
smg_comms_keymgm 181 Counter : in Interfaces.Unsigned_16;
smg_comms_keymgm 182 Type_ID : in Interfaces.Unsigned_8;
smg_comms_keymgm 183 Msg : out Raw_Types.Octets);
smg_comms_keymgm 184
smg_comms_keymgm 185
smg_comms_keymgm 186 procedure Read_SKeys( Msg : in Raw_Types.Octets;
smg_comms_keymgm 187 Counter : out Interfaces.Unsigned_16;
smg_comms_keymgm 188 Keyset : out Serpent_Keyset);
smg_comms_keymgm 189
smg_comms_keymgm 190
smg_comms_keymgm 191
smg_comms_keymgm 192
smg_comms_keymgm 193
smg_comms_keymgm 194
smg_comms_keymgm 195
smg_comms_keymgm 196 procedure Write_KMgm( KMgm : in Keys_Mgm;
smg_comms_keymgm 197 Counter : in Interfaces.Unsigned_16;
smg_comms_keymgm 198 Type_ID : in Interfaces.Unsigned_8;
smg_comms_keymgm 199 Msg : out Raw_Types.Octets);
smg_comms_keymgm 200
smg_comms_keymgm 201
smg_comms_keymgm 202 procedure Read_KMgm( Msg : in Raw_Types.Octets;
smg_comms_keymgm 203 Counter : out Interfaces.Unsigned_16;
smg_comms_keymgm 204 KMgm : out Keys_Mgm);
smg_comms_keymgm 205
smg_comms_files 206
smg_comms_files 207
smg_comms_files 208
smg_comms_files 209
smg_comms_files 210
smg_comms_files 211
smg_comms_files 212
smg_comms_files 213
smg_comms_files 214 procedure Write_U16( Msg: in out Raw_Types.Octets;
smg_comms_files 215 Pos: in out Natural;
smg_comms_files 216 U16: in Interfaces.Unsigned_16);
smg_comms_files 217
smg_comms_files 218
smg_comms_files 219
smg_comms_files 220
smg_comms_files 221
smg_comms_files 222
smg_comms_files 223 procedure Read_U16( Msg: in Raw_Types.Octets;
smg_comms_files 224 Pos: in out Natural;
smg_comms_files 225 U16: out Interfaces.Unsigned_16);
smg_comms_skeys_s... 226 end Messages;