2 * Copyright (C) 2012-2017 ARM Limited or its affiliates.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, see <http://www.gnu.org/licenses/>.
20 #include "cc_crypto_ctx.h"
22 enum cc_hash_conf_pad {
23 HASH_PADDING_DISABLED = 0,
24 HASH_PADDING_ENABLED = 1,
25 HASH_DIGEST_RESULT_LITTLE_ENDIAN = 2,
26 HASH_CONFIG1_PADDING_RESERVE32 = S32_MAX,
29 enum cc_hash_cipher_pad {
32 HASH_CIPHER_DO_PADDING_RESERVE32 = S32_MAX,
35 #endif /*_HASH_DEFS_H_*/