anubis.c (860dbce3d8dd90cb9e909c58fa79808766243651) | anubis.c (d6ebf5286f8f94a254a8c90d4b9f2a8b076a8634) |
---|---|
1/* 2 * Cryptographic API. 3 * 4 * Anubis Algorithm 5 * 6 * The Anubis algorithm was developed by Paulo S. L. M. Barreto and 7 * Vincent Rijmen. 8 * --- 659 unchanged lines hidden (view full) --- 668static void anubis_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) 669{ 670 struct anubis_ctx *ctx = crypto_tfm_ctx(tfm); 671 anubis_crypt(ctx->D, dst, src, ctx->R); 672} 673 674static struct crypto_alg anubis_alg = { 675 .cra_name = "anubis", | 1/* 2 * Cryptographic API. 3 * 4 * Anubis Algorithm 5 * 6 * The Anubis algorithm was developed by Paulo S. L. M. Barreto and 7 * Vincent Rijmen. 8 * --- 659 unchanged lines hidden (view full) --- 668static void anubis_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) 669{ 670 struct anubis_ctx *ctx = crypto_tfm_ctx(tfm); 671 anubis_crypt(ctx->D, dst, src, ctx->R); 672} 673 674static struct crypto_alg anubis_alg = { 675 .cra_name = "anubis", |
676 .cra_driver_name = "anubis-generic", |
|
676 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 677 .cra_blocksize = ANUBIS_BLOCK_SIZE, 678 .cra_ctxsize = sizeof (struct anubis_ctx), 679 .cra_alignmask = 3, 680 .cra_module = THIS_MODULE, 681 .cra_u = { .cipher = { 682 .cia_min_keysize = ANUBIS_MIN_KEY_SIZE, 683 .cia_max_keysize = ANUBIS_MAX_KEY_SIZE, --- 24 unchanged lines hidden --- | 677 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 678 .cra_blocksize = ANUBIS_BLOCK_SIZE, 679 .cra_ctxsize = sizeof (struct anubis_ctx), 680 .cra_alignmask = 3, 681 .cra_module = THIS_MODULE, 682 .cra_u = { .cipher = { 683 .cia_min_keysize = ANUBIS_MIN_KEY_SIZE, 684 .cia_max_keysize = ANUBIS_MAX_KEY_SIZE, --- 24 unchanged lines hidden --- |