Home
last modified time | relevance | path

Searched refs:dstLen (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/oss/src/encryption/
A DCipherOpenssl.cc76 int SymmetricCipherOpenssl::Encrypt(unsigned char* dst, int dstLen, const unsigned char* src, int s… in Encrypt() argument
82 if (!EVP_EncryptUpdate(encryptCtx_, dst, &dstLen, src, srcLen)) { in Encrypt()
86 return dstLen; in Encrypt()
126 int SymmetricCipherOpenssl::Decrypt(unsigned char * dst, int dstLen, const unsigned char* src, int … in Decrypt() argument
132 if (!EVP_DecryptUpdate(decryptCtx_, dst, &dstLen, (const unsigned char *)src, srcLen)) { in Decrypt()
136 return dstLen; in Decrypt()
A DCipherOpenssl.h33 virtual int Encrypt(unsigned char * dst, int dstLen, const unsigned char* src, int srcLen);
38 virtual int Decrypt(unsigned char * dst, int dstLen, const unsigned char* src, int srcLen);
/AliOS-Things-master/components/oss/include/alibabacloud/oss/encryption/
A DCipher.h61 … virtual int Encrypt(unsigned char * dst, int dstLen, const unsigned char* src, int srcLen) = 0;
66 … virtual int Decrypt(unsigned char * dst, int dstLen, const unsigned char* src, int srcLen) = 0;

Completed in 5 milliseconds