diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-10-02 22:27:29 +0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:55:47 -0700 |
commit | d8058480b35dbc3d1e6085b3f13b80af27def09e (patch) | |
tree | f343b65876738ba5c0abd8de413a6b076a5af928 /crypto/hash.c | |
parent | 70613783fc0f6e37b442d79e8417f71a2b71ed93 (diff) |
[CRYPTO] api: Explain the comparison on larval cra_name
This patch adds a comment to explain why we compare the cra_driver_name of
the algorithm being registered against the cra_name of a larval as opposed
to the cra_driver_name of the larval.
In fact larvals have only one name, cra_name which is the name that was
requested by the user. The test here is simply trying to find out whether
the algorithm being registered can or can not satisfy the larval.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/hash.c')
0 files changed, 0 insertions, 0 deletions