Re: [PATCH 3/4] crypto: akcipher: add crypto_akcipher_type methods needed by templates.

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

 



Hi Herbert,

On 17 November 2015 at 14:42, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
> Andrew Zaborowski <andrew.zaborowski@xxxxxxxxx> wrote:
>> Add two dummy methods that are required by the crypto API internals:
>> .ctxsize and .init
>> (just because the framework calls them without checking if they were
>> provided).  They're only required by the complicated code path needed to
>> instantiate a template algorithm.  Also expose crypto_akcipher_type like
>> other crypto types are exposed to be used from outside modules.
>>
>> Signed-off-by: Andrew Zaborowski <andrew.zaborowski@xxxxxxxxx>
>
> Nack.  They are only required if you use obsolete methods of creating
> a tfm.

Will you then accept a patch to add a cra_u.akcipher to struct
crypto_alg?  I see shash/ahash use one method to create instances and
blkcipher use another.  I have no way to know which of them is
"obsolete" (possibly both) and that was the reason for sending an RFC
first.

Best regards
--
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