Home
last modified time | relevance | path

Searched refs:msgLen (Results 1 – 25 of 29) sorted by relevance

12

/external/icu/icu4c/source/extra/uconv/
Duwmsg.c125 int32_t msgLen; in u_wmsg() local
141 msg = ures_getStringByKey(gBundle, tag, &msgLen, &err); in u_wmsg()
150 if((msgLen + resultLength) <= UPRV_LENGTHOF(result)) { in u_wmsg()
151 memcpy(result, msg, msgLen * U_SIZEOF_UCHAR); in u_wmsg()
152 memcpy(result + msgLen, gNoFormatting, resultLength); in u_wmsg()
153 resultLength += msgLen; in u_wmsg()
156 uprint(msg,msgLen, fp, &err); in u_wmsg()
161 resultLength = u_vformatMessage(uloc_getDefault(), msg, msgLen, result, resultLength, ap, &err); in u_wmsg()
174 uprint(msg,msgLen, fp, &err); in u_wmsg()
219 int32_t msgLen; in u_wmsg_errorName() local
[all …]
/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpsha512_messagedigest.c59 IppStatus cpSHA512MessageDigest(DigestSHA512 hash, const Ipp8u* pMsg, int msgLen, const DigestSHA51… in cpSHA512MessageDigest() argument
64 IPP_BADARG_RET((msgLen<0), ippStsLengthErr); in cpSHA512MessageDigest()
66 IPP_BADARG_RET((msgLen && !pMsg), ippStsNullPtrErr); in cpSHA512MessageDigest()
70 int msgLenBlks = msgLen & (-MBS_SHA512); in cpSHA512MessageDigest()
71 int msgLenRest = msgLen - msgLenBlks; in cpSHA512MessageDigest()
82 cpFinalizeSHA512(hash, pMsg, msgLenRest, msgLen, 0); in cpSHA512MessageDigest()
Dpcpsha256_messagedigest.c59 IppStatus cpSHA256MessageDigest(DigestSHA256 hash, const Ipp8u* pMsg, int msgLen, const DigestSHA25… in cpSHA256MessageDigest() argument
64 IPP_BADARG_RET((msgLen<0), ippStsLengthErr); in cpSHA256MessageDigest()
66 IPP_BADARG_RET((msgLen && !pMsg), ippStsNullPtrErr); in cpSHA256MessageDigest()
79 int msgLenBlks = msgLen & (-MBS_SHA256); in cpSHA256MessageDigest()
80 int msgLenRest = msgLen % MBS_SHA256; in cpSHA256MessageDigest()
98 cpFinalizeSHA256(hash, pMsg, msgLenRest, msgLen); in cpSHA256MessageDigest()
Dpcpgfpsetelemhashrmf.c89 IPPFUN(IppStatus, ippsGFpSetElementHash_rmf,(const Ipp8u* pMsg, int msgLen, IppsGFpElement* pElm, I…
95 IPP_BADARG_RET((msgLen<0), ippStsLengthErr);
96 IPP_BADARG_RET((msgLen && !pMsg), ippStsNullPtrErr);
110 IppStatus sts = ippsHashMessage_rmf(pMsg, msgLen, md, pMethod);
Dpcpgfpsetelemhash.c88 IPPFUN(IppStatus, ippsGFpSetElementHash,(const Ipp8u* pMsg, int msgLen, IppsGFpElement* pElm, IppsG…
95 IPP_BADARG_RET((msgLen<0), ippStsLengthErr);
96 IPP_BADARG_RET((msgLen && !pMsg), ippStsNullPtrErr);
110 IppStatus sts = ippsHashMessage(pMsg, msgLen, md, hashID);
Dpcpsha1stuff.h78 static void sha1_hashUpdate(void* pHash, const Ipp8u* pMsg, int msgLen) in sha1_hashUpdate() argument
80 UpdateSHA1(pHash, pMsg, msgLen, sha1_cnt); in sha1_hashUpdate()
84 static void sha1_ni_hashUpdate(void* pHash, const Ipp8u* pMsg, int msgLen) in sha1_ni_hashUpdate() argument
86 UpdateSHA1ni(pHash, pMsg, msgLen, sha1_cnt); in sha1_ni_hashUpdate()
Dpcpsha256stuff.h118 static void sha256_hashUpdate(void* pHash, const Ipp8u* pMsg, int msgLen) in sha256_hashUpdate() argument
120 UpdateSHA256(pHash, pMsg, msgLen, sha256_cnt); in sha256_hashUpdate()
123 static void sha256_ni_hashUpdate(void* pHash, const Ipp8u* pMsg, int msgLen) in sha256_ni_hashUpdate() argument
125 UpdateSHA256ni(pHash, pMsg, msgLen, sha256_cnt); in sha256_ni_hashUpdate()
195 IppStatus cpSHA256MessageDigest(DigestSHA256 hash, const Ipp8u* pMsg, int msgLen, const DigestSHA25…
Dpcpgfpecsetpointhash_rmf.c98 IPPFUN(IppStatus, ippsGFpECSetPointHash_rmf,(Ipp32u hdr, const Ipp8u* pMsg, int msgLen, IppsGFpECPo…
109 IPP_BADARG_RET((msgLen<0), ippStsLengthErr);
111 IPP_BADARG_RET((msgLen && !pMsg), ippStsNullPtrErr);
147 ippsHashUpdate_rmf(pMsg, msgLen, &hashCtx);
Dpcpgfpecsetpointhash.c97 IPPFUN(IppStatus, ippsGFpECSetPointHash,(Ipp32u hdr, const Ipp8u* pMsg, int msgLen, IppsGFpECPoint*…
109 IPP_BADARG_RET((msgLen<0), ippStsLengthErr);
111 IPP_BADARG_RET((msgLen && !pMsg), ippStsNullPtrErr);
147 ippsHashUpdate(pMsg, msgLen, &hashCtx);
Dpcpeccpverifynrca.c103 int msgLen; variable
121 msgLen = BN_SIZE(pMsgDigest);
122 IPP_BADARG_RET(0<=cpCmp_BNU(pMsgData, msgLen, pOrder, orderLen), ippStsMessageErr);
181 cpGFpElementCopyPadd(pH2, orderLen, pMsgData, msgLen);
Dpcpgfpecsigndsa.c167 int msgLen = BN_SIZE(pMsgDigest); variable
176 IPP_BADARG_RET(0<=cpCmp_BNU(pMsgData, msgLen, pOrder, ordLen), ippStsMessageErr);
209 COPY_BNU(buffMsg, pMsgData, msgLen);
210 ns = cpMod_BNU(buffMsg, msgLen, pOrder, ordLen);
Dpcpeccpverifysm2ca.c140 int msgLen = BN_SIZE(pMsgDigest); variable
143 IPP_BADARG_RET(0<=cpCmp_BNU(pMsgData, msgLen, pOrder, orderLen), ippStsMessageErr);
184 cpGFpElementCopyPadd(f, orderLen, pMsgData, msgLen);
Dpcpeccpsignnrca.c143 int msgLen = BN_SIZE(pMsgDigest); variable
149 IPP_BADARG_RET(0<=cpCmp_BNU(pMsgData, msgLen, pOrder, ordLen), ippStsMessageErr);
176 ZEXPAND_COPY_BNU(buffF, ordLen, pMsgData, msgLen);
Dpcpmd5stuff.h99 static void md5_hashUpdate(void* pHash, const Ipp8u* pMsg, int msgLen) in md5_hashUpdate() argument
101 UpdateMD5(pHash, pMsg, msgLen, md5_cnt); in md5_hashUpdate()
Dpcprsa_verifysing_pkcs1v15.h58 static int VerifySing(const Ipp8u* pMsg, int msgLen, /* message representation */ in VerifySing() argument
90 if (EMSA_PKCSv15(pMsg, msgLen, pSalt, saltLen, (Ipp8u*)(BN_NUMBER(&bnC)), k)) { in VerifySing()
Dpcpeccpsigndsaca.c143 int msgLen = BN_SIZE(pMsgDigest); variable
149 IPP_BADARG_RET(0<=cpCmp_BNU(pMsgData, msgLen, pOrder, ordLen), ippStsMessageErr);
184 ZEXPAND_COPY_BNU(buffF, ordLen, pMsgData, msgLen);
Dpcprsa_generatesing_pkcs1v15.h57 static int GenerateSing(const Ipp8u* pMsg, int msgLen, /* message representation */ in GenerateSing() argument
70 int result = EMSA_PKCSv15(pMsg, msgLen, pSalt, saltLen, pSign, k); in GenerateSing()
Dpcpsms4authccm.h59 Ipp64u msgLen; /* length of message to be processed */ member
79 #define SMS4CCM_MSGLEN(stt) ((stt)->msgLen)
Dpcpsm3stuff.h91 static void sm3_hashUpdate(void* pHash, const Ipp8u* pMsg, int msgLen) in sm3_hashUpdate() argument
93 UpdateSM3(pHash, pMsg, msgLen, sm3_cnt); in sm3_hashUpdate()
Dpcpgfpecsignnr.c166 int msgLen = BN_SIZE(pMsgDigest); variable
175 IPP_BADARG_RET(0<=cpCmp_BNU(pMsgData, msgLen, pOrder, ordLen), ippStsMessageErr);
200 ZEXPAND_COPY_BNU(buffF, ordLen, pMsgData, msgLen);
Dpcpaesauthccm.h60 Ipp64u msgLen; /* length of message to be processed */ member
80 #define AESCCM_MSGLEN(stt) ((stt)->msgLen)
Dpcpsha512stuff.h136 static void sha512_hashUpdate(void* pHash, const Ipp8u* pMsg, int msgLen) in sha512_hashUpdate() argument
138 UpdateSHA512(pHash, pMsg, msgLen, sha512_cnt); in sha512_hashUpdate()
196 IppStatus cpSHA512MessageDigest(DigestSHA512 hash, const Ipp8u* pMsg, int msgLen, const DigestSHA51…
Dpcphashmethod_rmf.h53 typedef void (*hashUpdateF)(void* pHash, const Ipp8u* pMsg, int msgLen);
/external/epid-sdk/ext/ipp/include/
Dippcp.h274 IPPAPI(IppStatus, ippsSMS4_CCMMessageLen,(Ipp64u msgLen, IppsSMS4_CCMState* pCtx))
292 IPPAPI(IppStatus, ippsAES_CCMMessageLen,(Ipp64u msgLen, IppsAES_CCMState* pState))
545 IPPAPI(IppStatus, ippsHMAC_Message,(const Ipp8u* pMsg, int msgLen,
563 IPPAPI(IppStatus, ippsHMACMessage_rmf,(const Ipp8u* pMsg, int msgLen,
771 IPPAPI(IppStatus, ippsRSASign_PSS,(const Ipp8u* pMsg, int msgLen,
779 IPPAPI(IppStatus, ippsRSAVerify_PSS,(const Ipp8u* pMsg, int msgLen,
786 IPPAPI(IppStatus, ippsRSASign_PSS_rmf,(const Ipp8u* pMsg, int msgLen,
794 IPPAPI(IppStatus, ippsRSAVerify_PSS_rmf,(const Ipp8u* pMsg, int msgLen,
802 IPPAPI(IppStatus, ippsRSASign_PKCS1v15,(const Ipp8u* pMsg, int msgLen,
809 IPPAPI(IppStatus, ippsRSAVerify_PKCS1v15,(const Ipp8u* pMsg, int msgLen,
[all …]
/external/libxml2/
Dxmlstring.c1007 size_t msgLen = 0; in xmlEscapeFormatString() local
1014 ++msgLen; in xmlEscapeFormatString()
1022 resultLen = msgLen + count + 1; in xmlEscapeFormatString()

12