diff options
Diffstat (limited to 'ext/ipp/sources/ippcp/src/pcphash_rmf.h')
-rw-r--r-- | ext/ipp/sources/ippcp/src/pcphash_rmf.h | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/ext/ipp/sources/ippcp/src/pcphash_rmf.h b/ext/ipp/sources/ippcp/src/pcphash_rmf.h deleted file mode 100644 index 7a8a3a7..0000000 --- a/ext/ipp/sources/ippcp/src/pcphash_rmf.h +++ /dev/null @@ -1,51 +0,0 @@ -/*############################################################################ - # Copyright 1999-2018 Intel Corporation - # - # Licensed under the Apache License, Version 2.0 (the "License"); - # you may not use this file except in compliance with the License. - # You may obtain a copy of the License at - # - # http://www.apache.org/licenses/LICENSE-2.0 - # - # Unless required by applicable law or agreed to in writing, software - # distributed under the License is distributed on an "AS IS" BASIS, - # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - # See the License for the specific language governing permissions and - # limitations under the License. - ############################################################################*/ - -/* -// Purpose: -// Cryptography Primitive. -// Security Hash Standard -// Internal Definitions and Internal Functions Prototypes -// -*/ - -#if !defined(_PCP_HASH_RMF_H) -#define _PCP_HASH_RMF_H - -#include "pcphash.h" -#include "pcphashmethod_rmf.h" - - -struct _cpHashCtx_rmf { - IppCtxId idCtx; /* hash identifier */ - const cpHashMethod_rmf* pMethod; /* hash methods */ - int msgBuffIdx; /* buffer index */ - Ipp8u msgBuffer[MBS_HASH_MAX]; /* buffer */ - Ipp64u msgLenLo; /* processed message */ - Ipp64u msgLenHi; /* length (bytes) */ - cpHash msgHash; /* hash value */ -}; - -/* accessors */ -#define HASH_CTX_ID(stt) ((stt)->idCtx) -#define HASH_METHOD(stt) ((stt)->pMethod) -#define HAHS_BUFFIDX(stt) ((stt)->msgBuffIdx) -#define HASH_BUFF(stt) ((stt)->msgBuffer) -#define HASH_LENLO(stt) ((stt)->msgLenLo) -#define HASH_LENHI(stt) ((stt)->msgLenHi) -#define HASH_VALUE(stt) ((stt)->msgHash) - -#endif /* __PCP_HASH_RMF_H */ |