Home
last modified time | relevance | path

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

/external/tpm2/
Dstubs_hash.c87 UINT32 sizeInBits, // IN: size of generated key in bit in _cpri__KDFa() argument
105 pAssert(once == FALSE || (sizeInBits & 7) == 0); in _cpri__KDFa()
122 pAssert(((sizeInBits + 7)/ 8) <= INT16_MAX); in _cpri__KDFa()
123 bytes = once ? hLen : (INT16)((sizeInBits + 7) / 8); in _cpri__KDFa()
151 UINT32_TO_BYTE_ARRAY(sizeInBits, marshaledUint32); in _cpri__KDFa()
159 if((sizeInBits % 8) != 0) in _cpri__KDFa()
160 keyStream[0] &= ((1 << (sizeInBits % 8)) - 1); in _cpri__KDFa()
163 return (CRYPT_RESULT)((sizeInBits + 7)/8); in _cpri__KDFa()
172 UINT32 sizeInBits, // IN: size of generated key in bit in _cpri__KDFe() argument
185 && ((sizeInBits + 7) / 8) < INT16_MAX); in _cpri__KDFe()
[all …]
DCpriHash.c753 UINT32 sizeInBits, // IN: size of generated key in bit in _cpri__KDFa() argument
772 pAssert(once == FALSE || (sizeInBits & 7) == 0); in _cpri__KDFa()
789 pAssert(((sizeInBits + 7)/ 8) <= INT16_MAX); in _cpri__KDFa()
790 bytes = once ? hLen : (INT16)((sizeInBits + 7) / 8); in _cpri__KDFa()
818 UINT32_TO_BYTE_ARRAY(sizeInBits, marshaledUint32); in _cpri__KDFa()
826 if((sizeInBits % 8) != 0) in _cpri__KDFa()
827 keyStream[0] &= ((1 << (sizeInBits % 8)) - 1); in _cpri__KDFa()
830 return (CRYPT_RESULT)((sizeInBits + 7)/8); in _cpri__KDFa()
855 UINT32 sizeInBits, // IN: size of generated key in bit in _cpri__KDFe() argument
868 && ((sizeInBits + 7) / 8) < INT16_MAX); in _cpri__KDFe()
[all …]
DCryptUtil_fp.h185 #define CryptKDFa(hashAlg, key, label, contextU, contextV, sizeInBits, \ argument
189 ((TPM2B *)contextU), ((TPM2B *)contextV), ((UINT32)sizeInBits), \
202 #define CryptKDFaOnce(hashAlg, key, label, contextU, contextV, sizeInBits, \ argument
206 ((TPM2B *)contextU), ((TPM2B *)contextV), ((UINT32)sizeInBits), \
217 #define CryptKDFe(hashAlg, Z, label, partyUInfo, partyVInfo, sizeInBits, \ argument
222 ((UINT32)sizeInBits), ((BYTE *)keyStream))
363 UINT32 sizeInBits, // IN: size of generated key in bit
DCpriHash_fp.h39 UINT32 sizeInBits, // IN: size of generated key in bit
53 UINT32 sizeInBits, // IN: size of generated key in bit
DCryptUtil.c755 UINT32 sizeInBits, // IN: size of generated key in bit in KDFa() argument
762 CryptKDFa(hash, key, label, contextU, contextV, sizeInBits, in KDFa()
Dpart4.txt20173 sizeInBits number of bits.
20176 509 //% sizeInBits, keyStream, counterInOut) \
20184 517 //% ((UINT32)sizeInBits), \
20197 sizeInBits.
20200 524 //% sizeInBits, keyStream, counterInOut) \
20208 532 //% ((UINT32)sizeInBits), \
20227 545 UINT32 sizeInBits, // IN: size of generated key in bit
20239 552 CryptKDFa(hash, key, label, contextU, contextV, sizeInBits,
20250 556 //% sizeInBits, keyStream) \
20258 564 //% ((UINT32)sizeInBits), \
[all …]
/external/parameter-framework/upstream/parameter/
DIntegerParameterType.cpp100 size_t sizeInBits = 0; in fromXml() local
101 xmlElement.getAttribute("Size", sizeInBits); in fromXml()
104 setSize(sizeInBits / 8); in fromXml()
111 sizeInBits--; in fromXml()
115 _uiMin = 1U << sizeInBits; in fromXml()
120 _uiMax = (1U << sizeInBits) - 1; in fromXml()
132 _uiMax = ~0U >> (8 * sizeof(size_t) - sizeInBits); in fromXml()
DFloatingPointParameterType.cpp88 size_t sizeInBits = 32; in fromXml() local
89 xmlElement.getAttribute("Size", sizeInBits); in fromXml()
93 if (sizeInBits != sizeof(float) * CHAR_BIT) { in fromXml()
95 serializingContext.setError("Unsupported size (" + std::to_string(sizeInBits) + ") for " + in fromXml()
102 setSize(sizeInBits / CHAR_BIT); in fromXml()
DFixedPointParameterType.cpp94 size_t sizeInBits = 0; in fromXml() local
95 xmlElement.getAttribute("Size", sizeInBits); in fromXml()
102 if (sizeInBits < getUtilSizeInBits()) { in fromXml()
114 setSize(sizeInBits / 8); in fromXml()
DEnumParameterType.cpp80 size_t sizeInBits = 0; in fromXml() local
81 if (not xmlElement.getAttribute("Size", sizeInBits)) { in fromXml()
86 setSize(sizeInBits / 8); in fromXml()
DParameterType.cpp204 size_t sizeInBits = getSize() * 8; in makeEncodable() local
206 uint32_t uiMask = (1 << sizeInBits) - 1; in makeEncodable()
/external/llvm/lib/Support/
DAPFloat.cpp57 unsigned int sizeInBits; member
866 return semantics.sizeInBits; in semanticsSizeInBits()
3393 return Sem.sizeInBits; in getSizeInBits()