Freescale-semiconductor SEC2SWUG Manuel d'utilisateur Page 16

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 44
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 15
SEC 2.0 Reference Device Driver User’s Guide, Rev. 0
16 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE Freescale Semiconductor
Individual Request Type Descriptions
unsigned char *inCtxData;
unsigned long inBytes;
unsigned char *inData;
unsigned char *outData; /* output length = input length */
unsigned long outCtxBytes; /* 257 bytes */
unsigned char *outCtxData;
NUM_RC4_LOADCTX_UNLOADCTX_DESC defines the number of descriptors within the
DPD_RC4_LDCTX_CRYPT_ULCTX_GROUP that use this request.
DPD_RC4_LDCTX_CRYPT_ULCTX_GROUP (0x3400) defines the group for all descriptors within this request.
4.3.2 ARC4_LOADKEY_CRYPT_UNLOADCTX_REQ
COMMON_REQ_PREAMBLE
unsigned long keyBytes;
unsigned char *keyData;
unsigned long inBytes;
unsigned char *inData;
unsigned char *outData; /* output length = input length */
unsigned long outCtxBytes; /* 257 bytes */
unsigned char* outCtxData;
NUM_RC4_LOADKEY_UNLOADCTX_DESC defines the number of descriptors within the
DPD_RC4_LDKEY_CRYPT_ULCTX_GROUP that use this request.
DPD_RC4_LDKEY_CRYPT_ULCTX_GROUP (0x3500) defines the group for all descriptors within this request.
Table 9. ARC4_LOADCTX_CRYPT_REQ Valid Descriptor (opId)
Descriptor Value Function Description
DPD_RC4_LDCTX_CRYPT_ULCTX 0x3400 Load context, encrypt using RC4, and store the
resulting context
Table 10. ARC4_LOADKEY_CRYPT_UNLOADCTX_REQ Valid Descriptor (opId)
Descriptor Value Function Description
DPD_RC4_LDKEY_CRYPT_ULCTX 0x3500 Load the cipher key, encrypt using RC4 then save the
resulting context
Vue de la page 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 43 44

Commentaires sur ces manuels

Pas de commentaire