Source
1
+
/* SPDX-License-Identifier: GPL-2.0 */
1
2
#ifndef __ATMEL_SHA_REGS_H__
2
3
#define __ATMEL_SHA_REGS_H__
3
4
4
5
#define SHA_REG_DIGEST(x) (0x80 + ((x) * 0x04))
5
6
#define SHA_REG_DIN(x) (0x40 + ((x) * 0x04))
6
7
7
8
#define SHA_CR 0x00
8
9
#define SHA_CR_START (1 << 0)
9
10
#define SHA_CR_FIRST (1 << 4)
10
11
#define SHA_CR_SWRST (1 << 8)