Re: [FFmpeg-devel] [PATCH] avformat/hls: add macros for iv and key size

2021-05-11 Thread lance . lmwang
On Tue, May 11, 2021 at 05:04:57PM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12021-05-11): > > I'm trying to test with AES-192 and AES-256 support. > > Then you will need to differentiate places that are a buffer and you > need to know the maximum size of the key, and places where th

Re: [FFmpeg-devel] [PATCH] avformat/hls: add macros for iv and key size

2021-05-11 Thread Nicolas George
lance.lmw...@gmail.com (12021-05-11): > I'm trying to test with AES-192 and AES-256 support. Then you will need to differentiate places that are a buffer and you need to know the maximum size of the key, and places where the size you have is the actual key size. Introducing these macros will not

Re: [FFmpeg-devel] [PATCH] avformat/hls: add macros for iv and key size

2021-05-11 Thread lance . lmwang
On Tue, May 11, 2021 at 10:56:50AM -0300, James Almer wrote: > On 5/11/2021 10:21 AM, lance.lmw...@gmail.com wrote: > > On Tue, May 11, 2021 at 02:44:34PM +0200, Nicolas George wrote: > > > lance.lmw...@gmail.com (12021-05-11): > > > > From: Limin Wang > > > > > > > > Signed-off-by: Limin Wang >

Re: [FFmpeg-devel] [PATCH] avformat/hls: add macros for iv and key size

2021-05-11 Thread James Almer
On 5/11/2021 10:21 AM, lance.lmw...@gmail.com wrote: On Tue, May 11, 2021 at 02:44:34PM +0200, Nicolas George wrote: lance.lmw...@gmail.com (12021-05-11): From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hls.c | 12 ++-- libavformat/hlsenc.c | 19 +

Re: [FFmpeg-devel] [PATCH] avformat/hls: add macros for iv and key size

2021-05-11 Thread lance . lmwang
On Tue, May 11, 2021 at 02:45:07PM +0200, Nicolas George wrote: > Nicolas George (12021-05-11): > > So, anything using internal.h can only deal with 128 bits keys? Seems > > wrong. > > Are you actually trying to fix something? I'm trying to test with AES-192 and AES-256 support. > > Regards, >

Re: [FFmpeg-devel] [PATCH] avformat/hls: add macros for iv and key size

2021-05-11 Thread lance . lmwang
On Tue, May 11, 2021 at 02:44:34PM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12021-05-11): > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/hls.c | 12 ++-- > > libavformat/hlsenc.c | 19 +-- > > libavformat/internal.h |

Re: [FFmpeg-devel] [PATCH] avformat/hls: add macros for iv and key size

2021-05-11 Thread Nicolas George
Nicolas George (12021-05-11): > So, anything using internal.h can only deal with 128 bits keys? Seems > wrong. Are you actually trying to fix something? Regards, -- Nicolas George signature.asc Description: PGP signature ___ ffmpeg-devel mailing l

Re: [FFmpeg-devel] [PATCH] avformat/hls: add macros for iv and key size

2021-05-11 Thread Nicolas George
lance.lmw...@gmail.com (12021-05-11): > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/hls.c | 12 ++-- > libavformat/hlsenc.c | 19 +-- > libavformat/internal.h | 2 ++ > 3 files changed, 17 insertions(+), 16 deletions(-) > > diff --git a/li