Fixed typos inside the AES CBC256 crypto module

This commit is contained in:
Gu://em_ 2026-07-08 00:59:01 +02:00
parent ff60995aaa
commit 1b98394fe4
2 changed files with 2 additions and 6 deletions

View file

@ -1,7 +1,3 @@
// WARNING NOT FUNCTIONAL !!!
// This is just a draft
// TODO
///////////////// Imports ///////////////// Imports
// //
@ -73,5 +69,5 @@ test "AES encryption defaults" {
var data = [_]u8{ 1, 2, 3, 4 }; var data = [_]u8{ 1, 2, 3, 4 };
const key = [_]u8{ 1, 2, 3, 4 }; const key = [_]u8{ 1, 2, 3, 4 };
const iv = [_]u8{ 1, 2, 3, 4 }; const iv = [_]u8{ 1, 2, 3, 4 };
crypto.Aes.CBC_265.encrypt(&data, &key, &iv); crypto.aes_cbc256.encrypt(&data, &key, &iv);
} }

View file

@ -9,7 +9,7 @@ pub const CBC256_Implementation = struct {
}; };
// TODO // TODO
pub const CBC265_DefaultImplementation = struct { pub const CBC256_DefaultImplementation = struct {
// Zig stdlib seems to provide no support for AES CBC265 // Zig stdlib seems to provide no support for AES CBC265
// It may need some custom implementation or another library // It may need some custom implementation or another library