Commit 1c49678e8a35de7d009854f79337261df1e774df

Authored by Stephan Mueller
Committed by Herbert Xu
1 parent e28facde3c

crypto: keywrap - enable compilation

Hook keywrap source code into Kconfig and Makefile

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Showing 2 changed files with 8 additions and 0 deletions Side-by-side Diff

... ... @@ -348,6 +348,13 @@
348 348 key size 256, 384 or 512 bits. This implementation currently
349 349 can't handle a sectorsize which is not a multiple of 16 bytes.
350 350  
  351 +config CRYPTO_KEYWRAP
  352 + tristate "Key wrapping support"
  353 + select CRYPTO_BLKCIPHER
  354 + help
  355 + Support for key wrapping (NIST SP800-38F / RFC3394) without
  356 + padding.
  357 +
351 358 comment "Hash modes"
352 359  
353 360 config CRYPTO_CMAC
... ... @@ -70,6 +70,7 @@
70 70 obj-$(CONFIG_CRYPTO_LRW) += lrw.o
71 71 obj-$(CONFIG_CRYPTO_XTS) += xts.o
72 72 obj-$(CONFIG_CRYPTO_CTR) += ctr.o
  73 +obj-$(CONFIG_CRYPTO_KEYWRAP) += keywrap.o
73 74 obj-$(CONFIG_CRYPTO_GCM) += gcm.o
74 75 obj-$(CONFIG_CRYPTO_CCM) += ccm.o
75 76 obj-$(CONFIG_CRYPTO_CHACHA20POLY1305) += chacha20poly1305.o