Lines Matching refs:session

315 static void xtest_test_derivation_hkdf(ADBG_Case_t *c, TEEC_Session *session)  in xtest_test_derivation_hkdf()  argument
374 ta_crypt_cmd_allocate_operation(c, session, &op, in xtest_test_derivation_hkdf()
379 ta_crypt_cmd_allocate_transient_object(c, session, in xtest_test_derivation_hkdf()
387 ta_crypt_cmd_populate_transient_object(c, session, in xtest_test_derivation_hkdf()
392 ta_crypt_cmd_set_operation_key(c, session, op, in xtest_test_derivation_hkdf()
397 ta_crypt_cmd_free_transient_object(c, session, in xtest_test_derivation_hkdf()
402 ta_crypt_cmd_allocate_transient_object(c, session, in xtest_test_derivation_hkdf()
422 ta_crypt_cmd_derive_key(c, session, op, sv_handle, in xtest_test_derivation_hkdf()
429 ta_crypt_cmd_get_object_buffer_attribute(c, session, in xtest_test_derivation_hkdf()
438 ta_crypt_cmd_free_operation(c, session, op))) in xtest_test_derivation_hkdf()
442 ta_crypt_cmd_free_transient_object(c, session, in xtest_test_derivation_hkdf()
452 static void xtest_test_derivation_concat_kdf(ADBG_Case_t *c, TEEC_Session *session) in xtest_test_derivation_concat_kdf() argument
494 ta_crypt_cmd_allocate_operation(c, session, &op, in xtest_test_derivation_concat_kdf()
499 ta_crypt_cmd_allocate_transient_object(c, session, in xtest_test_derivation_concat_kdf()
507 ta_crypt_cmd_populate_transient_object(c, session, in xtest_test_derivation_concat_kdf()
512 ta_crypt_cmd_set_operation_key(c, session, op, in xtest_test_derivation_concat_kdf()
517 ta_crypt_cmd_free_transient_object(c, session, in xtest_test_derivation_concat_kdf()
522 ta_crypt_cmd_allocate_transient_object(c, session, in xtest_test_derivation_concat_kdf()
540 ta_crypt_cmd_derive_key(c, session, op, sv_handle, in xtest_test_derivation_concat_kdf()
547 ta_crypt_cmd_get_object_buffer_attribute(c, session, in xtest_test_derivation_concat_kdf()
557 ta_crypt_cmd_free_operation(c, session, op))) in xtest_test_derivation_concat_kdf()
561 ta_crypt_cmd_free_transient_object(c, session, in xtest_test_derivation_concat_kdf()
571 static void xtest_test_derivation_pbkdf2(ADBG_Case_t *c, TEEC_Session *session) in xtest_test_derivation_pbkdf2() argument
620 ta_crypt_cmd_allocate_operation(c, session, &op, in xtest_test_derivation_pbkdf2()
625 ta_crypt_cmd_allocate_transient_object(c, session, in xtest_test_derivation_pbkdf2()
634 ta_crypt_cmd_populate_transient_object(c, session, in xtest_test_derivation_pbkdf2()
639 ta_crypt_cmd_set_operation_key(c, session, op, in xtest_test_derivation_pbkdf2()
644 ta_crypt_cmd_free_transient_object(c, session, in xtest_test_derivation_pbkdf2()
649 ta_crypt_cmd_allocate_transient_object(c, session, in xtest_test_derivation_pbkdf2()
673 ta_crypt_cmd_derive_key(c, session, op, sv_handle, in xtest_test_derivation_pbkdf2()
680 ta_crypt_cmd_get_object_buffer_attribute(c, session, in xtest_test_derivation_pbkdf2()
689 ta_crypt_cmd_free_operation(c, session, op))) in xtest_test_derivation_pbkdf2()
693 ta_crypt_cmd_free_transient_object(c, session, in xtest_test_derivation_pbkdf2()
714 TEEC_Session session = { }; in xtest_tee_test_8001() local
718 xtest_teec_open_session(&session, &crypt_user_ta_uuid, NULL, in xtest_tee_test_8001()
723 xtest_test_derivation_hkdf(c, &session); in xtest_tee_test_8001()
726 xtest_test_derivation_concat_kdf(c, &session); in xtest_tee_test_8001()
729 xtest_test_derivation_pbkdf2(c, &session); in xtest_tee_test_8001()
732 TEEC_CloseSession(&session); in xtest_tee_test_8001()