fcrypt.c (860dbce3d8dd90cb9e909c58fa79808766243651) | fcrypt.c (d6ebf5286f8f94a254a8c90d4b9f2a8b076a8634) |
---|---|
1/* FCrypt encryption algorithm 2 * 3 * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved. 4 * Written by David Howells (dhowells@redhat.com) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 377 unchanged lines hidden (view full) --- 386 ctx->sched[0xe] = cpu_to_be32(lo); ror56(hi, lo, 11); 387 ctx->sched[0xf] = cpu_to_be32(lo); 388 return 0; 389#endif 390} 391 392static struct crypto_alg fcrypt_alg = { 393 .cra_name = "fcrypt", | 1/* FCrypt encryption algorithm 2 * 3 * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved. 4 * Written by David Howells (dhowells@redhat.com) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 377 unchanged lines hidden (view full) --- 386 ctx->sched[0xe] = cpu_to_be32(lo); ror56(hi, lo, 11); 387 ctx->sched[0xf] = cpu_to_be32(lo); 388 return 0; 389#endif 390} 391 392static struct crypto_alg fcrypt_alg = { 393 .cra_name = "fcrypt", |
394 .cra_driver_name = "fcrypt-generic", |
|
394 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 395 .cra_blocksize = 8, 396 .cra_ctxsize = sizeof(struct fcrypt_ctx), 397 .cra_module = THIS_MODULE, 398 .cra_alignmask = 3, 399 .cra_u = { .cipher = { 400 .cia_min_keysize = 8, 401 .cia_max_keysize = 8, --- 22 unchanged lines hidden --- | 395 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 396 .cra_blocksize = 8, 397 .cra_ctxsize = sizeof(struct fcrypt_ctx), 398 .cra_module = THIS_MODULE, 399 .cra_alignmask = 3, 400 .cra_u = { .cipher = { 401 .cia_min_keysize = 8, 402 .cia_max_keysize = 8, --- 22 unchanged lines hidden --- |