|
@@ -911,10 +911,6 @@ static int atmel_tdes_cra_init(struct crypto_tfm *tfm)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static void atmel_tdes_cra_exit(struct crypto_tfm *tfm)
|
|
|
-{
|
|
|
-}
|
|
|
-
|
|
|
static struct crypto_alg tdes_algs[] = {
|
|
|
{
|
|
|
.cra_name = "ecb(des)",
|
|
@@ -927,7 +923,6 @@ static struct crypto_alg tdes_algs[] = {
|
|
|
.cra_type = &crypto_ablkcipher_type,
|
|
|
.cra_module = THIS_MODULE,
|
|
|
.cra_init = atmel_tdes_cra_init,
|
|
|
- .cra_exit = atmel_tdes_cra_exit,
|
|
|
.cra_u.ablkcipher = {
|
|
|
.min_keysize = DES_KEY_SIZE,
|
|
|
.max_keysize = DES_KEY_SIZE,
|
|
@@ -947,7 +942,6 @@ static struct crypto_alg tdes_algs[] = {
|
|
|
.cra_type = &crypto_ablkcipher_type,
|
|
|
.cra_module = THIS_MODULE,
|
|
|
.cra_init = atmel_tdes_cra_init,
|
|
|
- .cra_exit = atmel_tdes_cra_exit,
|
|
|
.cra_u.ablkcipher = {
|
|
|
.min_keysize = DES_KEY_SIZE,
|
|
|
.max_keysize = DES_KEY_SIZE,
|
|
@@ -968,7 +962,6 @@ static struct crypto_alg tdes_algs[] = {
|
|
|
.cra_type = &crypto_ablkcipher_type,
|
|
|
.cra_module = THIS_MODULE,
|
|
|
.cra_init = atmel_tdes_cra_init,
|
|
|
- .cra_exit = atmel_tdes_cra_exit,
|
|
|
.cra_u.ablkcipher = {
|
|
|
.min_keysize = DES_KEY_SIZE,
|
|
|
.max_keysize = DES_KEY_SIZE,
|
|
@@ -989,7 +982,6 @@ static struct crypto_alg tdes_algs[] = {
|
|
|
.cra_type = &crypto_ablkcipher_type,
|
|
|
.cra_module = THIS_MODULE,
|
|
|
.cra_init = atmel_tdes_cra_init,
|
|
|
- .cra_exit = atmel_tdes_cra_exit,
|
|
|
.cra_u.ablkcipher = {
|
|
|
.min_keysize = DES_KEY_SIZE,
|
|
|
.max_keysize = DES_KEY_SIZE,
|
|
@@ -1010,7 +1002,6 @@ static struct crypto_alg tdes_algs[] = {
|
|
|
.cra_type = &crypto_ablkcipher_type,
|
|
|
.cra_module = THIS_MODULE,
|
|
|
.cra_init = atmel_tdes_cra_init,
|
|
|
- .cra_exit = atmel_tdes_cra_exit,
|
|
|
.cra_u.ablkcipher = {
|
|
|
.min_keysize = DES_KEY_SIZE,
|
|
|
.max_keysize = DES_KEY_SIZE,
|
|
@@ -1031,7 +1022,6 @@ static struct crypto_alg tdes_algs[] = {
|
|
|
.cra_type = &crypto_ablkcipher_type,
|
|
|
.cra_module = THIS_MODULE,
|
|
|
.cra_init = atmel_tdes_cra_init,
|
|
|
- .cra_exit = atmel_tdes_cra_exit,
|
|
|
.cra_u.ablkcipher = {
|
|
|
.min_keysize = DES_KEY_SIZE,
|
|
|
.max_keysize = DES_KEY_SIZE,
|
|
@@ -1052,7 +1042,6 @@ static struct crypto_alg tdes_algs[] = {
|
|
|
.cra_type = &crypto_ablkcipher_type,
|
|
|
.cra_module = THIS_MODULE,
|
|
|
.cra_init = atmel_tdes_cra_init,
|
|
|
- .cra_exit = atmel_tdes_cra_exit,
|
|
|
.cra_u.ablkcipher = {
|
|
|
.min_keysize = DES_KEY_SIZE,
|
|
|
.max_keysize = DES_KEY_SIZE,
|
|
@@ -1073,7 +1062,6 @@ static struct crypto_alg tdes_algs[] = {
|
|
|
.cra_type = &crypto_ablkcipher_type,
|
|
|
.cra_module = THIS_MODULE,
|
|
|
.cra_init = atmel_tdes_cra_init,
|
|
|
- .cra_exit = atmel_tdes_cra_exit,
|
|
|
.cra_u.ablkcipher = {
|
|
|
.min_keysize = 2 * DES_KEY_SIZE,
|
|
|
.max_keysize = 3 * DES_KEY_SIZE,
|
|
@@ -1093,7 +1081,6 @@ static struct crypto_alg tdes_algs[] = {
|
|
|
.cra_type = &crypto_ablkcipher_type,
|
|
|
.cra_module = THIS_MODULE,
|
|
|
.cra_init = atmel_tdes_cra_init,
|
|
|
- .cra_exit = atmel_tdes_cra_exit,
|
|
|
.cra_u.ablkcipher = {
|
|
|
.min_keysize = 2*DES_KEY_SIZE,
|
|
|
.max_keysize = 3*DES_KEY_SIZE,
|
|
@@ -1114,7 +1101,6 @@ static struct crypto_alg tdes_algs[] = {
|
|
|
.cra_type = &crypto_ablkcipher_type,
|
|
|
.cra_module = THIS_MODULE,
|
|
|
.cra_init = atmel_tdes_cra_init,
|
|
|
- .cra_exit = atmel_tdes_cra_exit,
|
|
|
.cra_u.ablkcipher = {
|
|
|
.min_keysize = 2*DES_KEY_SIZE,
|
|
|
.max_keysize = 2*DES_KEY_SIZE,
|
|
@@ -1135,7 +1121,6 @@ static struct crypto_alg tdes_algs[] = {
|
|
|
.cra_type = &crypto_ablkcipher_type,
|
|
|
.cra_module = THIS_MODULE,
|
|
|
.cra_init = atmel_tdes_cra_init,
|
|
|
- .cra_exit = atmel_tdes_cra_exit,
|
|
|
.cra_u.ablkcipher = {
|
|
|
.min_keysize = 2*DES_KEY_SIZE,
|
|
|
.max_keysize = 2*DES_KEY_SIZE,
|
|
@@ -1156,7 +1141,6 @@ static struct crypto_alg tdes_algs[] = {
|
|
|
.cra_type = &crypto_ablkcipher_type,
|
|
|
.cra_module = THIS_MODULE,
|
|
|
.cra_init = atmel_tdes_cra_init,
|
|
|
- .cra_exit = atmel_tdes_cra_exit,
|
|
|
.cra_u.ablkcipher = {
|
|
|
.min_keysize = 2*DES_KEY_SIZE,
|
|
|
.max_keysize = 2*DES_KEY_SIZE,
|
|
@@ -1177,7 +1161,6 @@ static struct crypto_alg tdes_algs[] = {
|
|
|
.cra_type = &crypto_ablkcipher_type,
|
|
|
.cra_module = THIS_MODULE,
|
|
|
.cra_init = atmel_tdes_cra_init,
|
|
|
- .cra_exit = atmel_tdes_cra_exit,
|
|
|
.cra_u.ablkcipher = {
|
|
|
.min_keysize = 2*DES_KEY_SIZE,
|
|
|
.max_keysize = 2*DES_KEY_SIZE,
|
|
@@ -1198,7 +1181,6 @@ static struct crypto_alg tdes_algs[] = {
|
|
|
.cra_type = &crypto_ablkcipher_type,
|
|
|
.cra_module = THIS_MODULE,
|
|
|
.cra_init = atmel_tdes_cra_init,
|
|
|
- .cra_exit = atmel_tdes_cra_exit,
|
|
|
.cra_u.ablkcipher = {
|
|
|
.min_keysize = 2*DES_KEY_SIZE,
|
|
|
.max_keysize = 3*DES_KEY_SIZE,
|