From ec04a1a85c5acdcc37cd671cbe7d50455f64bb8f Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Thu, 1 Aug 2024 00:54:32 +0800 Subject: [PATCH] fixup! fixup! fixup! Support cryptography module --- src/modules/crypto/crypto_adaptors/tongsuo_adaptor.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/modules/crypto/crypto_adaptors/tongsuo_adaptor.rs b/src/modules/crypto/crypto_adaptors/tongsuo_adaptor.rs index 3360357..3906f60 100644 --- a/src/modules/crypto/crypto_adaptors/tongsuo_adaptor.rs +++ b/src/modules/crypto/crypto_adaptors/tongsuo_adaptor.rs @@ -5,12 +5,6 @@ use crate::modules::crypto::{AEADCipher, AESKeySize, BlockCipher, CipherMode, AE use openssl::symm::{Cipher, Crypter, Mode, encrypt, encrypt_aead, decrypt, decrypt_aead}; use openssl::rand::rand_priv_bytes; use crate::modules::crypto::SM4; -use crate::modules::crypto::crypto_adaptors::common::{ - common_set_aad, - common_get_tag, - common_set_tag, - common_aes_new, -}; pub struct AdaptorCTX { ctx: Crypter,