|
|
@@ -416,6 +416,7 @@ int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key,
|
|
|
struct crypto_alg ifxdeu_des_alg = {
|
|
|
.cra_name = "des",
|
|
|
.cra_driver_name = "ifxdeu-des",
|
|
|
+ .cra_priority = 300,
|
|
|
.cra_flags = CRYPTO_ALG_TYPE_CIPHER,
|
|
|
.cra_blocksize = DES_BLOCK_SIZE,
|
|
|
.cra_ctxsize = sizeof(struct des_ctx),
|
|
|
@@ -436,6 +437,7 @@ struct crypto_alg ifxdeu_des_alg = {
|
|
|
struct crypto_alg ifxdeu_des3_ede_alg = {
|
|
|
.cra_name = "des3_ede",
|
|
|
.cra_driver_name = "ifxdeu-des3_ede",
|
|
|
+ .cra_priority = 300,
|
|
|
.cra_flags = CRYPTO_ALG_TYPE_CIPHER,
|
|
|
.cra_blocksize = DES_BLOCK_SIZE,
|
|
|
.cra_ctxsize = sizeof(struct des_ctx),
|
|
|
@@ -520,6 +522,7 @@ int ecb_des_decrypt(struct blkcipher_desc *desc,
|
|
|
struct crypto_alg ifxdeu_ecb_des_alg = {
|
|
|
.cra_name = "ecb(des)",
|
|
|
.cra_driver_name = "ifxdeu-ecb(des)",
|
|
|
+ .cra_priority = 400,
|
|
|
.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER,
|
|
|
.cra_blocksize = DES_BLOCK_SIZE,
|
|
|
.cra_ctxsize = sizeof(struct des_ctx),
|
|
|
@@ -543,6 +546,7 @@ struct crypto_alg ifxdeu_ecb_des_alg = {
|
|
|
struct crypto_alg ifxdeu_ecb_des3_ede_alg = {
|
|
|
.cra_name = "ecb(des3_ede)",
|
|
|
.cra_driver_name = "ifxdeu-ecb(des3_ede)",
|
|
|
+ .cra_priority = 400,
|
|
|
.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER,
|
|
|
.cra_blocksize = DES3_EDE_BLOCK_SIZE,
|
|
|
.cra_ctxsize = sizeof(struct des_ctx),
|
|
|
@@ -634,6 +638,7 @@ int cbc_des_decrypt(struct blkcipher_desc *desc,
|
|
|
struct crypto_alg ifxdeu_cbc_des_alg = {
|
|
|
.cra_name = "cbc(des)",
|
|
|
.cra_driver_name = "ifxdeu-cbc(des)",
|
|
|
+ .cra_priority = 400,
|
|
|
.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER,
|
|
|
.cra_blocksize = DES_BLOCK_SIZE,
|
|
|
.cra_ctxsize = sizeof(struct des_ctx),
|
|
|
@@ -658,6 +663,7 @@ struct crypto_alg ifxdeu_cbc_des_alg = {
|
|
|
struct crypto_alg ifxdeu_cbc_des3_ede_alg = {
|
|
|
.cra_name = "cbc(des3_ede)",
|
|
|
.cra_driver_name = "ifxdeu-cbc(des3_ede)",
|
|
|
+ .cra_priority = 400,
|
|
|
.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER,
|
|
|
.cra_blocksize = DES3_EDE_BLOCK_SIZE,
|
|
|
.cra_ctxsize = sizeof(struct des_ctx),
|