xref: /xnu-8796.121.2/EXTERNAL_HEADERS/corecrypto/ccmd4.h (revision c54f35ca767986246321eb901baf8f5ff7923f6a)
1*c54f35caSApple OSS Distributions /* Copyright (c) (2010,2015,2017,2018,2019) Apple Inc. All rights reserved.
2*c54f35caSApple OSS Distributions  *
3*c54f35caSApple OSS Distributions  * corecrypto is licensed under Apple Inc.’s Internal Use License Agreement (which
4*c54f35caSApple OSS Distributions  * is contained in the License.txt file distributed with corecrypto) and only to
5*c54f35caSApple OSS Distributions  * people who accept that license. IMPORTANT:  Any license rights granted to you by
6*c54f35caSApple OSS Distributions  * Apple Inc. (if any) are limited to internal use within your organization only on
7*c54f35caSApple OSS Distributions  * devices and computers you own or control, for the sole purpose of verifying the
8*c54f35caSApple OSS Distributions  * security characteristics and correct functioning of the Apple Software.  You may
9*c54f35caSApple OSS Distributions  * not, directly or indirectly, redistribute the Apple Software or any portions thereof.
10*c54f35caSApple OSS Distributions  */
11*c54f35caSApple OSS Distributions 
12*c54f35caSApple OSS Distributions #ifndef _CORECRYPTO_CCMD4_H_
13*c54f35caSApple OSS Distributions #define _CORECRYPTO_CCMD4_H_
14*c54f35caSApple OSS Distributions 
15*c54f35caSApple OSS Distributions #include <corecrypto/ccdigest.h>
16*c54f35caSApple OSS Distributions 
17*c54f35caSApple OSS Distributions #define CCMD4_BLOCK_SIZE   64
18*c54f35caSApple OSS Distributions #define CCMD4_OUTPUT_SIZE  16
19*c54f35caSApple OSS Distributions #define CCMD4_STATE_SIZE   16
20*c54f35caSApple OSS Distributions 
21*c54f35caSApple OSS Distributions extern const struct ccdigest_info ccmd4_ltc_di;
22*c54f35caSApple OSS Distributions 
23*c54f35caSApple OSS Distributions /* default is libtomcrypt */
24*c54f35caSApple OSS Distributions #define ccmd4_di ccmd4_ltc_di
25*c54f35caSApple OSS Distributions 
26*c54f35caSApple OSS Distributions #endif /* _CORECRYPTO_CCMD4_H_ */
27