core/crypto/aes: Use NIST terminology for the IV

This commit is contained in:
Yawning Angel
2024-08-10 18:32:37 +09:00
parent ac7f44b1b8
commit 708f053fe6
4 changed files with 40 additions and 40 deletions
+2 -2
View File
@@ -197,8 +197,8 @@ test_aes_ctr :: proc(t: ^testing.T, impl: aes.Implementation) {
ctx: aes.Context_CTR
key: [aes.KEY_SIZE_256]byte
nonce: [aes.CTR_IV_SIZE]byte
aes.init_ctr(&ctx, key[:], nonce[:], impl)
iv: [aes.CTR_IV_SIZE]byte
aes.init_ctr(&ctx, key[:], iv[:], impl)
h_ctx: sha2.Context_512
sha2.init_512_256(&h_ctx)