Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88424
b: refs/heads/master
c: 9f7819c
h: refs/heads/master
v: v3
  • Loading branch information
Heiko Carstens committed Apr 17, 2008
1 parent 918c685 commit cfc9755
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c0015f91d8414f55d2debfe9984a04b98b48f087
refs/heads/master: 9f7819c1e51d5310d012426599a5f49d8678119d
8 changes: 4 additions & 4 deletions trunk/arch/s390/crypto/aes_s390.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ static struct crypto_alg cbc_aes_alg = {
}
};

static int __init aes_init(void)
static int __init aes_s390_init(void)
{
int ret;

Expand Down Expand Up @@ -542,15 +542,15 @@ static int __init aes_init(void)
goto out;
}

static void __exit aes_fini(void)
static void __exit aes_s390_fini(void)
{
crypto_unregister_alg(&cbc_aes_alg);
crypto_unregister_alg(&ecb_aes_alg);
crypto_unregister_alg(&aes_alg);
}

module_init(aes_init);
module_exit(aes_fini);
module_init(aes_s390_init);
module_exit(aes_s390_fini);

MODULE_ALIAS("aes");

Expand Down
8 changes: 4 additions & 4 deletions trunk/arch/s390/crypto/des_s390.c
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ static struct crypto_alg cbc_des3_192_alg = {
}
};

static int init(void)
static int des_s390_init(void)
{
int ret = 0;

Expand Down Expand Up @@ -612,7 +612,7 @@ static int init(void)
goto out;
}

static void __exit fini(void)
static void __exit des_s390_fini(void)
{
crypto_unregister_alg(&cbc_des3_192_alg);
crypto_unregister_alg(&ecb_des3_192_alg);
Expand All @@ -625,8 +625,8 @@ static void __exit fini(void)
crypto_unregister_alg(&des_alg);
}

module_init(init);
module_exit(fini);
module_init(des_s390_init);
module_exit(des_s390_fini);

MODULE_ALIAS("des");
MODULE_ALIAS("des3_ede");
Expand Down
8 changes: 4 additions & 4 deletions trunk/arch/s390/crypto/sha1_s390.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,21 +137,21 @@ static struct crypto_alg alg = {
.dia_final = sha1_final } }
};

static int __init init(void)
static int __init sha1_s390_init(void)
{
if (!crypt_s390_func_available(KIMD_SHA_1))
return -EOPNOTSUPP;

return crypto_register_alg(&alg);
}

static void __exit fini(void)
static void __exit sha1_s390_fini(void)
{
crypto_unregister_alg(&alg);
}

module_init(init);
module_exit(fini);
module_init(sha1_s390_init);
module_exit(sha1_s390_fini);

MODULE_ALIAS("sha1");

Expand Down
8 changes: 4 additions & 4 deletions trunk/arch/s390/crypto/sha256_s390.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,21 +133,21 @@ static struct crypto_alg alg = {
.dia_final = sha256_final } }
};

static int init(void)
static int sha256_s390_init(void)
{
if (!crypt_s390_func_available(KIMD_SHA_256))
return -EOPNOTSUPP;

return crypto_register_alg(&alg);
}

static void __exit fini(void)
static void __exit sha256_s390_fini(void)
{
crypto_unregister_alg(&alg);
}

module_init(init);
module_exit(fini);
module_init(sha256_s390_init);
module_exit(sha256_s390_fini);

MODULE_ALIAS("sha256");

Expand Down

0 comments on commit cfc9755

Please sign in to comment.