/external/tpm2/ |
D | Object_spt.c | 74 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() 718 UINT16 keyBits; in ProduceOuterWrap() local 751 &symAlg, &keyBits, &symKey); in ProduceOuterWrap() [all …]
|
D | Duplicate.c | 77 innerKeySize = in->symmetricAlg.keyBits.sym; in TPM2_Duplicate()
|
D | CryptUtil.c | 880 publicArea->parameters.rsaDetail.keyBits, in CryptGenerateKeyRSA() 1958 != publicArea->parameters.symDetail.sym.keyBits.sym) in CryptGenerateKeySymmetric() 1963 if(publicArea->parameters.symDetail.sym.keyBits.sym % 8 != 0) in CryptGenerateKeySymmetric() 1970 = publicArea->parameters.symDetail.sym.keyBits.sym / 8; in CryptGenerateKeySymmetric() 2631 symDef->keyBits.sym); in CryptSecretDecrypt() 2641 symDef->keyBits.sym, TPM_ALG_CFB, in CryptSecretDecrypt() 2712 session->symmetric.keyBits.aes, &(key.b), in CryptParameterEncryption() 2782 session->symmetric.keyBits.sym, in CryptParameterDecryption() 3116 if( (publicArea->parameters.symDetail.sym.keyBits.sym + 7)/8 in CryptObjectPublicPrivateMatch() 3677 consistent = ( ((publicArea->parameters.rsaDetail.keyBits+7)/8) in CryptAreKeySizesConsistent()
|
D | EncryptDecrypt.c | 61 keySize = symKey->publicArea.parameters.symDetail.sym.keyBits.sym; in TPM2_EncryptDecrypt()
|
D | Import.c | 99 innerKeySize = in->symmetricAlg.keyBits.sym; in TPM2_Import()
|
D | tpm_types.h | 1014 TPMU_SYM_KEY_BITS keyBits; member 1021 TPMU_SYM_KEY_BITS keyBits; member 1423 TPMI_RSA_KEY_BITS keyBits; member
|
D | tpm_generated.c | 2158 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() 2595 total_size += TPMI_RSA_KEY_BITS_Marshal(&source->keyBits, buffer, size); in TPMS_RSA_PARMS_Marshal() 2612 result = TPMI_RSA_KEY_BITS_Unmarshal(&target->keyBits, buffer, size); in TPMS_RSA_PARMS_Unmarshal() 7176 total_size += TPMU_SYM_KEY_BITS_Marshal(&source->keyBits, buffer, size, in TPMT_SYM_DEF_Marshal() 7191 result = TPMU_SYM_KEY_BITS_Unmarshal(&target->keyBits, buffer, size, in TPMT_SYM_DEF_Unmarshal()
|
/external/wpa_supplicant_8/src/crypto/ |
D | aes-internal.c | 779 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()
|
D | aes-internal-dec.c | 28 static int rijndaelKeySetupDec(u32 rk[], const u8 cipherKey[], int keyBits) in rijndaelKeySetupDec() argument 34 Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits); in rijndaelKeySetupDec()
|
D | aes_i.h | 123 int rijndaelKeySetupEnc(u32 rk[], const u8 cipherKey[], int keyBits);
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashTestUtils.java | 247 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/ |
D | ICUResourceBundleReader.java | 1243 int keyBits = maxOffsetBits + 2; // +2 for mini type: at most 30 bits used in a key in ResourceCache() local 1245 if(keyBits <= ROOT_BITS) { in ResourceCache() 1246 levelBitsList = keyBits; in ResourceCache() 1247 } else if(keyBits < (ROOT_BITS + 3)) { in ResourceCache() 1248 levelBitsList = 0x30 | (keyBits - 3); in ResourceCache() 1251 keyBits -= ROOT_BITS; in ResourceCache() 1254 if(keyBits <= NEXT_BITS) { in ResourceCache() 1255 levelBitsList |= keyBits << shift; in ResourceCache() 1257 } else if(keyBits < (NEXT_BITS + 3)) { in ResourceCache() 1258 levelBitsList |= (0x30 | (keyBits - 3)) << shift; in ResourceCache() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICUResourceBundleReader.java | 1241 int keyBits = maxOffsetBits + 2; // +2 for mini type: at most 30 bits used in a key in ResourceCache() local 1243 if(keyBits <= ROOT_BITS) { in ResourceCache() 1244 levelBitsList = keyBits; in ResourceCache() 1245 } else if(keyBits < (ROOT_BITS + 3)) { in ResourceCache() 1246 levelBitsList = 0x30 | (keyBits - 3); in ResourceCache() 1249 keyBits -= ROOT_BITS; in ResourceCache() 1252 if(keyBits <= NEXT_BITS) { in ResourceCache() 1253 levelBitsList |= keyBits << shift; in ResourceCache() 1255 } else if(keyBits < (NEXT_BITS + 3)) { in ResourceCache() 1256 levelBitsList |= (0x30 | (keyBits - 3)) << shift; in ResourceCache() [all …]
|