Home
last modified time | relevance | path

Searched refs:SymmetricCipher (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/components/oss/src/encryption/
A DCipher.cc40 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 DCryptoStreamBuf.h31 const std::shared_ptr<SymmetricCipher>& cipher,
43 std::shared_ptr<SymmetricCipher> cipher_;
A DCryptoModule.cc292 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 DCipherOpenssl.h25 class SymmetricCipherOpenssl : public SymmetricCipher
A DCryptoStreamBuf.cc25 const std::shared_ptr<SymmetricCipher>& cipher, in CryptoStreamBuf()
69 auto iv = SymmetricCipher::IncCTRCounter(iv_, blkOff); in xsgetn()
A DCryptoModule.h60 std::shared_ptr<SymmetricCipher> cipher_;
A DCipherOpenssl.cc28 SymmetricCipher("openssl-impl", algo, mode, pad), in SymmetricCipherOpenssl()
/AliOS-Things-master/components/oss/include/alibabacloud/oss/encryption/
A DCipher.h46 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();
78SymmetricCipher(const std::string& impl, CipherAlgorithm algo, CipherMode mode, CipherPadding pad);

Completed in 7 milliseconds