Juan Lang : crypt32: Use CRYPT_EncodeEnsureSpace to allocate memory when necessary.