Home | History | Annotate | Download | only in tpm2

Lines Matching refs:BYTE

16        BYTE         data[OSSL_HASH_STATE_DATA_SIZE];
84 BYTE *buf // OUT: The buffer that will receive the
86 // MAX_HASH_STATE_SIZE byte
107 BYTE *buf // IN: Buffer containing marshaled hash data
224 const BYTE **p
307 BYTE *stateData = state->u.data;
357 BYTE *data // IN: data to be hashed
362 BYTE *stateData = state->u.data;
408 BYTE *dOut // OUT: hash digest
413 BYTE *stateData = state->u.data;
417 BYTE temp[MAX_DIGEST_SIZE];
418 BYTE *rBuffer = dOut;
504 BYTE *data, // IN: the buffer to hash
506 BYTE *digest // OUT: hash digest
512 BYTE b[MAX_DIGEST_SIZE]; // temp buffer in case digestSize not
570 BYTE *key, // IN: the HMAC key
577 BYTE *pb; // temp pointer
633 BYTE *dOut // OUT: hash digest
636 BYTE digest[MAX_DIGEST_SIZE];
666 BYTE *mask, // OUT: buffer to receive the mask
669 BYTE *seed // IN: seed size
675 BYTE b[MAX_DIGEST_SIZE]; // temp buffer in case mask is not an
681 BYTE swappedCounter[4];
750 const char *label, // IN: a 0-byte terminated label used in KDF
754 BYTE *keyStream, // OUT: key buffer
767 BYTE *stream = keyStream;
768 BYTE marshaledUint32[4];
775 // Prepare label buffer. Calculate its size and keep the last 0 byte
810 _cpri__UpdateHash(&hashState, lLen, (BYTE *)label);
825 // Mask off bits if the required bits is not a multiple of byte size
856 BYTE *keyStream // OUT: key buffer
861 BYTE *stream = keyStream;
865 BYTE marshaledUint32[4];
872 // Prepare label buffer. Calculate its size and keep the last 0 byte
905 _cpri__UpdateHash(&hashState, lSize, (BYTE *)label);
909 _cpri__UpdateHash(&hashState, 1, (BYTE *)"");
920 // Mask off bits if the required bits is not a multiple of byte size