5 #ifndef OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_RSA_RSA_DATATYPES_H_
6 #define OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_RSA_RSA_DATATYPES_H_
12 #include "sw/device/lib/crypto/impl/status.h"
20 kRsa2048NumBits = 2048,
22 kRsa2048NumBytes = kRsa2048NumBits / 8,
24 kRsa2048NumWords = kRsa2048NumBytes /
sizeof(uint32_t),
26 kRsa3072NumBits = 3072,
28 kRsa3072NumBytes = kRsa3072NumBits / 8,
30 kRsa3072NumWords = kRsa3072NumBytes /
sizeof(uint32_t),
32 kRsa4096NumBits = 4096,
34 kRsa4096NumBytes = kRsa4096NumBits / 8,
36 kRsa4096NumWords = kRsa4096NumBytes /
sizeof(uint32_t),
46 uint32_t data[kRsa2048NumWords];
56 uint32_t data[kRsa3072NumWords];
66 uint32_t data[kRsa4096NumWords];
138 uint32_t data[kRsa2048NumWords / 2];
147 uint32_t data[kRsa3072NumWords / 2];
156 uint32_t data[kRsa4096NumWords / 2];
161 #endif // __cplusplus
163 #endif // OPENTITAN_SW_DEVICE_LIB_CRYPTO_IMPL_RSA_RSA_DATATYPES_H_