• Jussi Kivilinna's avatar
    Revert "[CRYPTO] cast6: inline bloat--" · 312639bb
    Jussi Kivilinna authored
    This reverts commit e6ccc727.
    
    Above commit caused performance regression for CAST6. Reverting gives
    following increase in tcrypt speed tests (revert-vs-old ratios).
    
    AMD Phenom II X6 1055T, x86-64:
    
    size    ecb             cbc             ctr             lrw             xts
            enc     dec     enc     dec     enc     dec     enc     dec     enc     dec
    16b     1.15x   1.17x   1.16x   1.17x   1.16x   1.16x   1.14x   1.19x   1.05x   1.07x
    64b     1.19x   1.23x   1.20x   1.22x   1.19x   1.19x   1.16x   1.24x   1.12x   1.12x
    256b    1.21x   1.24x   1.22x   1.24x   1.20x   1.20x   1.17x   1.21x   1.16x   1.14x
    1kb     1.21x   1.25x   1.22x   1.24x   1.21x   1.21x   1.18x   1.22x   1.17x   1.15x
    8kb     1.21x   1.25x   1.22x   1.24x   1.21x   1.21x   1.18x   1.22x   1.18x   1.15x
    
    Cc: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
    Signed-off-by: default avatarJussi Kivilinna <jussi.kivilinna@mbnet.fi>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    312639bb
cast6_generic.c 21.9 KB