Home
last modified time | relevance | path

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

12345

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/wolf/
DTpmToWolfDesSupport.c54 UINT32 keyBits, in TDES_setup() argument
63 if(keyBits == 128) in TDES_setup()
79 UINT32 keyBits, in TDES_setup_encrypt_key() argument
83 return TDES_setup( key, keyBits, skey, DES_ENCRYPTION ); in TDES_setup_encrypt_key()
90 UINT32 keyBits, in TDES_setup_decrypt_key() argument
94 return TDES_setup( key, keyBits, skey, DES_DECRYPTION ); in TDES_setup_decrypt_key()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DRsaKeyCache.c135 TPM_KEY_BITS keySave = publicArea->parameters.rsaDetail.keyBits; in InitializeKeyCache()
141 publicArea->parameters.rsaDetail.keyBits in InitializeKeyCache()
150 publicArea->parameters.rsaDetail.keyBits = keySave; in InitializeKeyCache()
237 int keyBits = publicArea->parameters.rsaDetail.keyBits; in GetCachedRsaKey() local
244 if((s_rsaKeyCache[index].publicModulus.t.size * 8) == keyBits) in GetCachedRsaKey()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DTpmToWolfDesSupport_fp.h52 UINT32 keyBits,
61 UINT32 keyBits,
69 UINT32 keyBits,
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/
DObject_spt.c50 UINT16 keyBits; in GetIV2BSize() local
57 keyBits = CONTEXT_ENCRYPT_KEY_BITS; in GetIV2BSize()
62 keyBits = protector->publicArea.parameters.asymDetail.symmetric.keyBits.sym; in GetIV2BSize()
67 return sizeof(UINT16) + CryptGetSymmetricBlockSize(symAlg, keyBits); in GetIV2BSize()
105 UINT16 *keyBits, // OUT: the symmetric key size in bits in ComputeProtectionKeyParms() argument
118 *keyBits = CONTEXT_ENCRYPT_KEY_BITS; in ComputeProtectionKeyParms()
125 *keyBits = symDef->keyBits.sym; in ComputeProtectionKeyParms()
126 symKey->t.size = (*keyBits + 7) / 8; in ComputeProtectionKeyParms()
822 UINT16 keyBits; in ProduceOuterWrap() local
859 &symAlg, &keyBits, &symKey); in ProduceOuterWrap()
[all …]
/external/tpm2-tss/test/integration/
Desys-policy-password.int.c69 .keyBits = {.aes = 128}, in test_esys_policy_password()
120 .keyBits.aes = 128, in test_esys_policy_password()
125 .keyBits = 2048, in test_esys_policy_password()
181 .keyBits = {.aes = 128}, in test_esys_policy_password()
242 .keyBits.aes = 128, in test_esys_policy_password()
249 .keyBits = 2048, in test_esys_policy_password()
Desys-create-policy-auth.int.c53 .keyBits.aes = 128, in test_esys_create_policy_auth()
111 .keyBits.aes = 128, in test_esys_create_policy_auth()
147 .keyBits.aes = 128, in test_esys_create_policy_auth()
152 .keyBits = 2048, in test_esys_create_policy_auth()
227 .keyBits.aes = 128, in test_esys_create_policy_auth()
234 .keyBits = 2048, in test_esys_create_policy_auth()
Desys-create-fail.int.c94 .keyBits.aes = 128, in test_esys_create_fail()
132 .keyBits.aes = 128, in test_esys_create_fail()
137 .keyBits = 2048, in test_esys_create_fail()
243 .keyBits.aes = 128, in test_esys_create_fail()
250 .keyBits = 2048, in test_esys_create_fail()
Desys-duplicate.int.c88 .keyBits = {.aes = 128}, in test_esys_duplicate()
168 .keyBits.aes = 128, in test_esys_duplicate()
173 .keyBits = 2048, in test_esys_duplicate()
270 .keyBits.aes = 128, in test_esys_duplicate()
277 .keyBits = 2048, in test_esys_duplicate()
338 .keyBits = {.aes = 128}, in test_esys_duplicate()
379 .keyBits = {.aes = 128}, in test_esys_duplicate()
Desys-create-session-auth.int.c116 .keyBits.aes = 128, in test_esys_create_session_auth()
154 .keyBits.aes = 128, in test_esys_create_session_auth()
159 .keyBits = 2048, in test_esys_create_session_auth()
222 .keyBits = { .exclusiveOr = TPM2_ALG_SHA1 }, in test_esys_create_session_auth()
226 .keyBits = {.aes = 128}, in test_esys_create_session_auth()
356 .keyBits.aes = 128, in test_esys_create_session_auth()
363 .keyBits = 2048, in test_esys_create_session_auth()
Desys-import.int.c85 .keyBits = {.aes = 128}, in test_esys_import()
165 .keyBits.aes = 128, in test_esys_import()
170 .keyBits = 2048, in test_esys_import()
267 .keyBits.aes = 128, in test_esys_import()
274 .keyBits = 2048, in test_esys_import()
339 .keyBits = {.aes = 128}, in test_esys_import()
376 .keyBits = {.aes = 128}, in test_esys_import()
Desys-create-password-auth.int.c99 .keyBits.aes = 128, in test_esys_create_password_auth()
137 .keyBits.aes = 128, in test_esys_create_password_auth()
142 .keyBits = 2048, in test_esys_create_password_auth()
243 .keyBits.aes = 128, in test_esys_create_password_auth()
250 .keyBits = 2048, in test_esys_create_password_auth()
Desys-save-and-load-context.int.c104 .keyBits.aes = 128, in test_esys_save_and_load_context()
142 .keyBits.aes = 128, in test_esys_save_and_load_context()
147 .keyBits = 2048, in test_esys_save_and_load_context()
248 .keyBits.aes = 128, in test_esys_save_and_load_context()
255 .keyBits = 2048, in test_esys_save_and_load_context()
Desys-testparms.int.c40 .keyBits.aes = 128, in test_esys_testparms()
47 .keyBits = 2048, in test_esys_testparms()
Desys-evict-control-serialization.int.c95 .keyBits.aes = 128, in test_esys_evict_control_serialization()
100 .keyBits = 2048, in test_esys_evict_control_serialization()
205 .keyBits.aes = 128, in test_esys_evict_control_serialization()
212 .keyBits = 2048, in test_esys_evict_control_serialization()
Desys-object-changeauth.int.c74 .keyBits.aes = 128, in test_esys_object_changeauth()
79 .keyBits = 2048, in test_esys_object_changeauth()
171 .keyBits.aes = 128, in test_esys_object_changeauth()
178 .keyBits = 2048, in test_esys_object_changeauth()
Desys-make-credential.int.c78 .keyBits = {.aes = 128}, in test_esys_make_credential()
162 .keyBits.aes = 128, in test_esys_make_credential()
167 .keyBits = 2048, in test_esys_make_credential()
253 .keyBits.aes = 128, in test_esys_make_credential()
260 .keyBits = 2048, in test_esys_make_credential()
Desys-createloaded.int.c92 .keyBits = {.aes = 128}, in test_esys_createloaded()
130 .keyBits.aes = 128, in test_esys_createloaded()
135 .keyBits = 2048, in test_esys_createloaded()
220 .keyBits.aes = 128, in test_esys_createloaded()
Desys-create-primary-hmac.int.c90 .keyBits.aes = 128, in test_esys_create_primary_hmac()
132 .keyBits.aes = 128, in test_esys_create_primary_hmac()
139 .keyBits = 2048, in test_esys_create_primary_hmac()
Desys-policy-authorize.int.c88 .keyBits.aes = 128, in test_esys_policy_authorize()
96 .keyBits = 2048, in test_esys_policy_authorize()
139 .keyBits = {.aes = 128}, in test_esys_policy_authorize()
Desys-session-attributes.int.c49 .keyBits = { .exclusiveOr = TPM2_ALG_SHA1 }, in test_esys_session_attributes()
84 .keyBits.aes = 128, in test_esys_session_attributes()
91 .keyBits = 2048, in test_esys_session_attributes()
/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()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ltc/
DTpmToLtcDesSupport.c55 UINT32 keyBits, in TDES_setup() argument
63 if(keyBits == 128) in TDES_setup()
/external/guava/android/guava-tests/test/com/google/common/hash/
DHashTestUtils.java281 int keyBits = 32; in checkNoFunnels() local
285 for (int i = 0; i < keyBits; i++) { in checkNoFunnels()
290 int maxCount = (int) (4 * Math.log(2 * keyBits * hashBits) + 1); in checkNoFunnels()
332 int keyBits = 32; in checkAvalanche() local
334 for (int i = 0; i < keyBits; i++) { in checkAvalanche()
372 int keyBits = 32; in checkNo2BitCharacteristics() local
375 for (int i = 0; i < keyBits; i++) { in checkNo2BitCharacteristics()
376 for (int j = 0; j < keyBits; j++) { in checkNo2BitCharacteristics()
426 int keyBits = 32; in check2BitAvalanche() local
428 for (int bit1 = 0; bit1 < keyBits; bit1++) { in check2BitAvalanche()
[all …]
/external/guava/guava-tests/test/com/google/common/hash/
DHashTestUtils.java281 int keyBits = 32; in checkNoFunnels() local
285 for (int i = 0; i < keyBits; i++) { in checkNoFunnels()
290 int maxCount = (int) (4 * Math.log(2 * keyBits * hashBits) + 1); in checkNoFunnels()
332 int keyBits = 32; in checkAvalanche() local
334 for (int i = 0; i < keyBits; i++) { in checkAvalanche()
372 int keyBits = 32; in checkNo2BitCharacteristics() local
375 for (int i = 0; i < keyBits; i++) { in checkNo2BitCharacteristics()
376 for (int j = 0; j < keyBits; j++) { in checkNo2BitCharacteristics()
426 int keyBits = 32; in check2BitAvalanche() local
428 for (int bit1 = 0; bit1 < keyBits; bit1++) { in check2BitAvalanche()
[all …]
/external/boringssl/src/util/fipstools/acvp/acvptool/subprocess/
DkeyedMac.go96 if keyBits := uint32(len(test.KeyHex)) * 4; keyBits != group.KeyBits {
97 …tains key of length %d bits, but expected %d-bit value", group.ID, test.ID, keyBits, group.KeyBits)

12345