Lines Matching refs:obj
60 struct pkcs11_object *obj) in pkcs2tee_validate_rsa_pss() argument
91 modulus_size = get_object_key_bit_size(obj); in pkcs2tee_validate_rsa_pss()
509 struct pkcs11_object *obj) in load_tee_rsa_key_attrs() argument
516 assert(get_key_type(obj->attributes) == PKCS11_CKK_RSA); in load_tee_rsa_key_attrs()
518 switch (get_class(obj->attributes)) { in load_tee_rsa_key_attrs()
526 obj, PKCS11_CKA_MODULUS)) in load_tee_rsa_key_attrs()
530 TEE_ATTR_RSA_PUBLIC_EXPONENT, obj, in load_tee_rsa_key_attrs()
546 obj, PKCS11_CKA_MODULUS)) in load_tee_rsa_key_attrs()
550 TEE_ATTR_RSA_PUBLIC_EXPONENT, obj, in load_tee_rsa_key_attrs()
555 TEE_ATTR_RSA_PRIVATE_EXPONENT, obj, in load_tee_rsa_key_attrs()
563 rc = get_attribute_ptr(obj->attributes, PKCS11_CKA_PRIME_1, in load_tee_rsa_key_attrs()
572 if (pkcs2tee_load_attr(&attrs[count], TEE_ATTR_RSA_PRIME1, obj, in load_tee_rsa_key_attrs()
576 if (pkcs2tee_load_attr(&attrs[count], TEE_ATTR_RSA_PRIME2, obj, in load_tee_rsa_key_attrs()
581 obj, PKCS11_CKA_EXPONENT_1)) in load_tee_rsa_key_attrs()
585 obj, PKCS11_CKA_EXPONENT_2)) in load_tee_rsa_key_attrs()
589 obj, PKCS11_CKA_COEFFICIENT)) in load_tee_rsa_key_attrs()