Lines Matching defs:prikey
825 soft_rsa_genkey_pair(soft_object_t *pubkey, soft_object_t *prikey)
847 if ((pubkey == NULL) || (prikey == NULL)) {
885 k.rfunc = (IS_TOKEN_OBJECT(pubkey) || IS_TOKEN_OBJECT(prikey)) ?
917 if ((rv = soft_genRSAkey_set_attribute(prikey, CKA_MODULUS,
922 if ((rv = soft_genRSAkey_set_attribute(prikey, CKA_PRIVATE_EXPONENT,
927 if ((rv = soft_genRSAkey_set_attribute(prikey, CKA_PUBLIC_EXPONENT,
932 if ((rv = soft_genRSAkey_set_attribute(prikey, CKA_PRIME_1,
937 if ((rv = soft_genRSAkey_set_attribute(prikey, CKA_PRIME_2,
942 if ((rv = soft_genRSAkey_set_attribute(prikey, CKA_EXPONENT_1,
947 if ((rv = soft_genRSAkey_set_attribute(prikey, CKA_EXPONENT_2,
952 if ((rv = soft_genRSAkey_set_attribute(prikey, CKA_COEFFICIENT,