• E
    crypto: speck - export common helpers · c8c36413
    Eric Biggers 提交于
    Export the Speck constants and transform context and the ->setkey(),
    ->encrypt(), and ->decrypt() functions so that they can be reused by the
    ARM NEON implementation of Speck-XTS.  The generic key expansion code
    will be reused because it is not performance-critical and is not
    vectorizable, while the generic encryption and decryption functions are
    needed as fallbacks and for the XTS tweak encryption.
    Signed-off-by: NEric Biggers <ebiggers@google.com>
    Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
    c8c36413
speck.h 1.3 KB