]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix libstand build breakage after r361298.
authorjhb <jhb@FreeBSD.org>
Wed, 20 May 2020 22:25:41 +0000 (22:25 +0000)
committerjhb <jhb@FreeBSD.org>
Wed, 20 May 2020 22:25:41 +0000 (22:25 +0000)
commit52934e620ac38e339b59aa5f9a4c60c942f33e2e
tree7789d34ca601b09277df736269ad69fb83166962
parent4826b105b99943c0d215184946ce0b1cb52490e1
Fix libstand build breakage after r361298.

- Use enc_xform_aes_xts.setkey() directly instead of duplicating the code
  now that it no longer calls malloc().
- Rather than bringing back all of xform_userland.h, add a conditional
  #include of <stand.h> to xform_enc.h.
- Update calls to encrypt/decrypt callbacks in enc_xform_aes_xts for
  separate input/output pointers.

Pointy hat to: jhb
stand/libsa/geli/geliboot_crypto.c
sys/opencrypto/xform_enc.h