Home
last modified time | relevance | path

Searched refs:toLen (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/security/device_security_level/baselib/utils/src/
H A Dutils_base64.c68 …if (toLen >= (toLen * 4) || (toLen == 0)) { /* For integer overflow and toLen can not be 0, with… in Base64Encode()
72 if (toCheckLen < toLen) { in Base64Encode()
99 return toLen; in Base64Encode()
121 toLen--; in Base64Decode()
124 toLen--; in Base64Decode()
126 if (toCheckLen < toLen) { in Base64Decode()
147 if (j < toLen) { in Base64Decode()
150 if (j < toLen) { in Base64Decode()
153 if (j < toLen) { in Base64Decode()
157 to[toLen] = '\0'; in Base64Decode()
[all …]
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/src/
H A Dopenssl_adapter.c65 int OpensslBn2BinPad(const BIGNUM *a, unsigned char *to, int toLen) in OpensslBn2BinPad() argument
67 return BN_bn2binpad(a, to, toLen); in OpensslBn2BinPad()
70 int OpensslBn2LeBinPad(const BIGNUM *a, unsigned char *to, int toLen) in OpensslBn2LeBinPad() argument
72 return BN_bn2lebinpad(a, to, toLen); in OpensslBn2LeBinPad()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dcallbacks.h355 IN FILLP_SIZE_T toLen);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Dcallbacks.c1187 IN const void *to, IN FILLP_SIZE_T toLen) in FillpFuncSendTo() argument
1190 return (FILLP_INT)sendto(sockFd, buf, (FILLP_INT)len, flags, to, (socklen_t)toLen); in FillpFuncSendTo()
1192 return (FILLP_INT)sendto(sockFd, buf, len, flags, to, (socklen_t)toLen); in FillpFuncSendTo()
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
H A Dopenssl_adapter.h51 int OpensslBn2BinPad(const BIGNUM *a, unsigned char *to, int toLen);
52 int OpensslBn2LeBinPad(const BIGNUM *a, unsigned char *to, int toLen);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/include/
H A Dfillpcallbacks.h605 IN FILLP_SIZE_T len, IN FILLP_INT flags, IN FILLP_CONST void *to, IN FILLP_SIZE_T toLen);
/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dopenssl_adapter_mock.c122 int OpensslBn2BinPad(const BIGNUM *a, unsigned char *to, int toLen) in OpensslBn2BinPad() argument
127 return BN_bn2binpad(a, to, toLen); in OpensslBn2BinPad()