Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenloses um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereiche, welche für Gäste verwehrt bleiben

HSN CHnage Teil 2

candelaver

Ist gelegentlich hier
Registriert
9. Januar 2008
Beiträge
48
Reaktionspunkte
1
Punkte
8
Hi Leute, seit einige Tagen beschäftige ich mich mit meiner V1.4 karte. ich bin über folgendes gestolpert, was einen HSN, PID change angeht. könnte mir das jemand von den erfahrenen Gamma User etwas erklären/weiter helfen das besser zu versthen bzw. mit einem Beispiel ?? hier brauch ich Hilfe von euch, dass besser zu versthene, wie ich an die geforderten Daten komme. Ansonsten siehe komplette Anleitung. Danke euch für den Schubs in die richtige Richtung. ---------------------------------------- DK = Index to 16byte Gamma update 3DES Key. LN = Length of Message MM = 8 Byte DES MAC US = Update Selector (what to update) For GSMK US = 01 For PMSK US = 02 For IV_PAD US = 03 For GMASK US = 04 For PMASK US = 05 For KEK US = 06 For COCO US = 08 For HSN US = 09 For ExiKey US = 0B For AxiKey US = 0C For ProviderID US = 10 For GroupKey US = 12 For ProductKey US = 13 For OS Erase US = 20 FOR OS Update US = 21 ---------------------------------------------- How to create Gamma Update, (Commands) '' 020100DKLNMMMMMMMMUSUL PAYLOAD CC 02 = Gamma update PDU 01 = CLA 00 = P1 DK = Index to 16byte Gamma update 3DES Key. LN = Length of Message MM = 8 Byte DES MAC US = Update Selector (what to update) For GSMK US = 01 For PMSK US = 02 For IV_PAD US = 03 For GMASK US = 04 For PMASK US = 05 For KEK US = 06 For COCO US = 08 For HSN US = 09 For ExiKey US = 0B For AxiKey US = 0C For ProviderID US = 10 For GroupKey US = 12 For ProductKey US = 13 For OS Erase US = 20 FOR OS Update US = 21 UL = Length of Update (for example for HSN UL = 03, for GMSK UL = 10, etc...) PAYLOAD is the Update CC = Message CRC or Checksum. Simply XOR message with 0x3F OK to have multiple updates in one command. Example: 020100DKLNMMMMMMMM0903HNHNHN0803COCOCO1003PIPIPICC This command will update HSN (HN), Coco (CO) and Provider ID (PI) in one go. The DES MAC is calculated by prepending an 8 octet confounder to the plaintext, performing a DES CBC-mode encryption on the result using the key and an initialization vector of zero, taking the last block of the ciphertext, prepending the same confounder and encrypting the pair using DES in cipher-block-chaining (CBC) mode using a a variant of the key, where the variant is computed by eXclusive-ORing the key The message after LN is encrypted using the Triple DES mode CBC until the CC using 16 byte key in index DK . ''
 
Zuletzt bearbeitet:
AW: HSN CHnage Teil 2

Das stimmt! Meinte ja auch allgemein wofür man dieses HSN braucht.
 
Zurück
Oben