RE: [PATCH 01/10] crypto: rsa - generalize ASN.1 sequences

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tadeusz,

> -----Original Message-----
> From: Tadeusz Struk [mailto:tadeusz.struk@xxxxxxxxx]
> Sent: Sunday, March 20, 2016 4:54 PM
> To: Tudor-Dan Ambarus; herbert@xxxxxxxxxxxxxxxxxxx
> Cc: linux-crypto@xxxxxxxxxxxxxxx; smueller@xxxxxxxxxx; Horia Ioan Geanta
> Neag
> Subject: Re: [PATCH 01/10] crypto: rsa - generalize ASN.1 sequences


> static int rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key,
>  			    unsigned int keylen)
>  {
> 	struct rsa_ctx *ctx = akcipher_tfm_ctx(tfm);
> 	struct rsa_mpi_key *pkey = &ctx->key;
>  	int ret;
> 
> 	ctx->action = &impl_action;

[ta] we can do this once, when initializing the tfm object.

I agree with all your suggestions, I will implement them.

Thank you for the review,
ta
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux