extend AES_ENCRYPT() and AES_DECRYPT() to support IV and the algorithm

Description

extend AES_ENCRYPT() and AES_DECRYPT() to support IV and the algorithm. Something like

1 AES_ENCRYPT(text, key, [IV [, algorithm]])

and @@block_encryption_mode variable as in 5.7

Environment

None

Status

Assignee

Unassigned

Reporter

Sergei Golubchik

Labels

External issue ID

None

External issue ID

None

Time tracking

16h

Fix versions

Priority

Major