On Thu, Apr 30, 2015 at 03:36:52PM -0700, Tadeusz Struk wrote:
>
> +struct pke_alg {
> +     int (*sign)(struct pke_request *pkereq);
> +     int (*verify)(struct pke_request *pkereq);
> +     int (*encrypt)(struct pke_request *pkereq);
> +     int (*decrypt)(struct pke_request *pkereq);
> +
> +     u8 pub_mpis;    /* Number of MPIs in public key */
> +     u8 sec_mpis;    /* Number of MPIs in secret key */
> +     u8 sig_mpis;    /* Number of MPIs in a signature */
> +#define PKEY_CAN_ENCRYPT     0x01
> +#define PKEY_CAN_DECRYPT     0x02
> +#define PKEY_CAN_SIGN                0x04
> +#define PKEY_CAN_VERIFY              0x08
> +     u8 capabilities;
> +};

Please remodel it after pcompress or the newly converted rng type.

This union stuff has been obsolete since 2008 and it's time for
it to die.

Thanks,
-- 
Email: Herbert Xu <herb...@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to