Hi, @Subbiah Senguttuvan (XC-AN/EPA1)
Welcome to Microsoft Q&A!
AES-GCM iv size is 12. Other IV lengths will require additional calculations.
https://crypto.stackexchange.com/questions/41601/aes-gcm-recommended-iv-size-why-12-bytes.
And see the discussion: https://github.com/v2ray/v2ray-core/issues/2130.
If you want 16b IV, it's recommended to use CBC mode. Please refer to Encrypting Data with CNG.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.