Searched refs:SymmetricCipher (Results 1 – 8 of 8) sorted by relevance
/AliOS-Things-master/components/oss/src/encryption/ |
A D | Cipher.cc | 40 SymmetricCipher::SymmetricCipher(const std::string& impl, CipherAlgorithm algo, CipherMode mode, Ci… in SymmetricCipher() function in SymmetricCipher 54 ByteBuffer SymmetricCipher::GenerateIV(size_t length) in GenerateIV() 62 ByteBuffer SymmetricCipher::GenerateKey(size_t length) in GenerateKey() 78 ByteBuffer SymmetricCipher::IncCTRCounter(const ByteBuffer& counter, uint64_t numberOfBlocks) in IncCTRCounter() 96 std::shared_ptr<SymmetricCipher> SymmetricCipher::CreateAES128_CTRImpl() in CreateAES128_CTRImpl() 102 std::shared_ptr<SymmetricCipher> SymmetricCipher::CreateAES128_CBCImpl() in CreateAES128_CBCImpl() 108 std::shared_ptr<SymmetricCipher> SymmetricCipher::CreateAES256_CTRImpl() in CreateAES256_CTRImpl()
|
A D | CryptoStreamBuf.h | 31 const std::shared_ptr<SymmetricCipher>& cipher, 43 std::shared_ptr<SymmetricCipher> cipher_;
|
A D | CryptoModule.cc | 292 cipher_ = SymmetricCipher::CreateAES256_CTRImpl(); in initEncryptionCipher() 298 content.setContentKey(SymmetricCipher::GenerateKey(32)); in generateKeyIV() 299 auto iv = SymmetricCipher::GenerateIV(16); in generateKeyIV() 307 cipher_ = SymmetricCipher::CreateAES256_CTRImpl(); in initDecryptionCipher()
|
A D | CipherOpenssl.h | 25 class SymmetricCipherOpenssl : public SymmetricCipher
|
A D | CryptoStreamBuf.cc | 25 const std::shared_ptr<SymmetricCipher>& cipher, in CryptoStreamBuf() 69 auto iv = SymmetricCipher::IncCTRCounter(iv_, blkOff); in xsgetn()
|
A D | CryptoModule.h | 60 std::shared_ptr<SymmetricCipher> cipher_;
|
A D | CipherOpenssl.cc | 28 SymmetricCipher("openssl-impl", algo, mode, pad), in SymmetricCipherOpenssl()
|
/AliOS-Things-master/components/oss/include/alibabacloud/oss/encryption/ |
A D | Cipher.h | 46 class ALIBABACLOUD_OSS_EXPORT SymmetricCipher 49 virtual ~SymmetricCipher() {}; in ~SymmetricCipher() 74 static std::shared_ptr<SymmetricCipher> CreateAES128_CTRImpl(); 75 static std::shared_ptr<SymmetricCipher> CreateAES128_CBCImpl(); 76 static std::shared_ptr<SymmetricCipher> CreateAES256_CTRImpl(); 78 …SymmetricCipher(const std::string& impl, CipherAlgorithm algo, CipherMode mode, CipherPadding pad);
|
Completed in 7 milliseconds