crypto-ISSUE-29 (block modes): Handling of block encryption modes and padding [Web Cryptography API]

crypto-ISSUE-29 (block modes): Handling of block encryption modes and padding [Web Cryptography API]

http://www.w3.org/2012/webcrypto/track/issues/29

Raised by: Ryan Sleevi
On product: Web Cryptography API

Currently, the Web Cryptography API defines "AES-CTR", "AES-CBC", and "AES-GCM" as unique algorithms. However, functionally, it's a single algorithm (AES), being combined with a single mode of operation (CTR, CBC, GCM), and possibly with different padding requirements (PKCS#7, ANSI X9.23, Zeros, etc)

It may thus be desirable to define a single algorithm (AES), and have it take 'mode' as part of the parameters, along with any mode-specific parameters (eg: IV, counter size).

Received on Wednesday, 22 August 2012 21:22:05 UTC