Hi all, The HLS protocol calls for the ability to do aes128 encryption using a symmetrical key.
The attached patch introduces the apr_crypto_key() function that deprecates the apr_crypto_passphrase() function, and allows either passphrases or symmetrical secrets to be passed to the crypto API. This keeps the option open to support other types of keys in future. In addition, the apr_crypto_get_block_key_types() and apr_crypto_get_block_key_modes() functions used to return a hash of void *’s to an integer. They now return a hash of void *’s to structures where the first member is the same integer, followed by additional information about the cipher (like the key length). This should make this backportable to apr-util v1.6. The mod_crypto module that provides HLS support will be posted to the dev@htpd list. Regards, Graham —
apr-crypto-secretkey.patch
Description: Binary data
