• Herbert Xu's avatar
    [CRYPTO] api: Do not remove users unless new algorithm matches · a73e6996
    Herbert Xu authored
    As it is whenever a new algorithm with the same name is registered
    users of the old algorithm will be removed so that they can take
    advantage of the new algorithm.  This presents a problem when the
    new algorithm is not equivalent to the old algorithm.  In particular,
    the new algorithm might only function on top of the existing one.
    
    Hence we should not remove users unless they can make use of the
    new algorithm.
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    a73e6996
algapi.c 12.6 KB