Home
last modified time | relevance | path

Searched refs:TPM2_ALG_CFB (Results 1 – 25 of 73) sorted by relevance

123

/external/tpm2-tss/test/unit/
Desys-crypto.c176 .mode.aes = TPM2_ALG_CFB, in check_pk_encrypt()
212 rc = iesys_crypto_sym_aes_encrypt(NULL, TPM2_ALG_AES, 192, TPM2_ALG_CFB, 16, in check_aes_encrypt()
216 rc = iesys_crypto_sym_aes_encrypt(&key[0], TPM2_ALG_AES, 192, TPM2_ALG_CFB, 16, in check_aes_encrypt()
219 rc = iesys_crypto_sym_aes_encrypt(&key[0], TPM2_ALG_AES, 256, TPM2_ALG_CFB, 16, in check_aes_encrypt()
223 rc = iesys_crypto_sym_aes_encrypt(&key[0], 0, 256, TPM2_ALG_CFB, 16, in check_aes_encrypt()
231 rc = iesys_crypto_sym_aes_encrypt(&key[0], TPM2_ALG_AES, 999, TPM2_ALG_CFB, 16, in check_aes_encrypt()
235 rc = iesys_crypto_sym_aes_decrypt(NULL, TPM2_ALG_AES, 192, TPM2_ALG_CFB, 16, in check_aes_encrypt()
239 rc = iesys_crypto_sym_aes_decrypt(&key[0], 0, 192, TPM2_ALG_CFB, 16, in check_aes_encrypt()
/external/tpm2-tss/test/integration/
Desys-policy-password.int.c70 .mode = {.aes = TPM2_ALG_CFB} in test_esys_policy_password()
121 .mode.aes = TPM2_ALG_CFB}, in test_esys_policy_password()
182 .mode = {.aes = TPM2_ALG_CFB} in test_esys_policy_password()
243 .mode.aes = TPM2_ALG_CFB in test_esys_policy_password()
Desys-create-policy-auth.int.c54 .mode.aes = TPM2_ALG_CFB, in test_esys_create_policy_auth()
112 .mode.aes = TPM2_ALG_CFB, in test_esys_create_policy_auth()
148 .mode.aes = TPM2_ALG_CFB}, in test_esys_create_policy_auth()
228 .mode.aes = TPM2_ALG_CFB in test_esys_create_policy_auth()
Desys-duplicate.int.c89 .mode = {.aes = TPM2_ALG_CFB} in test_esys_duplicate()
169 .mode.aes = TPM2_ALG_CFB}, in test_esys_duplicate()
271 .mode.aes = TPM2_ALG_CFB in test_esys_duplicate()
339 .mode = {.aes = TPM2_ALG_CFB} in test_esys_duplicate()
380 .mode = {.aes = TPM2_ALG_CFB}}; in test_esys_duplicate()
Desys-create-session-auth.int.c117 .mode.aes = TPM2_ALG_CFB, in test_esys_create_session_auth()
155 .mode.aes = TPM2_ALG_CFB}, in test_esys_create_session_auth()
223 .mode = {.aes = TPM2_ALG_CFB}}; in test_esys_create_session_auth()
227 .mode = {.aes = TPM2_ALG_CFB}}; in test_esys_create_session_auth()
357 .mode.aes = TPM2_ALG_CFB in test_esys_create_session_auth()
Desys-import.int.c86 .mode = {.aes = TPM2_ALG_CFB} in test_esys_import()
166 .mode.aes = TPM2_ALG_CFB}, in test_esys_import()
268 .mode.aes = TPM2_ALG_CFB in test_esys_import()
340 .mode = {.aes = TPM2_ALG_CFB} in test_esys_import()
377 .mode = {.aes = TPM2_ALG_CFB}}; in test_esys_import()
Desys-create-fail.int.c95 .mode.aes = TPM2_ALG_CFB, in test_esys_create_fail()
133 .mode.aes = TPM2_ALG_CFB}, in test_esys_create_fail()
244 .mode.aes = TPM2_ALG_CFB in test_esys_create_fail()
Desys-create-password-auth.int.c100 .mode.aes = TPM2_ALG_CFB, in test_esys_create_password_auth()
138 .mode.aes = TPM2_ALG_CFB}, in test_esys_create_password_auth()
244 .mode.aes = TPM2_ALG_CFB in test_esys_create_password_auth()
Desys-createloaded.int.c93 .mode = {.aes = TPM2_ALG_CFB} in test_esys_createloaded()
131 .mode.aes = TPM2_ALG_CFB}, in test_esys_createloaded()
221 .mode.aes = TPM2_ALG_CFB, in test_esys_createloaded()
Desys-save-and-load-context.int.c105 .mode.aes = TPM2_ALG_CFB, in test_esys_save_and_load_context()
143 .mode.aes = TPM2_ALG_CFB}, in test_esys_save_and_load_context()
249 .mode.aes = TPM2_ALG_CFB in test_esys_save_and_load_context()
Desys-ecdh-zgen.int.c44 .mode = {.aes = TPM2_ALG_CFB} in test_esys_ecdh_zgen()
97 .mode.aes = TPM2_ALG_CFB, in test_esys_ecdh_zgen()
Desys-create-primary-hmac.int.c91 .mode.aes = TPM2_ALG_CFB, in test_esys_create_primary_hmac()
133 .mode.aes = TPM2_ALG_CFB, in test_esys_create_primary_hmac()
Desys-policy-ticket.int.c105 .mode.aes = TPM2_ALG_CFB}, in test_esys_policy_ticket()
172 .mode = {.aes = TPM2_ALG_CFB} in test_esys_policy_ticket()
324 .mode = {.aes = TPM2_ALG_CFB} in test_esys_policy_ticket()
Desys-commit.int.c58 .mode = {.aes = TPM2_ALG_CFB} in test_esys_commit()
106 .mode.aes = TPM2_ALG_CFB, in test_esys_commit()
Desys-policy-authorize.int.c89 .mode.aes = TPM2_ALG_CFB}, in test_esys_policy_authorize()
140 .mode = {.aes = TPM2_ALG_CFB} in test_esys_policy_authorize()
Desys-make-credential.int.c79 .mode = {.aes = TPM2_ALG_CFB} in test_esys_make_credential()
163 .mode.aes = TPM2_ALG_CFB}, in test_esys_make_credential()
254 .mode.aes = TPM2_ALG_CFB in test_esys_make_credential()
Desys-policy-nv-undefine-special.int.c63 .mode = {.aes = TPM2_ALG_CFB} in test_esys_policy_nv_undefine_special()
149 .mode = {.aes = TPM2_ALG_CFB} in test_esys_policy_nv_undefine_special()
Desys-zgen-2phase.int.c50 .mode = {.aes = TPM2_ALG_CFB} in test_esys_zgen_2phase()
106 .mode.aes = TPM2_ALG_CFB, in test_esys_zgen_2phase()
Desys-policy-nv-changeauth.int.c61 .mode = {.aes = TPM2_ALG_CFB} in test_esys_policy_nv_changeauth()
145 .mode = {.aes = TPM2_ALG_CFB} in test_esys_policy_nv_changeauth()
Desys-session-attributes.int.c50 .mode = {.aes = TPM2_ALG_CFB}}; in test_esys_session_attributes()
85 .mode.aes = TPM2_ALG_CFB, in test_esys_session_attributes()
Desys-testparms.int.c41 .mode.aes = TPM2_ALG_CFB, in test_esys_testparms()
Desys-evict-control-serialization.int.c96 .mode.aes = TPM2_ALG_CFB}, in test_esys_evict_control_serialization()
206 .mode.aes = TPM2_ALG_CFB in test_esys_evict_control_serialization()
Desys-object-changeauth.int.c75 .mode.aes = TPM2_ALG_CFB}, in test_esys_object_changeauth()
172 .mode.aes = TPM2_ALG_CFB in test_esys_object_changeauth()
Desys-encrypt-decrypt.int.c102 .mode.aes = TPM2_ALG_CFB}, in test_esys_encrypt_decrypt()
181 .mode = {.aes = TPM2_ALG_CFB}} in test_esys_encrypt_decrypt()
/external/tpm2-tss/src/tss2-esys/
Desys_crypto_ossl.c970 if (key_bits == 128 && tpm_mode == TPM2_ALG_CFB) in iesys_cryptossl_sym_aes_encrypt()
972 else if (key_bits == 192 && tpm_mode == TPM2_ALG_CFB) in iesys_cryptossl_sym_aes_encrypt()
974 else if (key_bits == 256 && tpm_mode == TPM2_ALG_CFB) in iesys_cryptossl_sym_aes_encrypt()
1061 if (key_bits == 128 && tpm_mode == TPM2_ALG_CFB) in iesys_cryptossl_sym_aes_decrypt()
1063 else if (key_bits == 192 && tpm_mode == TPM2_ALG_CFB) in iesys_cryptossl_sym_aes_decrypt()
1065 else if (key_bits == 256 && tpm_mode == TPM2_ALG_CFB) in iesys_cryptossl_sym_aes_decrypt()

123