Home
last modified time | relevance | path

Searched refs:key_handle (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/
H A Dregression_8000.c361 TEE_ObjectHandle key_handle = TEE_HANDLE_NULL; in xtest_test_derivation_hkdf() local
378 TEE_TYPE_HKDF_IKM, max_size, &key_handle))) in xtest_test_derivation_hkdf()
386 key_handle, params, param_count))) in xtest_test_derivation_hkdf()
391 key_handle))) in xtest_test_derivation_hkdf()
396 key_handle))) in xtest_test_derivation_hkdf()
481 TEE_ObjectHandle key_handle = TEE_HANDLE_NULL; in xtest_test_derivation_concat_kdf() local
498 TEE_TYPE_CONCAT_KDF_Z, max_size, &key_handle))) in xtest_test_derivation_concat_kdf()
506 key_handle, params, param_count))) in xtest_test_derivation_concat_kdf()
511 key_handle))) in xtest_test_derivation_concat_kdf()
516 key_handle))) in xtest_test_derivation_concat_kdf()
[all …]
H A Dpkcs11_1000.c1622 CK_OBJECT_HANDLE key_handle = CK_INVALID_HANDLE; in xtest_pkcs11_test_1008() local
1643 &key_handle); in xtest_pkcs11_test_1008()
1649 rv = C_SignInit(session, test->mechanism, key_handle); in xtest_pkcs11_test_1008()
1691 rv = C_SignInit(session, test->mechanism, key_handle); in xtest_pkcs11_test_1008()
1720 rv = C_SignInit(session, test->mechanism, key_handle); in xtest_pkcs11_test_1008()
1753 rv = C_DestroyObject(session, key_handle); in xtest_pkcs11_test_1008()
1762 ADBG_EXPECT_CK_OK(c, C_DestroyObject(session, key_handle)); in xtest_pkcs11_test_1008()
1779 CK_OBJECT_HANDLE key_handle = CK_INVALID_HANDLE; in xtest_pkcs11_test_1009() local
1798 &key_handle); in xtest_pkcs11_test_1009()
1804 rv = C_VerifyInit(session, test->mechanism, key_handle); in xtest_pkcs11_test_1009()
[all …]
H A Dregression_4000.c1191 TEE_ObjectHandle key_handle = TEE_HANDLE_NULL; in xtest_tee_test_4002() local
1232 mac_cases[n].key_type, key_size, &key_handle))) in xtest_tee_test_4002()
1237 key_handle, &key_attr, 1))) in xtest_tee_test_4002()
1242 key_handle))) in xtest_tee_test_4002()
1247 key_handle))) in xtest_tee_test_4002()
2408 TEE_ObjectHandle key_handle = TEE_HANDLE_NULL; in xtest_tee_test_4005() local
2447 &key_handle))) in xtest_tee_test_4005()
2452 key_handle, &key_attr, 1))) in xtest_tee_test_4005()
2457 key_handle))) in xtest_tee_test_4005()
2462 key_handle))) in xtest_tee_test_4005()
[all …]
/OK3568_Linux_fs/u-boot/cmd/
H A Dtpm.c600 uint32_t key_len, key_handle, err; in do_tpm_load_key_by_sha1() local
624 &key_handle); in do_tpm_load_key_by_sha1()
626 printf("Key handle is 0x%x\n", key_handle); in do_tpm_load_key_by_sha1()
627 env_set_hex("key_handle", key_handle); in do_tpm_load_key_by_sha1()
637 uint32_t parent_handle, key_len, key_handle, err; in do_tpm_load_key2_oiap() local
652 &key_handle); in do_tpm_load_key2_oiap()
654 printf("Key handle is 0x%x\n", key_handle); in do_tpm_load_key2_oiap()
662 uint32_t key_handle, err; in do_tpm_get_pub_key_oiap() local
670 key_handle = simple_strtoul(argv[1], NULL, 0); in do_tpm_get_pub_key_oiap()
675 err = tpm_get_pub_key_oiap(key_handle, usage_auth, in do_tpm_get_pub_key_oiap()
/OK3568_Linux_fs/u-boot/lib/
H A Dtpm.c661 uint32_t tpm_flush_specific(uint32_t key_handle, uint32_t resource_type) in tpm_flush_specific() argument
678 key_handle_offset, key_handle, in tpm_flush_specific()
885 uint32_t *key_handle) in tpm_load_key2_oiap() argument
939 if (key_handle) { in tpm_load_key2_oiap()
941 res_handle_offset, key_handle)) in tpm_load_key2_oiap()
948 uint32_t tpm_get_pub_key_oiap(uint32_t key_handle, const void *usage_auth, in tpm_get_pub_key_oiap() argument
976 req_key_handle_offset, key_handle in tpm_get_pub_key_oiap()
/OK3568_Linux_fs/u-boot/include/
H A Dtpm.h599 uint32_t *key_handle);
614 uint32_t tpm_get_pub_key_oiap(uint32_t key_handle, const void *usage_auth,
640 uint32_t tpm_flush_specific(uint32_t key_handle, uint32_t resource_type);
/OK3568_Linux_fs/u-boot/board/gdsys/a38x/
H A Dhre.c345 uint32_t key_handle; in hre_op_loadkey() local
352 src_reg->digest, &key_handle); in hre_op_loadkey()
/OK3568_Linux_fs/u-boot/board/gdsys/p1022/
H A Dcontrolcenterd-id.c574 uint32_t key_handle; in hre_op_loadkey() local
581 src_reg->digest, &key_handle); in hre_op_loadkey()
/OK3568_Linux_fs/kernel/net/wireless/
H A Dtrace.h423 DECLARE_EVENT_CLASS(key_handle,
446 DEFINE_EVENT(key_handle, rdev_get_key,
452 DEFINE_EVENT(key_handle, rdev_del_key,