Home
last modified time | relevance | path

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

/base/security/huks/frameworks/crypto_lite/cipher/src/
Dcipher_aes.c45 int32_t padLen = data[dataLen - 1]; in UnpaddingPkcs5() local
47 if (padLen <= 0 || padLen >= AES_BLOCK_SIZE) { in UnpaddingPkcs5()
51 for (int32_t i = 0; i < padLen; i++) { in UnpaddingPkcs5()
52 if (data[dataLen - 1 - i] != padLen) { in UnpaddingPkcs5()
57 return (dataLen - padLen); in UnpaddingPkcs5()
/base/hiviewdfx/hilog_lite/frameworks/featured/
Dhiview_log.c282 #define SECUREC_SAFE_PADDING(padChar, padLen, _stream, outChars) \ argument
284 for (ii = 0; ii < padLen; ++ii) { \
288 _stream->count -= padLen * (int)(sizeof(SecChar)); \
289 *(outChars) = *(outChars) + (padLen); \
/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/
Doutput_p.inl122 #define SECUREC_SAFE_PADDING(padChar, padLen, _stream, outChars) do { \ argument
123 for (ii = 0; ii < padLen; ++ii) { \
127 _stream->count -= padLen * (int)(sizeof(SecChar)); \
128 *(outChars) = *(outChars) + (padLen); \