Searched refs:sizeInBits (Results 1 - 12 of 12) sorted by relevance

/external/tpm2/
H A Dstubs_hash.c87 UINT32 sizeInBits, // IN: size of generated key in bit
93 // performed FALSE if iteration count determined by "sizeInBits"
105 pAssert(once == FALSE || (sizeInBits & 7) == 0);
122 pAssert(((sizeInBits + 7)/ 8) <= INT16_MAX);
123 bytes = once ? hLen : (INT16)((sizeInBits + 7) / 8);
151 UINT32_TO_BYTE_ARRAY(sizeInBits, marshaledUint32);
159 if((sizeInBits % 8) != 0)
160 keyStream[0] &= ((1 << (sizeInBits % 8)) - 1);
163 return (CRYPT_RESULT)((sizeInBits + 7)/8);
172 UINT32 sizeInBits, // I
81 _cpri__KDFa( TPM_ALG_ID hashAlg, TPM2B * key, const char *label, TPM2B * contextU, TPM2B * contextV, UINT32 sizeInBits, BYTE * keyStream, UINT32 * counterInOut, BOOL once ) argument
166 _cpri__KDFe( TPM_ALG_ID hashAlg, TPM2B * Z, const char *label, TPM2B * partyUInfo, TPM2B * partyVInfo, UINT32 sizeInBits, BYTE * keyStream ) argument
[all...]
H A DCpriHash_fp.h39 UINT32 sizeInBits, // IN: size of generated key in bit
45 // iteration count determined by "sizeInBits"
53 UINT32 sizeInBits, // IN: size of generated key in bit
H A DCpriHash.c733 // The value of sizeInBits must be no larger than (2^18)-1 = 256K bits (32385 bytes).
735 // sizeInBits will be used in the HMAC computation but only one iteration of the KDF is performed. This
738 // result. If once is TRUE, then sizeInBits must be a multiple of 8.
753 UINT32 sizeInBits, // IN: size of generated key in bit
760 // "sizeInBits"
772 pAssert(once == FALSE || (sizeInBits & 7) == 0);
789 pAssert(((sizeInBits + 7)/ 8) <= INT16_MAX);
790 bytes = once ? hLen : (INT16)((sizeInBits + 7) / 8);
818 UINT32_TO_BYTE_ARRAY(sizeInBits, marshaledUint32);
826 if((sizeInBits
747 _cpri__KDFa( TPM_ALG_ID hashAlg, TPM2B *key, const char *label, TPM2B *contextU, TPM2B *contextV, UINT32 sizeInBits, BYTE *keyStream, UINT32 *counterInOut, BOOL once ) argument
849 _cpri__KDFe( TPM_ALG_ID hashAlg, TPM2B *Z, const char *label, TPM2B *partyUInfo, TPM2B *partyVInfo, UINT32 sizeInBits, BYTE *keyStream ) argument
[all...]
H A DCryptUtil_fp.h183 // generate sizeInBits number of bits.
185 #define CryptKDFa(hashAlg, key, label, contextU, contextV, sizeInBits, \
189 ((TPM2B *)contextU), ((TPM2B *)contextV), ((UINT32)sizeInBits), \
200 // regardless of sizeInBits.
202 #define CryptKDFaOnce(hashAlg, key, label, contextU, contextV, sizeInBits, \
206 ((TPM2B *)contextU), ((TPM2B *)contextV), ((UINT32)sizeInBits), \
217 #define CryptKDFe(hashAlg, Z, label, partyUInfo, partyVInfo, sizeInBits, \
222 ((UINT32)sizeInBits), ((BYTE *)keyStream))
363 UINT32 sizeInBits, // IN: size of generated key in bit
H A DCryptUtil.c761 UINT32 sizeInBits, // IN: size of generated key in bit
768 CryptKDFa(hash, key, label, contextU, contextV, sizeInBits,
755 KDFa( TPM_ALG_ID hash, TPM2B *key, const char *label, TPM2B *contextU, TPM2B *contextV, UINT32 sizeInBits, BYTE *keyStream, UINT32 *counterInOut ) argument
/external/parameter-framework/upstream/parameter/
H A DFloatingPointParameterType.cpp88 size_t sizeInBits = 32; local
89 xmlElement.getAttribute("Size", sizeInBits);
93 if (sizeInBits != sizeof(float) * CHAR_BIT) {
95 serializingContext.setError("Unsupported size (" + std::to_string(sizeInBits) + ") for " +
102 setSize(sizeInBits / CHAR_BIT);
H A DIntegerParameterType.cpp100 size_t sizeInBits = 0; local
101 xmlElement.getAttribute("Size", sizeInBits);
104 setSize(sizeInBits / 8);
111 sizeInBits--;
115 _uiMin = 1U << sizeInBits;
120 _uiMax = (1U << sizeInBits) - 1;
132 _uiMax = ~0U >> (8 * sizeof(size_t) - sizeInBits);
H A DEnumParameterType.cpp80 size_t sizeInBits = 0; local
81 if (not xmlElement.getAttribute("Size", sizeInBits)) {
86 setSize(sizeInBits / 8);
H A DFixedPointParameterType.cpp94 size_t sizeInBits = 0; local
95 xmlElement.getAttribute("Size", sizeInBits);
102 if (sizeInBits < getUtilSizeInBits()) {
114 setSize(sizeInBits / 8);
H A DParameterType.cpp204 size_t sizeInBits = getSize() * 8; local
206 uint32_t uiMask = (1 << sizeInBits) - 1;
/external/llvm/lib/Support/
H A DAPFloat.cpp58 unsigned int sizeInBits; member in struct:llvm::fltSemantics
869 return semantics.sizeInBits;
3396 return Sem.sizeInBits;
/external/junit-params/lib/
H A Dassertj-core-1.7.1.jarMETA-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/org.assertj/ META- ...

Completed in 753 milliseconds