Searched refs:crypto_authenc_ctx (Results 1 – 9 of 9) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | ccm.c | 21 struct crypto_authenc_ctx aectx; 28 TEE_Result crypto_aes_ccm_alloc_ctx(struct crypto_authenc_ctx **ctx_ret) in crypto_aes_ccm_alloc_ctx() 40 static struct tee_ccm_state *to_tee_ccm_state(struct crypto_authenc_ctx *aectx) in to_tee_ccm_state() 47 static void crypto_aes_ccm_free_ctx(struct crypto_authenc_ctx *aectx) in crypto_aes_ccm_free_ctx() 52 static void crypto_aes_ccm_copy_state(struct crypto_authenc_ctx *dst_aectx, in crypto_aes_ccm_copy_state() 53 struct crypto_authenc_ctx *src_aectx) in crypto_aes_ccm_copy_state() 62 static TEE_Result crypto_aes_ccm_init(struct crypto_authenc_ctx *aectx, in crypto_aes_ccm_init() 110 static TEE_Result crypto_aes_ccm_update_aad(struct crypto_authenc_ctx *aectx, in crypto_aes_ccm_update_aad() 125 crypto_aes_ccm_update_payload(struct crypto_authenc_ctx *aectx, in crypto_aes_ccm_update_payload() 151 static TEE_Result crypto_aes_ccm_enc_final(struct crypto_authenc_ctx *aectx, in crypto_aes_ccm_enc_final() [all …]
|
A D | gcm.c | 18 struct crypto_authenc_ctx aectx; 25 static struct tee_gcm_state *to_tee_gcm_state(struct crypto_authenc_ctx *aectx) in to_tee_gcm_state() 32 TEE_Result crypto_aes_gcm_alloc_ctx(struct crypto_authenc_ctx **ctx_ret) in crypto_aes_gcm_alloc_ctx() 45 static void crypto_aes_gcm_free_ctx(struct crypto_authenc_ctx *aectx) in crypto_aes_gcm_free_ctx() 50 static void crypto_aes_gcm_copy_state(struct crypto_authenc_ctx *dst_aectx, in crypto_aes_gcm_copy_state() 51 struct crypto_authenc_ctx *src_aectx) in crypto_aes_gcm_copy_state() 60 static TEE_Result crypto_aes_gcm_init(struct crypto_authenc_ctx *aectx, in crypto_aes_gcm_init() 90 static TEE_Result crypto_aes_gcm_update_aad(struct crypto_authenc_ctx *aectx, in crypto_aes_gcm_update_aad() 105 crypto_aes_gcm_update_payload(struct crypto_authenc_ctx *aectx, in crypto_aes_gcm_update_payload() 141 static TEE_Result crypto_aes_gcm_enc_final(struct crypto_authenc_ctx *aectx, in crypto_aes_gcm_enc_final() [all …]
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/authenc/ |
A D | authenc.c | 24 static struct crypto_authenc *to_authenc_ctx(struct crypto_authenc_ctx *ctx) in to_authenc_ctx() 36 static void authenc_free_ctx(struct crypto_authenc_ctx *ctx) in authenc_free_ctx() 52 static void authenc_copy_state(struct crypto_authenc_ctx *dst_ctx, in authenc_copy_state() 53 struct crypto_authenc_ctx *src_ctx) in authenc_copy_state() 75 static TEE_Result authenc_init(struct crypto_authenc_ctx *ctx, in authenc_init() 118 static TEE_Result authenc_update_aad(struct crypto_authenc_ctx *ctx, in authenc_update_aad() 151 static TEE_Result authenc_update_payload(struct crypto_authenc_ctx *ctx, in authenc_update_payload() 197 static TEE_Result authenc_enc_final(struct crypto_authenc_ctx *ctx, in authenc_enc_final() 245 static TEE_Result authenc_dec_final(struct crypto_authenc_ctx *ctx, in authenc_dec_final() 286 static void authenc_final(struct crypto_authenc_ctx *ctx) in authenc_final() [all …]
|
/optee_os-3.20.0/core/include/crypto/ |
A D | crypto_impl.h | 242 struct crypto_authenc_ctx { struct 247 TEE_Result (*init)(struct crypto_authenc_ctx *ctx, argument 253 TEE_Result (*update_aad)(struct crypto_authenc_ctx *ctx, 255 TEE_Result (*update_payload)(struct crypto_authenc_ctx *ctx, 259 TEE_Result (*enc_final)(struct crypto_authenc_ctx *ctx, 263 TEE_Result (*dec_final)(struct crypto_authenc_ctx *ctx, 267 void (*final)(struct crypto_authenc_ctx *ctx); 268 void (*free_ctx)(struct crypto_authenc_ctx *ctx); 269 void (*copy_state)(struct crypto_authenc_ctx *dst_ctx, 270 struct crypto_authenc_ctx *src_ctx); [all …]
|
/optee_os-3.20.0/core/crypto/ |
A D | aes-gcm.c | 422 struct crypto_authenc_ctx aec; 429 to_aes_gcm_ctx(struct crypto_authenc_ctx *aec) in to_aes_gcm_ctx() 436 TEE_Result crypto_aes_gcm_alloc_ctx(struct crypto_authenc_ctx **ctx_ret) in crypto_aes_gcm_alloc_ctx() 449 static void aes_gcm_free_ctx(struct crypto_authenc_ctx *aec) in aes_gcm_free_ctx() 454 static void aes_gcm_copy_state(struct crypto_authenc_ctx *dst_ctx, in aes_gcm_copy_state() 455 struct crypto_authenc_ctx *src_ctx) in aes_gcm_copy_state() 460 static TEE_Result aes_gcm_init(struct crypto_authenc_ctx *aec, in aes_gcm_init() 471 static TEE_Result aes_gcm_update_aad(struct crypto_authenc_ctx *aec, in aes_gcm_update_aad() 487 static TEE_Result aes_gcm_enc_final(struct crypto_authenc_ctx *aec, in aes_gcm_enc_final() 495 static TEE_Result aes_gcm_dec_final(struct crypto_authenc_ctx *aec, in aes_gcm_dec_final() [all …]
|
A D | crypto.c | 338 struct crypto_authenc_ctx *c = NULL; in crypto_authenc_alloc_ctx() 371 struct crypto_authenc_ctx *c = ctx; in ae_ops()
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/include/ |
A D | drvcrypt_authenc.h | 17 struct crypto_authenc_ctx authenc_ctx; /* Crypto authenc API context */
|
/optee_os-3.20.0/core/drivers/crypto/stm32/ |
A D | authenc.c | 30 struct crypto_authenc_ctx a_ctx; 44 static struct stm32_ae_ctx *to_stm32_ae_ctx(struct crypto_authenc_ctx *ctx) in to_stm32_ae_ctx()
|
/optee_os-3.20.0/core/drivers/crypto/versal/ |
A D | authenc.c | 162 struct crypto_authenc_ctx a_ctx; 189 static struct versal_ae_ctx *to_versal_ctx(struct crypto_authenc_ctx *ctx) in to_versal_ctx() 301 static bool context_allowed(struct crypto_authenc_ctx *ctx) in context_allowed()
|
Completed in 13 milliseconds