refactor(src/common): remove unused imports (#19506)
* refactor(src/common): remove unused imports * fix: build * chore: fix build * chore: size_t -> std::size_t * chore: fix fuckup from previous commit * chore: fix build * chore: fix build * chore: fix build * chore: fix build with std::size_t * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build
This commit is contained in:
parent
06a608d244
commit
02a05fbd4c
200 changed files with 522 additions and 581 deletions
|
|
@ -40,7 +40,7 @@ Acore::Crypto::ARC4::~ARC4()
|
|||
#endif
|
||||
}
|
||||
|
||||
void Acore::Crypto::ARC4::Init(uint8 const* seed, size_t len)
|
||||
void Acore::Crypto::ARC4::Init(uint8 const* seed, std::size_t len)
|
||||
{
|
||||
int result1 = EVP_CIPHER_CTX_set_key_length(_ctx, len);
|
||||
ASSERT(result1 == 1);
|
||||
|
|
@ -48,7 +48,7 @@ void Acore::Crypto::ARC4::Init(uint8 const* seed, size_t len)
|
|||
ASSERT(result2 == 1);
|
||||
}
|
||||
|
||||
void Acore::Crypto::ARC4::UpdateData(uint8* data, size_t len)
|
||||
void Acore::Crypto::ARC4::UpdateData(uint8* data, std::size_t len)
|
||||
{
|
||||
int outlen = 0;
|
||||
int result1 = EVP_EncryptUpdate(_ctx, data, &outlen, data, len);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue