Home
last modified time | relevance | path

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

/optee_os-3.20.0/ta/pkcs11/src/
A Dprocessing_rsa.c145 *tee_id = TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA1; in pkcs2tee_algo_rsa_pss()
150 *tee_id = TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA224; in pkcs2tee_algo_rsa_pss()
155 *tee_id = TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA256; in pkcs2tee_algo_rsa_pss()
160 *tee_id = TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA384; in pkcs2tee_algo_rsa_pss()
165 *tee_id = TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA512; in pkcs2tee_algo_rsa_pss()
171 switch (*tee_id) { in pkcs2tee_algo_rsa_pss()
368 *tee_id = TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA1; in pkcs2tee_algo_rsa_oaep()
374 *tee_id = TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA224; in pkcs2tee_algo_rsa_oaep()
380 *tee_id = TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA256; in pkcs2tee_algo_rsa_oaep()
386 *tee_id = TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA384; in pkcs2tee_algo_rsa_oaep()
[all …]
A Dprocessing_ec.c270 uint32_t tee_id; member
277 .tee_id = (_tee_id), \
337 return curve->tee_id; in ec_params2tee_curve()
443 *tee_id = TEE_ALG_ECDSA_P192; in pkcs2tee_algo_ecdsa()
446 *tee_id = TEE_ALG_ECDSA_P224; in pkcs2tee_algo_ecdsa()
449 *tee_id = TEE_ALG_ECDSA_P256; in pkcs2tee_algo_ecdsa()
928 *tee_id = TEE_ALG_ECDH_P192; in pkcs2tee_algo_ecdh()
931 *tee_id = TEE_ALG_ECDH_P224; in pkcs2tee_algo_ecdh()
934 *tee_id = TEE_ALG_ECDH_P256; in pkcs2tee_algo_ecdh()
937 *tee_id = TEE_ALG_ECDH_P384; in pkcs2tee_algo_ecdh()
[all …]
A Dpkcs11_helpers.h62 void pkcs2tee_mode(uint32_t *tee_id, enum processing_func function);
65 bool pkcs2tee_load_attr(TEE_Attribute *tee_ref, uint32_t tee_id,
71 uint32_t tee_id,
A Dpkcs11_helpers.c559 switch (tee_id) { in pkcs2tee_load_attr()
569 if (tee_id == TEE_ATTR_ECC_CURVE) { in pkcs2tee_load_attr()
626 TEE_InitRefAttribute(tee_ref, tee_id, in pkcs2tee_load_attr()
629 TEE_InitRefAttribute(tee_ref, tee_id, in pkcs2tee_load_attr()
652 uint32_t tee_id, in pkcs2tee_load_hashed_attr() argument
691 *tee_id = TEE_MODE_ENCRYPT; in pkcs2tee_mode()
694 *tee_id = TEE_MODE_DECRYPT; in pkcs2tee_mode()
697 *tee_id = TEE_MODE_SIGN; in pkcs2tee_mode()
700 *tee_id = TEE_MODE_VERIFY; in pkcs2tee_mode()
703 *tee_id = TEE_MODE_DERIVE; in pkcs2tee_mode()
[all …]
A Dprocessing.h124 uint32_t tee_id);
203 enum pkcs11_rc pkcs2tee_algo_ecdsa(uint32_t *tee_id,
231 enum pkcs11_rc pkcs2tee_algo_rsa_pss(uint32_t *tee_id,
246 enum pkcs11_rc pkcs2tee_algo_rsa_oaep(uint32_t *tee_id, uint32_t *tee_hash_id,
250 pkcs2tee_algo_rsa_aes_wrap(uint32_t *tee_id, uint32_t *tee_hash_id,
266 enum pkcs11_rc pkcs2tee_algo_ecdh(uint32_t *tee_id,
A Dprocessing_digest.c40 pkcs2tee_algorithm(uint32_t *tee_id, struct pkcs11_attribute_head *proc_params) in pkcs2tee_algorithm() argument
44 uint32_t tee_id; in pkcs2tee_algorithm() member
57 *tee_id = pkcs2tee_algo[n].tee_id; in pkcs2tee_algorithm()
A Dprocessing_asymm.c54 pkcs2tee_algorithm(uint32_t *tee_id, uint32_t *tee_hash_id, in pkcs2tee_algorithm() argument
61 uint32_t tee_id; in pkcs2tee_algorithm() member
106 *tee_id = pkcs2tee_algo[n].tee_id; in pkcs2tee_algorithm()
122 rc = pkcs2tee_algo_rsa_pss(tee_id, proc_params); in pkcs2tee_algorithm()
125 rc = pkcs2tee_algo_rsa_oaep(tee_id, tee_hash_id, proc_params); in pkcs2tee_algorithm()
128 rc = pkcs2tee_algo_rsa_aes_wrap(tee_id, tee_hash_id, in pkcs2tee_algorithm()
137 rc = pkcs2tee_algo_ecdsa(tee_id, proc_params, obj); in pkcs2tee_algorithm()
140 rc = pkcs2tee_algo_ecdh(tee_id, proc_params, obj); in pkcs2tee_algorithm()
152 if (*tee_id == TEE_ALG_RSAES_PKCS1_V1_5 && in pkcs2tee_algorithm()
155 *tee_id = TEE_ALG_RSASSA_PKCS1_V1_5; in pkcs2tee_algorithm()
A Dprocessing_symm.c60 pkcs2tee_algorithm(uint32_t *tee_id, struct pkcs11_attribute_head *proc_params) in pkcs2tee_algorithm() argument
64 uint32_t tee_id; in pkcs2tee_algorithm() member
93 *tee_id = pkcs2tee_algo[n].tee_id; in pkcs2tee_algorithm()
106 uint32_t tee_id; in pkcs2tee_key_type() member
124 *tee_type = pkcs2tee_key_type[n].tee_id; in pkcs2tee_key_type()
137 uint32_t tee_id; in pkcsmech2tee_key_type() member
156 *tee_type = pkcs2tee_key_type[n].tee_id; in pkcsmech2tee_key_type()
169 uint32_t tee_id; in hmac_to_tee_hash() member
188 *algo = hmac_hash[n].tee_id; in hmac_to_tee_hash()
A Dprocessing.c366 uint32_t tee_id) in tee2pkcs_add_attribute() argument
372 rc = alloc_get_tee_attribute_data(tee_obj, tee_id, &a_ptr, &a_size); in tee2pkcs_add_attribute()
383 tee_id, pkcs11_id, id2str_attr(pkcs11_id)); in tee2pkcs_add_attribute()

Completed in 13 milliseconds