Fixed typos inside the AES CBC256 crypto module
This commit is contained in:
parent
ff60995aaa
commit
1b98394fe4
2 changed files with 2 additions and 6 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue