diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/crypto/aes.c | 2 | ||||
-rw-r--r-- | arch/x86_64/crypto/aes.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/crypto/aes.c b/arch/i386/crypto/aes.c index 1deb9ff564be..138652aafcbf 100644 --- a/arch/i386/crypto/aes.c +++ b/arch/i386/crypto/aes.c | |||
@@ -486,6 +486,8 @@ static inline void aes_decrypt(void *ctx, u8 *dst, const u8 *src) | |||
486 | 486 | ||
487 | static struct crypto_alg aes_alg = { | 487 | static struct crypto_alg aes_alg = { |
488 | .cra_name = "aes", | 488 | .cra_name = "aes", |
489 | .cra_driver_name = "aes-i586", | ||
490 | .cra_priority = 200, | ||
489 | .cra_flags = CRYPTO_ALG_TYPE_CIPHER, | 491 | .cra_flags = CRYPTO_ALG_TYPE_CIPHER, |
490 | .cra_blocksize = AES_BLOCK_SIZE, | 492 | .cra_blocksize = AES_BLOCK_SIZE, |
491 | .cra_ctxsize = sizeof(struct aes_ctx), | 493 | .cra_ctxsize = sizeof(struct aes_ctx), |
diff --git a/arch/x86_64/crypto/aes.c b/arch/x86_64/crypto/aes.c index 19996854b490..fb1b961a2e2f 100644 --- a/arch/x86_64/crypto/aes.c +++ b/arch/x86_64/crypto/aes.c | |||
@@ -289,6 +289,8 @@ extern void aes_decrypt(void *ctx_arg, u8 *out, const u8 *in); | |||
289 | 289 | ||
290 | static struct crypto_alg aes_alg = { | 290 | static struct crypto_alg aes_alg = { |
291 | .cra_name = "aes", | 291 | .cra_name = "aes", |
292 | .cra_driver_name = "aes-x86_64", | ||
293 | .cra_priority = 200, | ||
292 | .cra_flags = CRYPTO_ALG_TYPE_CIPHER, | 294 | .cra_flags = CRYPTO_ALG_TYPE_CIPHER, |
293 | .cra_blocksize = AES_BLOCK_SIZE, | 295 | .cra_blocksize = AES_BLOCK_SIZE, |
294 | .cra_ctxsize = sizeof(struct aes_ctx), | 296 | .cra_ctxsize = sizeof(struct aes_ctx), |