Home
last modified time | relevance | path

Searched refs:keyBits (Results 1 – 20 of 20) sorted by relevance

/external/tpm2/
DObject_spt.c74 UINT16 keyBits; in GetIV2BSize() local
80 keyBits = CONTEXT_ENCRYPT_KEY_BITS; in GetIV2BSize()
86 keyBits= protector->publicArea.parameters.asymDetail.symmetric.keyBits.sym; in GetIV2BSize()
90 return sizeof(UINT16) + CryptGetSymmetricBlockSize(symAlg, keyBits); in GetIV2BSize()
110 UINT16 *keyBits, // OUT: the symmetric key size in bits in ComputeProtectionKeyParms() argument
123 *keyBits = CONTEXT_ENCRYPT_KEY_BITS; in ComputeProtectionKeyParms()
131 *keyBits= symDef->keyBits.sym; in ComputeProtectionKeyParms()
132 symKey->t.size = (*keyBits + 7) / 8; in ComputeProtectionKeyParms()
716 UINT16 keyBits; in ProduceOuterWrap() local
749 &symAlg, &keyBits, &symKey); in ProduceOuterWrap()
[all …]
DDuplicate.c77 innerKeySize = in->symmetricAlg.keyBits.sym; in TPM2_Duplicate()
DEncryptDecrypt.c61 keySize = symKey->publicArea.parameters.symDetail.sym.keyBits.sym; in TPM2_EncryptDecrypt()
DImport.c99 innerKeySize = in->symmetricAlg.keyBits.sym; in TPM2_Import()
DCryptUtil.c874 publicArea->parameters.rsaDetail.keyBits, in CryptGenerateKeyRSA()
1946 != publicArea->parameters.symDetail.sym.keyBits.sym) in CryptGenerateKeySymmetric()
1951 if(publicArea->parameters.symDetail.sym.keyBits.sym % 8 != 0) in CryptGenerateKeySymmetric()
1958 = publicArea->parameters.symDetail.sym.keyBits.sym / 8; in CryptGenerateKeySymmetric()
2619 symDef->keyBits.sym); in CryptSecretDecrypt()
2629 symDef->keyBits.sym, TPM_ALG_CFB, in CryptSecretDecrypt()
2700 session->symmetric.keyBits.aes, &(key.b), in CryptParameterEncryption()
2770 session->symmetric.keyBits.sym, in CryptParameterDecryption()
3104 if( (publicArea->parameters.symDetail.sym.keyBits.sym + 7)/8 in CryptObjectPublicPrivateMatch()
3665 consistent = ( ((publicArea->parameters.rsaDetail.keyBits+7)/8) in CryptAreKeySizesConsistent()
Dtpm_types.h1014 TPMU_SYM_KEY_BITS keyBits; member
1021 TPMU_SYM_KEY_BITS keyBits; member
1420 TPMI_RSA_KEY_BITS keyBits; member
Dtpm_generated.c2158 total_size += TPMU_SYM_KEY_BITS_Marshal(&source->keyBits, buffer, size, in TPMT_SYM_DEF_OBJECT_Marshal()
2174 result = TPMU_SYM_KEY_BITS_Unmarshal(&target->keyBits, buffer, size, in TPMT_SYM_DEF_OBJECT_Unmarshal()
2591 total_size += TPMI_RSA_KEY_BITS_Marshal(&source->keyBits, buffer, size); in TPMS_RSA_PARMS_Marshal()
2608 result = TPMI_RSA_KEY_BITS_Unmarshal(&target->keyBits, buffer, size); in TPMS_RSA_PARMS_Unmarshal()
7172 total_size += TPMU_SYM_KEY_BITS_Marshal(&source->keyBits, buffer, size, in TPMT_SYM_DEF_Marshal()
7187 result = TPMU_SYM_KEY_BITS_Unmarshal(&target->keyBits, buffer, size, in TPMT_SYM_DEF_Unmarshal()
Dpart4.txt6784 44 UINT16 keyBits;
6791 51 keyBits = CONTEXT_ENCRYPT_KEY_BITS;
6797 57 keyBits= protector->publicArea.parameters.asymDetail.symmetric.keyBits.sym;
6802 62 return sizeof(UINT16) + CryptGetSymmetricBlockSize(symAlg, keyBits);
6822 73 UINT16 *keyBits, // OUT: the symmetric key size in bits
6836 87 *keyBits = CONTEXT_ENCRYPT_KEY_BITS;
6844 95 *keyBits= symDef->keyBits.sym;
6845 96 symKey->t.size = (*keyBits + 7) / 8;
7544 613 UINT16 keyBits;
7584 653 &symAlg, &keyBits, &symKey);
[all …]
Dpart3.txt4206 56 innerKeySize = in->symmetricAlg.keyBits.sym;
4696 37 innerKeySize = in->symmetricAlg.keyBits.sym;
5955 44 keySize = symKey->publicArea.parameters.symDetail.sym.keyBits.sym;
/external/wpa_supplicant_8/src/crypto/
Daes-internal.c779 int rijndaelKeySetupEnc(u32 rk[], const u8 cipherKey[], int keyBits) in rijndaelKeySetupEnc() argument
789 if (keyBits == 128) { in rijndaelKeySetupEnc()
805 if (keyBits == 192) { in rijndaelKeySetupEnc()
824 if (keyBits == 256) { in rijndaelKeySetupEnc()
Daes-internal-dec.c28 static int rijndaelKeySetupDec(u32 rk[], const u8 cipherKey[], int keyBits) in rijndaelKeySetupDec() argument
34 Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits); in rijndaelKeySetupDec()
Daes_i.h123 int rijndaelKeySetupEnc(u32 rk[], const u8 cipherKey[], int keyBits);
/external/guava/guava-tests/test/com/google/common/hash/
DHashTestUtils.java247 int keyBits = 32; in checkNoFunnels() local
251 for (int i = 0; i < keyBits; i++) { in checkNoFunnels()
256 int maxCount = (int) (4 * Math.log(2 * keyBits * hashBits) + 1); in checkNoFunnels()
290 int keyBits = 32; in checkAvalanche() local
292 for (int i = 0; i < keyBits; i++) { in checkAvalanche()
330 int keyBits = 32; in checkNo2BitCharacteristics() local
333 for (int i = 0; i < keyBits; i++) { in checkNo2BitCharacteristics()
334 for (int j = 0; j < keyBits; j++) { in checkNo2BitCharacteristics()
377 int keyBits = 32; in check2BitAvalanche() local
379 for (int bit1 = 0; bit1 < keyBits; bit1++) { in check2BitAvalanche()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUResourceBundleReader.java1249 int keyBits = maxOffsetBits + 2; // +2 for mini type: at most 30 bits used in a key in ResourceCache() local
1251 if(keyBits <= ROOT_BITS) { in ResourceCache()
1252 levelBitsList = keyBits; in ResourceCache()
1253 } else if(keyBits < (ROOT_BITS + 3)) { in ResourceCache()
1254 levelBitsList = 0x30 | (keyBits - 3); in ResourceCache()
1257 keyBits -= ROOT_BITS; in ResourceCache()
1260 if(keyBits <= NEXT_BITS) { in ResourceCache()
1261 levelBitsList |= keyBits << shift; in ResourceCache()
1263 } else if(keyBits < (NEXT_BITS + 3)) { in ResourceCache()
1264 levelBitsList |= (0x30 | (keyBits - 3)) << shift; in ResourceCache()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundleReader.java1247 int keyBits = maxOffsetBits + 2; // +2 for mini type: at most 30 bits used in a key in ResourceCache() local
1249 if(keyBits <= ROOT_BITS) { in ResourceCache()
1250 levelBitsList = keyBits; in ResourceCache()
1251 } else if(keyBits < (ROOT_BITS + 3)) { in ResourceCache()
1252 levelBitsList = 0x30 | (keyBits - 3); in ResourceCache()
1255 keyBits -= ROOT_BITS; in ResourceCache()
1258 if(keyBits <= NEXT_BITS) { in ResourceCache()
1259 levelBitsList |= keyBits << shift; in ResourceCache()
1261 } else if(keyBits < (NEXT_BITS + 3)) { in ResourceCache()
1262 levelBitsList |= (0x30 | (keyBits - 3)) << shift; in ResourceCache()
[all …]
/external/tpm2/generator/
Dstructures.txt1227 _NAME keyBits _UNION algorithm
1234 _NAME keyBits _UNION algorithm
1422 _NAME keyBits
Draw_structures.txt12649 [algorithm]keyBits
12687 [algorithm]keyBits
12725 The number of bits in the key is in keyBits in the public area. When keyBits is not an even multipl…
14642 keyBits
Draw_structures_fixed.txt12648 [algorithm]keyBits
12686 [algorithm]keyBits
12724 The number of bits in the key is in keyBits in the public area. When keyBits is not an even multipl…
14631 keyBits
Draw_commands_fixed.txt7142 innerKeySize = in->symmetricAlg.keyBits.sym;
8073 innerKeySize = in->symmetricAlg.keyBits.sym;
10312 keySize = symKey->publicArea.parameters.symDetail.sym.keyBits.sym;
Draw_commands.txt7136 innerKeySize = in->symmetricAlg.keyBits.sym;
8062 innerKeySize = in->symmetricAlg.keyBits.sym;
10301 keySize = symKey->publicArea.parameters.symDetail.sym.keyBits.sym;