Skip to content
  • Olaf Bergmann's avatar
    dcaf_crypt_mbedtls.c: normalize AES keys to block length · 056e8236
    Olaf Bergmann authored
    MbedTLS requires AES keys to have the exact block length in function
    mbedtls_cipher_setkey(). The key passed to the dcaf
    encryption/decryption functions therefore are filled with zero bytes
    when to short, or truncated when too long.
    056e8236