Lines Matching full:o
1179 struct tee_obj *o = NULL; in syscall_cryp_obj_get_info() local
1182 uref_to_vaddr(obj), &o); in syscall_cryp_obj_get_info()
1186 o_info.obj_type = o->info.objectType; in syscall_cryp_obj_get_info()
1187 o_info.obj_size = o->info.objectSize; in syscall_cryp_obj_get_info()
1188 o_info.max_obj_size = o->info.maxObjectSize; in syscall_cryp_obj_get_info()
1189 if (o->info.handleFlags & TEE_HANDLE_FLAG_PERSISTENT) { in syscall_cryp_obj_get_info()
1190 tee_pobj_lock_usage(o->pobj); in syscall_cryp_obj_get_info()
1191 o_info.obj_usage = o->pobj->obj_info_usage; in syscall_cryp_obj_get_info()
1192 tee_pobj_unlock_usage(o->pobj); in syscall_cryp_obj_get_info()
1194 o_info.obj_usage = o->info.objectUsage; in syscall_cryp_obj_get_info()
1196 o_info.data_size = o->info.dataSize; in syscall_cryp_obj_get_info()
1197 o_info.data_pos = o->info.dataPosition; in syscall_cryp_obj_get_info()
1198 o_info.handle_flags = o->info.handleFlags; in syscall_cryp_obj_get_info()
1210 struct tee_obj *o = NULL; in syscall_cryp_obj_restrict_usage() local
1212 res = tee_obj_get(to_user_ta_ctx(sess->ctx), uref_to_vaddr(obj), &o); in syscall_cryp_obj_restrict_usage()
1216 if (o->info.handleFlags & TEE_HANDLE_FLAG_PERSISTENT) { in syscall_cryp_obj_restrict_usage()
1219 tee_pobj_lock_usage(o->pobj); in syscall_cryp_obj_restrict_usage()
1220 new_usage = o->pobj->obj_info_usage & usage; in syscall_cryp_obj_restrict_usage()
1221 res = tee_svc_storage_write_usage(o, new_usage); in syscall_cryp_obj_restrict_usage()
1223 o->pobj->obj_info_usage = new_usage; in syscall_cryp_obj_restrict_usage()
1224 tee_pobj_unlock_usage(o->pobj); in syscall_cryp_obj_restrict_usage()
1226 o->info.objectUsage &= usage; in syscall_cryp_obj_restrict_usage()
1259 static void set_attribute(struct tee_obj *o, in set_attribute() argument
1267 o->have_attrs |= BIT(idx); in set_attribute()
1271 static uint32_t get_attribute(const struct tee_obj *o, in get_attribute() argument
1279 return o->have_attrs & BIT(idx); in get_attribute()
1287 struct tee_obj *o = NULL; in syscall_cryp_obj_get_attr() local
1294 res = tee_obj_get(to_user_ta_ctx(sess->ctx), uref_to_vaddr(obj), &o); in syscall_cryp_obj_get_attr()
1299 if (!(o->info.handleFlags & TEE_HANDLE_FLAG_INITIALIZED)) in syscall_cryp_obj_get_attr()
1304 if (o->info.handleFlags & TEE_HANDLE_FLAG_PERSISTENT) { in syscall_cryp_obj_get_attr()
1305 tee_pobj_lock_usage(o->pobj); in syscall_cryp_obj_get_attr()
1306 obj_usage = o->pobj->obj_info_usage; in syscall_cryp_obj_get_attr()
1307 tee_pobj_unlock_usage(o->pobj); in syscall_cryp_obj_get_attr()
1309 obj_usage = o->info.objectUsage; in syscall_cryp_obj_get_attr()
1315 type_props = tee_svc_find_type_props(o->info.objectType); in syscall_cryp_obj_get_attr()
1322 if ((idx < 0) || ((o->have_attrs & (1 << idx)) == 0)) in syscall_cryp_obj_get_attr()
1326 attr = (uint8_t *)o->attr + type_props->type_attrs[idx].raw_offs; in syscall_cryp_obj_get_attr()
1330 void tee_obj_attr_free(struct tee_obj *o) in tee_obj_attr_free() argument
1335 if (!o->attr) in tee_obj_attr_free()
1337 tp = tee_svc_find_type_props(o->info.objectType); in tee_obj_attr_free()
1344 attr_ops[ta->ops_index].free((uint8_t *)o->attr + ta->raw_offs); in tee_obj_attr_free()
1348 void tee_obj_attr_clear(struct tee_obj *o) in tee_obj_attr_clear() argument
1353 if (!o->attr) in tee_obj_attr_clear()
1355 tp = tee_svc_find_type_props(o->info.objectType); in tee_obj_attr_clear()
1362 attr_ops[ta->ops_index].clear((uint8_t *)o->attr + in tee_obj_attr_clear()
1367 TEE_Result tee_obj_attr_to_binary(struct tee_obj *o, void *data, in tee_obj_attr_to_binary() argument
1376 if (o->info.objectType == TEE_TYPE_DATA) { in tee_obj_attr_to_binary()
1380 if (!o->attr) in tee_obj_attr_to_binary()
1382 tp = tee_svc_find_type_props(o->info.objectType); in tee_obj_attr_to_binary()
1388 void *attr = (uint8_t *)o->attr + ta->raw_offs; in tee_obj_attr_to_binary()
1401 TEE_Result tee_obj_attr_from_binary(struct tee_obj *o, const void *data, in tee_obj_attr_from_binary() argument
1408 if (o->info.objectType == TEE_TYPE_DATA) in tee_obj_attr_from_binary()
1410 if (!o->attr) in tee_obj_attr_from_binary()
1412 tp = tee_svc_find_type_props(o->info.objectType); in tee_obj_attr_from_binary()
1418 void *attr = (uint8_t *)o->attr + ta->raw_offs; in tee_obj_attr_from_binary()
1427 TEE_Result tee_obj_attr_copy_from(struct tee_obj *o, const struct tee_obj *src) in tee_obj_attr_copy_from() argument
1437 if (o->info.objectType == TEE_TYPE_DATA) in tee_obj_attr_copy_from()
1439 if (!o->attr) in tee_obj_attr_copy_from()
1441 tp = tee_svc_find_type_props(o->info.objectType); in tee_obj_attr_copy_from()
1445 if (o->info.objectType == src->info.objectType) { in tee_obj_attr_copy_from()
1449 attr = (uint8_t *)o->attr + ta->raw_offs; in tee_obj_attr_copy_from()
1459 if (o->info.objectType == TEE_TYPE_RSA_PUBLIC_KEY) { in tee_obj_attr_copy_from()
1462 } else if (o->info.objectType == TEE_TYPE_DSA_PUBLIC_KEY) { in tee_obj_attr_copy_from()
1465 } else if (o->info.objectType == TEE_TYPE_ECDSA_PUBLIC_KEY) { in tee_obj_attr_copy_from()
1468 } else if (o->info.objectType == TEE_TYPE_ECDH_PUBLIC_KEY) { in tee_obj_attr_copy_from()
1471 } else if (o->info.objectType == TEE_TYPE_SM2_DSA_PUBLIC_KEY) { in tee_obj_attr_copy_from()
1474 } else if (o->info.objectType == TEE_TYPE_SM2_PKE_PUBLIC_KEY) { in tee_obj_attr_copy_from()
1477 } else if (o->info.objectType == TEE_TYPE_SM2_KEP_PUBLIC_KEY) { in tee_obj_attr_copy_from()
1480 } else if (o->info.objectType == TEE_TYPE_ED25519_PUBLIC_KEY) { in tee_obj_attr_copy_from()
1483 } else if (o->info.objectType == TEE_TYPE_X25519_PUBLIC_KEY) { in tee_obj_attr_copy_from()
1486 } else if (o->info.objectType == TEE_TYPE_X448_PUBLIC_KEY) { in tee_obj_attr_copy_from()
1506 attr = (uint8_t *)o->attr + ta->raw_offs; in tee_obj_attr_copy_from()
1515 o->have_attrs = have_attrs; in tee_obj_attr_copy_from()
1549 TEE_Result tee_obj_set_type(struct tee_obj *o, uint32_t obj_type, in tee_obj_set_type() argument
1556 if (o->attr) in tee_obj_set_type()
1578 o->attr = calloc(1, type_props->alloc_size); in tee_obj_set_type()
1579 if (!o->attr) in tee_obj_set_type()
1586 res = crypto_acipher_alloc_rsa_public_key(o->attr, in tee_obj_set_type()
1590 res = crypto_acipher_alloc_rsa_keypair(o->attr, max_key_size); in tee_obj_set_type()
1593 res = crypto_acipher_alloc_dsa_public_key(o->attr, in tee_obj_set_type()
1597 res = crypto_acipher_alloc_dsa_keypair(o->attr, max_key_size); in tee_obj_set_type()
1600 res = crypto_acipher_alloc_dh_keypair(o->attr, max_key_size); in tee_obj_set_type()
1607 res = crypto_acipher_alloc_ecc_public_key(o->attr, obj_type, in tee_obj_set_type()
1615 res = crypto_acipher_alloc_ecc_keypair(o->attr, obj_type, in tee_obj_set_type()
1619 res = crypto_acipher_alloc_x25519_keypair(o->attr, in tee_obj_set_type()
1623 res = crypto_acipher_alloc_x448_keypair(o->attr, in tee_obj_set_type()
1627 res = crypto_acipher_alloc_ed25519_keypair(o->attr, in tee_obj_set_type()
1631 res = crypto_acipher_alloc_ed25519_public_key(o->attr, in tee_obj_set_type()
1636 struct tee_cryp_obj_secret *key = o->attr; in tee_obj_set_type()
1647 o->info.objectType = obj_type; in tee_obj_set_type()
1648 o->info.maxObjectSize = max_key_size; in tee_obj_set_type()
1649 if (o->info.handleFlags & TEE_HANDLE_FLAG_PERSISTENT) in tee_obj_set_type()
1650 o->pobj->obj_info_usage = TEE_USAGE_DEFAULT; in tee_obj_set_type()
1652 o->info.objectUsage = TEE_USAGE_DEFAULT; in tee_obj_set_type()
1662 struct tee_obj *o = NULL; in syscall_cryp_obj_alloc() local
1665 o = tee_obj_alloc(); in syscall_cryp_obj_alloc()
1666 if (!o) in syscall_cryp_obj_alloc()
1669 res = tee_obj_set_type(o, obj_type, max_key_size); in syscall_cryp_obj_alloc()
1671 tee_obj_free(o); in syscall_cryp_obj_alloc()
1675 tee_obj_add(to_user_ta_ctx(sess->ctx), o); in syscall_cryp_obj_alloc()
1677 res = copy_kaddr_to_uref(obj, o); in syscall_cryp_obj_alloc()
1679 tee_obj_close(to_user_ta_ctx(sess->ctx), o); in syscall_cryp_obj_alloc()
1687 struct tee_obj *o = NULL; in syscall_cryp_obj_close() local
1689 res = tee_obj_get(to_user_ta_ctx(sess->ctx), uref_to_vaddr(obj), &o); in syscall_cryp_obj_close()
1697 if (o->busy) in syscall_cryp_obj_close()
1700 tee_obj_close(to_user_ta_ctx(sess->ctx), o); in syscall_cryp_obj_close()
1708 struct tee_obj *o = NULL; in syscall_cryp_obj_reset() local
1710 res = tee_obj_get(to_user_ta_ctx(sess->ctx), uref_to_vaddr(obj), &o); in syscall_cryp_obj_reset()
1714 if ((o->info.handleFlags & TEE_HANDLE_FLAG_PERSISTENT) == 0) { in syscall_cryp_obj_reset()
1715 tee_obj_attr_clear(o); in syscall_cryp_obj_reset()
1716 o->info.objectSize = 0; in syscall_cryp_obj_reset()
1717 o->info.objectUsage = TEE_USAGE_DEFAULT; in syscall_cryp_obj_reset()
1723 o->info.handleFlags &= ~TEE_HANDLE_FLAG_INITIALIZED; in syscall_cryp_obj_reset()
1894 struct tee_obj *o, in tee_svc_cryp_obj_populate_type() argument
1917 attr = (uint8_t *)o->attr + in tee_svc_cryp_obj_populate_type()
1948 TEE_ObjectType obj_type = o->info.objectType; in tee_svc_cryp_obj_populate_type()
1949 size_t sz = o->info.maxObjectSize; in tee_svc_cryp_obj_populate_type()
1956 if (obj_size > o->info.maxObjectSize) in tee_svc_cryp_obj_populate_type()
1965 * o->info.objectSize are flagged with in tee_svc_cryp_obj_populate_type()
1971 o->info.maxObjectSize) in tee_svc_cryp_obj_populate_type()
1976 o->have_attrs = have_attrs; in tee_svc_cryp_obj_populate_type()
1977 o->info.objectSize = obj_size; in tee_svc_cryp_obj_populate_type()
1983 if (is_gp_legacy_des_key_size(o->info.objectType, in tee_svc_cryp_obj_populate_type()
1984 o->info.maxObjectSize)) in tee_svc_cryp_obj_populate_type()
1985 o->info.objectSize -= o->info.objectSize / 8; in tee_svc_cryp_obj_populate_type()
1996 struct tee_obj *o = NULL; in syscall_cryp_obj_populate() local
2001 res = tee_obj_get(to_user_ta_ctx(sess->ctx), uref_to_vaddr(obj), &o); in syscall_cryp_obj_populate()
2006 if ((o->info.handleFlags & TEE_HANDLE_FLAG_PERSISTENT) != 0) in syscall_cryp_obj_populate()
2010 if ((o->info.handleFlags & TEE_HANDLE_FLAG_INITIALIZED) != 0) in syscall_cryp_obj_populate()
2013 type_props = tee_svc_find_type_props(o->info.objectType); in syscall_cryp_obj_populate()
2034 res = tee_svc_cryp_obj_populate_type(o, type_props, attrs, attr_count); in syscall_cryp_obj_populate()
2036 o->info.handleFlags |= TEE_HANDLE_FLAG_INITIALIZED; in syscall_cryp_obj_populate()
2124 struct tee_obj *o, const struct tee_cryp_obj_type_props *type_props, in tee_svc_obj_generate_key_rsa() argument
2129 struct rsa_keypair *key = o->attr; in tee_svc_obj_generate_key_rsa()
2133 res = tee_svc_cryp_obj_populate_type(o, type_props, params, in tee_svc_obj_generate_key_rsa()
2137 if (get_attribute(o, type_props, TEE_ATTR_RSA_PUBLIC_EXPONENT)) { in tee_svc_obj_generate_key_rsa()
2152 o->have_attrs = (1 << type_props->num_type_attrs) - 1; in tee_svc_obj_generate_key_rsa()
2158 struct tee_obj *o, const struct tee_cryp_obj_type_props *type_props, in tee_svc_obj_generate_key_dsa() argument
2164 res = tee_svc_cryp_obj_populate_type(o, type_props, params, in tee_svc_obj_generate_key_dsa()
2169 res = crypto_acipher_gen_dsa_key(o->attr, key_size); in tee_svc_obj_generate_key_dsa()
2174 o->have_attrs = (1 << type_props->num_type_attrs) - 1; in tee_svc_obj_generate_key_dsa()
2180 struct tee_obj *o, const struct tee_cryp_obj_type_props *type_props, in tee_svc_obj_generate_key_dh() argument
2189 res = tee_svc_cryp_obj_populate_type(o, type_props, params, in tee_svc_obj_generate_key_dh()
2194 tee_dh_key = (struct dh_keypair *)o->attr; in tee_svc_obj_generate_key_dh()
2196 if (get_attribute(o, type_props, TEE_ATTR_DH_SUBPRIME)) in tee_svc_obj_generate_key_dh()
2198 if (get_attribute(o, type_props, TEE_ATTR_DH_X_BITS)) in tee_svc_obj_generate_key_dh()
2205 set_attribute(o, type_props, TEE_ATTR_DH_PUBLIC_VALUE); in tee_svc_obj_generate_key_dh()
2206 set_attribute(o, type_props, TEE_ATTR_DH_PRIVATE_VALUE); in tee_svc_obj_generate_key_dh()
2207 set_attribute(o, type_props, TEE_ATTR_DH_X_BITS); in tee_svc_obj_generate_key_dh()
2212 struct tee_obj *o, const struct tee_cryp_obj_type_props *type_props, in tee_svc_obj_generate_key_ecc() argument
2219 res = tee_svc_cryp_obj_populate_type(o, type_props, params, in tee_svc_obj_generate_key_ecc()
2224 tee_ecc_key = (struct ecc_keypair *)o->attr; in tee_svc_obj_generate_key_ecc()
2231 set_attribute(o, type_props, TEE_ATTR_ECC_PRIVATE_VALUE); in tee_svc_obj_generate_key_ecc()
2232 set_attribute(o, type_props, TEE_ATTR_ECC_PUBLIC_VALUE_X); in tee_svc_obj_generate_key_ecc()
2233 set_attribute(o, type_props, TEE_ATTR_ECC_PUBLIC_VALUE_Y); in tee_svc_obj_generate_key_ecc()
2234 set_attribute(o, type_props, TEE_ATTR_ECC_CURVE); in tee_svc_obj_generate_key_ecc()
2239 tee_svc_obj_generate_key_x25519(struct tee_obj *o, in tee_svc_obj_generate_key_x25519() argument
2250 res = tee_svc_cryp_obj_populate_type(o, type_props, params, in tee_svc_obj_generate_key_x25519()
2255 tee_x25519_key = (struct montgomery_keypair *)o->attr; in tee_svc_obj_generate_key_x25519()
2262 set_attribute(o, type_props, TEE_ATTR_X25519_PRIVATE_VALUE); in tee_svc_obj_generate_key_x25519()
2263 set_attribute(o, type_props, TEE_ATTR_X25519_PUBLIC_VALUE); in tee_svc_obj_generate_key_x25519()
2268 tee_svc_obj_generate_key_x448(struct tee_obj *o, in tee_svc_obj_generate_key_x448() argument
2277 res = tee_svc_cryp_obj_populate_type(o, type_props, params, in tee_svc_obj_generate_key_x448()
2282 tee_x448_key = (struct montgomery_keypair *)o->attr; in tee_svc_obj_generate_key_x448()
2287 set_attribute(o, type_props, TEE_ATTR_X448_PRIVATE_VALUE); in tee_svc_obj_generate_key_x448()
2288 set_attribute(o, type_props, TEE_ATTR_X448_PUBLIC_VALUE); in tee_svc_obj_generate_key_x448()
2294 tee_svc_obj_generate_key_ed25519(struct tee_obj *o, in tee_svc_obj_generate_key_ed25519() argument
2305 res = tee_svc_cryp_obj_populate_type(o, type_props, params, in tee_svc_obj_generate_key_ed25519()
2310 key = o->attr; in tee_svc_obj_generate_key_ed25519()
2317 set_attribute(o, type_props, TEE_ATTR_ED25519_PRIVATE_VALUE); in tee_svc_obj_generate_key_ed25519()
2318 set_attribute(o, type_props, TEE_ATTR_ED25519_PUBLIC_VALUE); in tee_svc_obj_generate_key_ed25519()
2426 struct tee_obj *o = NULL; in syscall_obj_generate_key() local
2432 res = tee_obj_get(to_user_ta_ctx(sess->ctx), uref_to_vaddr(obj), &o); in syscall_obj_generate_key()
2437 if ((o->info.handleFlags & TEE_HANDLE_FLAG_PERSISTENT) != 0) in syscall_obj_generate_key()
2441 if ((o->info.handleFlags & TEE_HANDLE_FLAG_INITIALIZED) != 0) in syscall_obj_generate_key()
2445 type_props = tee_svc_find_type_props(o->info.objectType); in syscall_obj_generate_key()
2470 switch (o->info.objectType) { in syscall_obj_generate_key()
2493 if (is_gp_legacy_des_key_size(o->info.objectType, key_size)) in syscall_obj_generate_key()
2496 key = (struct tee_cryp_obj_secret *)o->attr; in syscall_obj_generate_key()
2509 o->have_attrs = (1 << type_props->num_type_attrs) - 1; in syscall_obj_generate_key()
2514 res = tee_svc_obj_generate_key_rsa(o, type_props, key_size, in syscall_obj_generate_key()
2521 res = tee_svc_obj_generate_key_dsa(o, type_props, key_size, in syscall_obj_generate_key()
2528 res = tee_svc_obj_generate_key_dh(o, type_props, key_size, in syscall_obj_generate_key()
2539 res = tee_svc_obj_generate_key_ecc(o, type_props, key_size, in syscall_obj_generate_key()
2546 res = tee_svc_obj_generate_key_x25519(o, type_props, key_size, in syscall_obj_generate_key()
2552 res = tee_svc_obj_generate_key_x448(o, type_props, key_size, in syscall_obj_generate_key()
2559 res = tee_svc_obj_generate_key_ed25519(o, type_props, key_size, in syscall_obj_generate_key()
2572 o->info.objectSize = key_size; in syscall_obj_generate_key()
2573 o->info.handleFlags |= TEE_HANDLE_FLAG_INITIALIZED; in syscall_obj_generate_key()
2596 struct tee_obj *o; in cryp_state_free() local
2598 if (tee_obj_get(utc, cs->key1, &o) == TEE_SUCCESS) in cryp_state_free()
2599 tee_obj_close(utc, o); in cryp_state_free()
2600 if (tee_obj_get(utc, cs->key2, &o) == TEE_SUCCESS) in cryp_state_free()
2601 tee_obj_close(utc, o); in cryp_state_free()
2627 static TEE_Result tee_svc_cryp_check_key_type(const struct tee_obj *o, in tee_svc_cryp_check_key_type() argument
2749 if (req_key_type != o->info.objectType && in tee_svc_cryp_check_key_type()
2750 req_key_type2 != o->info.objectType) in tee_svc_cryp_check_key_type()
2988 struct tee_obj *o; in syscall_hash_init() local
2992 cs->key1, &o); in syscall_hash_init()
2995 if ((o->info.handleFlags & in syscall_hash_init()
2999 key = (struct tee_cryp_obj_secret *)o->attr; in syscall_hash_init()
3203 struct tee_obj *o = NULL; in syscall_cipher_init() local
3213 res = tee_obj_get(utc, cs->key1, &o); in syscall_cipher_init()
3216 if ((o->info.handleFlags & TEE_HANDLE_FLAG_INITIALIZED) == 0) in syscall_cipher_init()
3219 key1 = o->attr; in syscall_cipher_init()
3225 if (tee_obj_get(utc, cs->key2, &o) == TEE_SUCCESS) { in syscall_cipher_init()
3226 struct tee_cryp_obj_secret *key2 = o->attr; in syscall_cipher_init()
3228 if ((o->info.handleFlags & TEE_HANDLE_FLAG_INITIALIZED) == 0) in syscall_cipher_init()
4091 struct tee_obj *o = NULL; in syscall_authenc_init() local
4098 res = tee_obj_get(to_user_ta_ctx(sess->ctx), cs->key1, &o); in syscall_authenc_init()
4101 if ((o->info.handleFlags & TEE_HANDLE_FLAG_INITIALIZED) == 0) in syscall_authenc_init()
4104 key = o->attr; in syscall_authenc_init()
4423 struct tee_obj *o = NULL; in syscall_asymm_operate() local
4468 res = tee_obj_get(utc, cs->key1, &o); in syscall_asymm_operate()
4471 if ((o->info.handleFlags & TEE_HANDLE_FLAG_INITIALIZED) == 0) { in syscall_asymm_operate()
4480 res = crypto_acipher_rsanopad_encrypt(o->attr, src_data, in syscall_asymm_operate()
4486 res = crypto_acipher_rsanopad_decrypt(o->attr, src_data, in syscall_asymm_operate()
4502 res = crypto_acipher_sm2_pke_encrypt(o->attr, src_data, in syscall_asymm_operate()
4508 res = crypto_acipher_sm2_pke_decrypt(o->attr, src_data, in syscall_asymm_operate()
4554 res = crypto_acipher_rsaes_encrypt(cs->algo, o->attr, in syscall_asymm_operate()
4563 cs->algo, o->attr, label, label_len, in syscall_asymm_operate()
4593 res = crypto_acipher_rsassa_sign(cs->algo, o->attr, salt_len, in syscall_asymm_operate()
4603 res = crypto_acipher_dsa_sign(cs->algo, o->attr, src_data, in syscall_asymm_operate()
4610 res = tee_svc_obj_ed25519_sign(o->attr, src_data, src_len, in syscall_asymm_operate()
4623 res = crypto_acipher_ecc_sign(cs->algo, o->attr, src_data, in syscall_asymm_operate()
4655 struct tee_obj *o = NULL; in syscall_asymm_verify() local
4695 res = tee_obj_get(utc, cs->key1, &o); in syscall_asymm_verify()
4698 if ((o->info.handleFlags & TEE_HANDLE_FLAG_INITIALIZED) == 0) { in syscall_asymm_verify()
4718 res = crypto_acipher_rsassa_verify(cs->algo, o->attr, salt_len, in syscall_asymm_verify()
4731 struct dsa_public_key *key = o->attr; in syscall_asymm_verify()
4763 res = crypto_acipher_dsa_verify(cs->algo, o->attr, data, in syscall_asymm_verify()
4770 res = tee_svc_obj_ed25519_verify(o->attr, data, in syscall_asymm_verify()
4779 res = crypto_acipher_ecc_verify(cs->algo, o->attr, data, in syscall_asymm_verify()