/external/epid-sdk/ext/ipp/sources/ippcp/ |
pcphashfinal_rmf.c | 66 // pState == NULL 67 // ippStsContextMatchErr pState->idCtx != idCtxHash 72 // pState pointer to the SHS state 75 IPPFUN(IppStatus, ippsHashFinal_rmf,(Ipp8u* pMD, IppsHashState_rmf* pState)) 78 IPP_BAD_PTR2_RET(pMD, pState); 79 pState= (IppsHashState_rmf*)( IPP_ALIGNED_PTR(pState, HASH_ALIGNMENT) ); 80 IPP_BADARG_RET(idCtxHash !=HASH_CTX_ID(pState), ippStsContextMatchErr); 83 const IppsHashMethod* method = HASH_METHOD(pState); 85 cpFinalize_rmf(HASH_VALUE(pState), [all...] |
pcpsha512_init.c | 59 IppStatus InitSHA512(IppsSHA512State* pState, const DigestSHA512 IV) 62 IPP_BAD_PTR1_RET(pState); 63 pState = (IppsSHA512State*)( IPP_ALIGNED_PTR(pState, SHA512_ALIGNMENT) ); 66 HASH_CTX_ID(pState) = idCtxSHA512; 68 HASH_LENLO(pState) = 0; 69 HASH_LENHI(pState) = 0; 71 HAHS_BUFFIDX(pState) = 0; 73 hashInit(HASH_VALUE(pState), IV);
|
pcphashinit_rmf.c | 64 // ippStsNullPtrErr pState == NULL 69 // pState pointer to the Hash state 73 IPPFUN(IppStatus, ippsHashInit_rmf,(IppsHashState_rmf* pState, const IppsHashMethod* pMethod)) 76 IPP_BAD_PTR2_RET(pState, pMethod); 77 pState= (IppsHashState_rmf*)( IPP_ALIGNED_PTR(pState, HASH_ALIGNMENT) ); 79 PaddBlock(0, pState, sizeof(IppsHashState_rmf)); 80 HASH_METHOD(pState) = pMethod; 81 HASH_CTX_ID(pState) = idCtxHash; 82 pMethod->hashInit(HASH_VALUE(pState)); [all...] |
pcpsha224init.c | 65 // ippStsNullPtrErr pState == NULL 69 // pState pointer to the SHA224 state 73 IPPFUN(IppStatus, ippsSHA224Init,(IppsSHA224State* pState)) 75 return InitSHA256(pState, sha224_iv);
|
pcpsha256init.c | 65 // ippStsNullPtrErr pState == NULL 69 // pState pointer to the SHA256 state 72 IPPFUN(IppStatus, ippsSHA256Init,(IppsSHA256State* pState)) 74 return InitSHA256(pState, sha256_iv);
|
pcpsha384init.c | 65 // ippStsNullPtrErr pState == NULL 69 // pState pointer to the SHA384 state 73 IPPFUN(IppStatus, ippsSHA384Init,(IppsSHA384State* pState)) 75 return InitSHA512(pState, sha512_384_iv);
|
pcpsha512init.c | 65 // ippStsNullPtrErr pState == NULL 69 // pState pointer to the SHA512 state 72 IPPFUN(IppStatus, ippsSHA512Init,(IppsSHA512State* pState)) 74 return InitSHA512(pState, sha512_iv);
|
pcpsha256final.c | 67 // pState == NULL 68 // ippStsContextMatchErr pState->idCtx != idCtxSHA256 73 // pState pointer to the SHA256 state 76 IPPFUN(IppStatus, ippsSHA256Final,(Ipp8u* pMD, IppsSHA256State* pState)) 79 IPP_BAD_PTR1_RET(pState); 80 pState = (IppsSHA256State*)( IPP_ALIGNED_PTR(pState, SHA256_ALIGNMENT) ); 81 IPP_BADARG_RET(idCtxSHA256 !=HASH_CTX_ID(pState), ippStsContextMatchErr); 86 cpFinalizeSHA256(HASH_VALUE(pState), HASH_BUFF(pState), HAHS_BUFFIDX(pState), HASH_LENLO(pState)) [all...] |
pcpsha256unpack.c | 64 // ippStsNullPtrErr pState == NULL 70 // pState pointer hash state 73 IPPFUN(IppStatus, ippsSHA256Unpack,(const Ipp8u* pBuffer, IppsSHA256State* pState)) 76 IPP_BAD_PTR2_RET(pState, pBuffer); 77 pState = (IppsSHA256State*)( IPP_ALIGNED_PTR(pState, SHA256_ALIGNMENT) ); 79 CopyBlock(pBuffer, pState, sizeof(IppsSHA256State));
|
pcpsha384final.c | 66 // pState == NULL 67 // ippStsContextMatchErr pState->idCtx != idCtxSHA512 72 // pState pointer to the SHA384 state 76 IPPFUN(IppStatus, ippsSHA384Final,(Ipp8u* pMD, IppsSHA384State* pState)) 79 IPP_BAD_PTR1_RET(pState); 80 pState = (IppsSHA512State*)( IPP_ALIGNED_PTR(pState, SHA512_ALIGNMENT) ); 81 IPP_BADARG_RET(idCtxSHA512 !=HASH_CTX_ID(pState), ippStsContextMatchErr); 86 cpFinalizeSHA512(HASH_VALUE(pState), 87 HASH_BUFF(pState), HAHS_BUFFIDX(pState) [all...] |
pcpsha512unpack.c | 64 // ippStsNullPtrErr pState == NULL 70 // pState pointer hash state 73 IPPFUN(IppStatus, ippsSHA512Unpack,(const Ipp8u* pBuffer, IppsSHA512State* pState)) 76 IPP_BAD_PTR2_RET(pState, pBuffer); 77 pState = (IppsSHA512State*)( IPP_ALIGNED_PTR(pState, SHA512_ALIGNMENT) ); 79 CopyBlock(pBuffer, pState, sizeof(IppsSHA512State));
|
pcpsha224final.c | 66 // pState == NULL 67 // ippStsContextMatchErr pState->idCtx != idCtxSHA256 72 // pState pointer to the SHA224 state 76 IPPFUN(IppStatus, ippsSHA224Final,(Ipp8u* pMD, IppsSHA224State* pState)) 79 IPP_BAD_PTR1_RET(pState); 80 pState = (IppsSHA256State*)( IPP_ALIGNED_PTR(pState, SHA256_ALIGNMENT) ); 81 IPP_BADARG_RET(idCtxSHA256 !=HASH_CTX_ID(pState), ippStsContextMatchErr); 86 cpFinalizeSHA256(HASH_VALUE(pState), HASH_BUFF(pState), HAHS_BUFFIDX(pState), HASH_LENLO(pState)) [all...] |
pcpsha1init.c | 65 // ippStsNullPtrErr pState == NULL 69 // pState pointer to the SHA1 state 72 IPPFUN(IppStatus, ippsSHA1Init,(IppsSHA1State* pState)) 75 IPP_BAD_PTR1_RET(pState); 76 pState = (IppsSHA1State*)( IPP_ALIGNED_PTR(pState, SHA1_ALIGNMENT) ); 78 PaddBlock(0, pState, sizeof(IppsSHA1State)); 79 HASH_CTX_ID(pState) = idCtxSHA1; 80 sha1_hashInit(HASH_VALUE(pState));
|
pcphashgettag_rmf.c | 67 // pState == NULL 68 // ippStsContextMatchErr pState->idCtx != idCtxHash 75 // pState pointer to the SHS state 78 IPPFUN(IppStatus, ippsHashGetTag_rmf,(Ipp8u* pTag, int tagLen, const IppsHashState_rmf* pState)) 81 IPP_BAD_PTR1_RET(pState); 82 pState = (IppsHashState_rmf*)( IPP_ALIGNED_PTR(pState, HASH_ALIGNMENT) ); 83 IPP_BADARG_RET(idCtxHash !=HASH_CTX_ID(pState), ippStsContextMatchErr); 87 IPP_BADARG_RET((tagLen <1) || HASH_METHOD(pState)->hashLen<tagLen, ippStsLengthErr); 91 const IppsHashMethod* method = HASH_METHOD(pState); [all...] |
pcpsha1final.c | 66 // pState == NULL 67 // ippStsContextMatchErr pState->idCtx != idCtxSHA1 72 // pState pointer to the SHS state 75 IPPFUN(IppStatus, ippsSHA1Final,(Ipp8u* pMD, IppsSHA1State* pState)) 78 IPP_BAD_PTR1_RET(pState); 79 pState = (IppsSHA1State*)( IPP_ALIGNED_PTR(pState, SHA1_ALIGNMENT) ); 80 IPP_BADARG_RET(idCtxSHA1 !=HASH_CTX_ID(pState), ippStsContextMatchErr); 85 cpFinalizeSHA1(HASH_VALUE(pState), HASH_BUFF(pState), HAHS_BUFFIDX(pState), HASH_LENLO(pState)) [all...] |
pcpgfpecessm2.h | 78 __INLINE Ipp8u cpECES_SM2KdfNextByte(IppsECESState_SM2* pState) { 79 if (pState->kdfIndex == IPP_SM3_DIGEST_BITSIZE / BYTESIZE) { 80 ++pState->kdfCounter; 81 pState->kdfIndex = 0; 85 ippsHashUpdate_rmf(pState->pSharedSecret, pState->sharedSecretLen, pState->pKdfHasher); 86 U32_TO_HSTRING(ctnStr, pState->kdfCounter); 87 ippsHashUpdate_rmf(ctnStr, sizeof(Ipp32u), pState->pKdfHasher); 88 ippsHashFinal_rmf(pState->pKdfWindow, pState->pKdfHasher) [all...] |
pcpsha224pack.c | 64 // ippStsNullPtrErr pState == NULL 69 // pState pointer to the hash state 74 IPPFUN(IppStatus, ippsSHA224Pack,(const IppsSHA224State* pState, Ipp8u* pBuffer)) 76 return ippsSHA256Pack(pState, pBuffer);
|
pcpsha224unpack.c | 64 // ippStsNullPtrErr pState == NULL 70 // pState pointer hash state 74 IPPFUN(IppStatus, ippsSHA224Unpack,(const Ipp8u* pBuffer, IppsSHA224State* pState)) 76 return ippsSHA256Unpack(pBuffer, pState);
|
pcpsha384pack.c | 64 // ippStsNullPtrErr pState == NULL 66 // ippStsContextMatchErr pState->idCtx != idCtxSHA512 70 // pState pointer hash state 74 IPPFUN(IppStatus, ippsSHA384Pack,(const IppsSHA384State* pState, Ipp8u* pBuffer)) 76 return ippsSHA512Pack(pState, pBuffer);
|
pcpsha384unpack.c | 64 // ippStsNullPtrErr pState == NULL 70 // pState pointer hash state 74 IPPFUN(IppStatus, ippsSHA384Unpack,(const Ipp8u* pBuffer, IppsSHA384State* pState)) 76 return ippsSHA512Unpack(pBuffer, pState);
|
pcphashfinal.c | 66 // pState == NULL 67 // ippStsContextMatchErr pState->idCtx != idCtxHash 72 // pState pointer to the SHS state 75 IPPFUN(IppStatus, ippsHashFinal,(Ipp8u* pMD, IppsHashState* pState)) 78 IPP_BAD_PTR2_RET(pMD, pState); 80 IPP_BADARG_RET(!HASH_VALID_ID(pState), ippStsContextMatchErr); 83 IppHashAlgId algID = HASH_ALG_ID(pState); 86 cpComputeDigest(pMD, hashSize, pState); 87 cpReInitHash(pState, algID);
|
pcphashpack_rmf.c | 64 // ippStsNullPtrErr pState == NULL 66 // ippStsContextMatchErr pState->idCtx != idCtxHash 71 // pState pointer hash state 76 IPPFUN(IppStatus, ippsHashPack_rmf,(const IppsHashState_rmf* pState, Ipp8u* pBuffer, int bufSize)) 79 IPP_BAD_PTR2_RET(pState, pBuffer); 80 pState= (IppsHashState_rmf*)( IPP_ALIGNED_PTR(pState, HASH_ALIGNMENT) ); 81 IPP_BADARG_RET(idCtxHash !=HASH_CTX_ID(pState), ippStsContextMatchErr); 85 CopyBlock(pState, pBuffer, sizeof(IppsHashState_rmf));
|
pcpsha1pack.c | 65 // ippStsContextMatchErr pState->idCtx != idCtxSHA1 69 // pState pointer to the hash state 73 IPPFUN(IppStatus, ippsSHA1Pack,(const IppsSHA1State* pState, Ipp8u* pBuffer)) 76 IPP_BAD_PTR2_RET(pState, pBuffer); 77 pState = (IppsSHA1State*)( IPP_ALIGNED_PTR(pState, SHA1_ALIGNMENT) ); 78 IPP_BADARG_RET(idCtxSHA1 !=HASH_CTX_ID(pState), ippStsContextMatchErr); 80 CopyBlock(pState, pBuffer, sizeof(IppsSHA1State));
|
pcpsha256pack.c | 64 // ippStsNullPtrErr pState == NULL 69 // pState pointer to the hash state 73 IPPFUN(IppStatus, ippsSHA256Pack,(const IppsSHA256State* pState, Ipp8u* pBuffer)) 76 IPP_BAD_PTR2_RET(pState, pBuffer); 77 pState = (IppsSHA256State*)( IPP_ALIGNED_PTR(pState, SHA256_ALIGNMENT) ); 78 IPP_BADARG_RET(idCtxSHA256 !=HASH_CTX_ID(pState), ippStsContextMatchErr); 80 CopyBlock(pState, pBuffer, sizeof(IppsSHA256State));
|
pcpsha512pack.c | 64 // ippStsNullPtrErr pState == NULL 66 // ippStsContextMatchErr pState->idCtx != idCtxSHA512 70 // pState pointer hash state 74 IPPFUN(IppStatus, ippsSHA512Pack,(const IppsSHA512State* pState, Ipp8u* pBuffer)) 77 IPP_BAD_PTR2_RET(pState, pBuffer); 78 pState = (IppsSHA512State*)( IPP_ALIGNED_PTR(pState, SHA512_ALIGNMENT) ); 79 IPP_BADARG_RET(idCtxSHA512 !=HASH_CTX_ID(pState), ippStsContextMatchErr); 81 CopyBlock(pState, pBuffer, sizeof(IppsSHA512State));
|