Freescale-semiconductor SEC2SWUG Manuel d'utilisateur Page 18

  • 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 17
SEC 2.0 Reference Device Driver User’s Guide, Rev. 0
18 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE Freescale Semiconductor
Individual Request Type Descriptions
4.5 HMAC Requests
4.5.1 HMAC_PAD_REQ
COMMON_REQ_PREAMBLE
unsigned long keyBytes;
unsigned char *keyData;
unsigned long inBytes;
unsigned char *inData;
unsigned long outBytes; /* length is fixed by algorithm */
unsigned char *outData;
NUM_HMAC_PAD_DESC defines the number of descriptors within the DPD_HASH_LDCTX_HMAC_ULCTX_GROUP that
use this request.
DPD_HASH_LDCTX_HMAC_ULCTX_GROUP (0x4A00) defines the group for all descriptors within this request.
Table 12. HASH_REQ Valid Descriptors (0x4500) (opId)
Descriptors Value Function Description
DPD_SHA256_LDCTX_HASH_PAD_ULCTX 0x4500 Compute digest with pre-padded data using an
SHA-256 hash algorithm then store the resulting
context
DPD_MD5_LDCTX_HASH_PAD_ULCTX 0x4501 Compute digest with pre-padded data using an MD5
hash algorithm then store the resulting context
DPD_SHA_LDCTX_HASH_PAD_ULCTX 0x4502 Compute digest with pre-padded data using an
SHA-1 hash algorithm then store the resulting context
DPD_SHA256_LDCTX_IDGS_HASH_PAD_ULCTX 0x4503 Compute digest with pre-padded data using an
SHA-256 IDGS hash algorithm then store the
resulting padded context
DPD_MD5_LDCTX_IDGS_HASH_PAD_ULCTX 0x4504 Compute digest with pre-padded data using an MD5
IDGS hash algorithm then store the resulting padded
context
DPD_SHA_LDCTX_IDGS_HASH_PAD_ULCTX 0x4505 Compute digest with pre-padded data using an
SHA-1 IDGS hash algorithm then store the resulting
padded context
Vue de la page 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 43 44

Commentaires sur ces manuels

Pas de commentaire