Lines Matching +full:inline +full:- +full:crypto +full:- +full:engine

1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Antoine Tenart <antoine.tenart@free-electrons.com>
11 #include <crypto/aead.h>
12 #include <crypto/algapi.h>
13 #include <crypto/internal/hash.h>
14 #include <crypto/sha1.h>
15 #include <crypto/sha2.h>
16 #include <crypto/sha3.h>
17 #include <crypto/skcipher.h>
58 /* Custom on-stack requests (for invalidation) */
91 #define EIP197_HIA_AIC(priv) ((priv)->base + (priv)->offsets.hia_aic)
92 #define EIP197_HIA_AIC_G(priv) ((priv)->base + (priv)->offsets.hia_aic_g)
93 #define EIP197_HIA_AIC_R(priv) ((priv)->base + (priv)->offsets.hia_aic_r)
94 #define EIP197_HIA_AIC_xDR(priv) ((priv)->base + (priv)->offsets.hia_aic_xdr)
95 #define EIP197_HIA_DFE(priv) ((priv)->base + (priv)->offsets.hia_dfe)
96 #define EIP197_HIA_DFE_THR(priv) ((priv)->base + (priv)->offsets.hia_dfe_thr)
97 #define EIP197_HIA_DSE(priv) ((priv)->base + (priv)->offsets.hia_dse)
98 #define EIP197_HIA_DSE_THR(priv) ((priv)->base + (priv)->offsets.hia_dse_thr)
99 #define EIP197_HIA_GEN_CFG(priv) ((priv)->base + (priv)->offsets.hia_gen_cfg)
100 #define EIP197_PE(priv) ((priv)->base + (priv)->offsets.pe)
101 #define EIP197_GLOBAL(priv) ((priv)->base + (priv)->offsets.global)
156 #define EIP197_HIA_AIC_R_ENABLE_CTRL(r) (0xe008 - EIP197_HIA_AIC_R_OFF(r))
157 #define EIP197_HIA_AIC_R_ENABLED_STAT(r) (0xe010 - EIP197_HIA_AIC_R_OFF(r))
158 #define EIP197_HIA_AIC_R_ACK(r) (0xe010 - EIP197_HIA_AIC_R_OFF(r))
159 #define EIP197_HIA_AIC_R_ENABLE_CLR(r) (0xe014 - EIP197_HIA_AIC_R_OFF(r))
160 #define EIP197_HIA_AIC_R_VERSION(r) (0xe01c - EIP197_HIA_AIC_R_OFF(r))
196 /* EIP197-specific registers, no indirection */
458 /* The hash counter given to the engine in the context has a granularity of
566 static inline void eip197_noop_token(struct safexcel_token *token) in eip197_noop_token()
568 token->opcode = EIP197_TOKEN_OPCODE_NOOP; in eip197_noop_token()
569 token->packet_length = BIT(2); in eip197_noop_token()
570 token->stat = 0; in eip197_noop_token()
571 token->instructions = 0; in eip197_noop_token()
584 /* Processing Engine Control Data */
704 /* result ring crypto API request */
711 /* Number of requests in the engine. */
922 inline struct crypto_async_request *