Home | History | Annotate | Download | only in tpm2

Lines Matching defs:bytes

79 //     >0                               the number of bytes of buf used.
100 // the number of bytes copied (which may be zero).
289 // stateSize in hashState is updated to indicate the number of bytes of state that were saved. This function
396 // the digest in dOut. The number of bytes in the placed in the buffer is returned. If there is a failure, the
402 // >0 the number of bytes in the digest
493 // The digestSize parameter can be smaller than the digest. If so, only the more significant bytes are
498 // >= 0 number of bytes in digest (may be zero)
557 // The function returns the number of bytes in a digest produced by hashAlg.
561 // >= 0 number of bytes in digest produced by hashAlg (may be zero)
622 // dOutSize bytes.
626 // >= 0 number of bytes in dOut (may be zero)
731 // This function returns the number of bytes generated which may be zero.
733 // The value of sizeInBits must be no larger than (2^18)-1 = 256K bits (32385 bytes).
744 // >0 the number of bytes in the keyStream buffer
766 INT16 bytes; // number of bytes to produce
790 bytes = once ? hLen : (INT16)((sizeInBits + 7) / 8);
791 // Generate required bytes
792 for (; bytes > 0; stream = &stream[hLen], bytes = bytes - hLen)
794 if(bytes < hLen)
795 hLen = bytes;
821 // to the smaller of hLen and bytes. This causes bytes to decrement
838 // This function returns the number of bytes generated which may be zero.
840 // value of sizeInBits must be no larger than (2^18)-1 = 256K bits (32385 bytes). Any error in the processing
846 // >0 the number of bytes in the keyStream buffer
864 INT16 bytes; // number of bytes to generate
871 bytes = (INT16)((sizeInBits + 7) / 8);
875 // Generate required bytes
888 for (; bytes > 0; stream = &stream[hLen], bytes = bytes - hLen)
890 if(bytes < hLen)
891 hLen = bytes;
916 // Compute Hash. hLen was changed to be the smaller of bytes or hLen