feat: add gcm semantic to b2p and p2b

This commit is contained in:
0xalivecow 2024-11-01 21:20:46 +01:00
parent 28a8753d55
commit 8db0bbaa63
No known key found for this signature in database
9 changed files with 299 additions and 206 deletions

View file

@ -3,7 +3,7 @@ use std::io::BufRead;
use anyhow::Result;
use openssl::symm::{Cipher, Crypter, Mode};
use crate::utils::math::ByteArray;
use crate::utils::field::ByteArray;
use super::math::xor_bytes;