Home
last modified time | relevance | path

Searched refs:dst_ctx (Results 1 – 25 of 43) sorted by relevance

12

/optee_os/core/crypto/
A Dcrypto.c77 void crypto_hash_copy_state(void *dst_ctx, void *src_ctx) in crypto_hash_copy_state() argument
79 hash_ops(dst_ctx)->copy_state(dst_ctx, src_ctx); in crypto_hash_copy_state()
172 void crypto_cipher_copy_state(void *dst_ctx, void *src_ctx) in crypto_cipher_copy_state() argument
174 cipher_ops(dst_ctx)->copy_state(dst_ctx, src_ctx); in crypto_cipher_copy_state()
309 void crypto_mac_copy_state(void *dst_ctx, void *src_ctx) in crypto_mac_copy_state() argument
311 mac_ops(dst_ctx)->copy_state(dst_ctx, src_ctx); in crypto_mac_copy_state()
442 void crypto_authenc_copy_state(void *dst_ctx, void *src_ctx) in crypto_authenc_copy_state() argument
444 ae_ops(dst_ctx)->copy_state(dst_ctx, src_ctx); in crypto_authenc_copy_state()
A Dsm3-hash.c83 static void op_sm3_hash_copy_state(struct crypto_hash_ctx *dst_ctx, in op_sm3_hash_copy_state() argument
87 struct sm3_hash_ctx *dst = to_hash_ctx(dst_ctx); in op_sm3_hash_copy_state()
A Dsm4-ecb.c73 static void sm4_ecb_copy_state(struct crypto_cipher_ctx *dst_ctx, in sm4_ecb_copy_state() argument
77 struct sm4_ecb_ctx *dst = to_sm4_ecb_ctx(dst_ctx); in sm4_ecb_copy_state()
A Dsm3-hmac.c83 static void op_sm3_hmac_copy_state(struct crypto_mac_ctx *dst_ctx, in op_sm3_hmac_copy_state() argument
87 struct sm3_hmac_ctx *dst = to_hmac_ctx(dst_ctx); in op_sm3_hmac_copy_state()
A Dsm4-ctr.c74 static void sm4_ctr_copy_state(struct crypto_cipher_ctx *dst_ctx, in sm4_ctr_copy_state() argument
78 struct sm4_ctr_ctx *dst = to_sm4_ctr_ctx(dst_ctx); in sm4_ctr_copy_state()
A Dsm4-cbc.c77 static void sm4_cbc_copy_state(struct crypto_cipher_ctx *dst_ctx, in sm4_cbc_copy_state() argument
81 struct sm4_cbc_ctx *dst = to_sm4_cbc_ctx(dst_ctx); in sm4_cbc_copy_state()
/optee_os/core/drivers/crypto/se050/core/
A Dcipher.c54 struct crypto_cipher_ctx *dst_ctx = out; in do_copy_state() local
57 src_ctx->ops->copy_state(dst_ctx, src_ctx); in do_copy_state()
/optee_os/core/lib/libtomcrypt/
A Dcmac.c68 static void ltc_omac_copy_state(struct crypto_mac_ctx *dst_ctx, in ltc_omac_copy_state() argument
72 struct ltc_omac_ctx *dst = to_omac_ctx(dst_ctx); in ltc_omac_copy_state()
A Dccm.c54 struct tee_ccm_state *dst_ctx = to_tee_ccm_state(dst_aectx); in crypto_aes_ccm_copy_state() local
57 dst_ctx->ctx = src_ctx->ctx; in crypto_aes_ccm_copy_state()
58 dst_ctx->tag_len = src_ctx->tag_len; in crypto_aes_ccm_copy_state()
A Dgcm.c53 struct tee_gcm_state *dst_ctx = to_tee_gcm_state(dst_aectx); in crypto_aes_gcm_copy_state() local
56 dst_ctx->ctx = src_ctx->ctx; in crypto_aes_gcm_copy_state()
57 dst_ctx->tag_len = src_ctx->tag_len; in crypto_aes_gcm_copy_state()
A Dctr.c77 static void ltc_ctr_copy_state(struct crypto_cipher_ctx *dst_ctx, in ltc_ctr_copy_state() argument
81 struct ltc_ctr_ctx *dst = to_ctr_ctx(dst_ctx); in ltc_ctr_copy_state()
A Dhmac.c67 static void ltc_hmac_copy_state(struct crypto_mac_ctx *dst_ctx, in ltc_hmac_copy_state() argument
71 struct ltc_hmac_ctx *dst = to_hmac_ctx(dst_ctx); in ltc_hmac_copy_state()
A Dxts.c93 static void ltc_xts_copy_state(struct crypto_cipher_ctx *dst_ctx, in ltc_xts_copy_state() argument
97 struct ltc_xts_ctx *dst = to_xts_ctx(dst_ctx); in ltc_xts_copy_state()
A Dcbc.c84 static void ltc_cbc_copy_state(struct crypto_cipher_ctx *dst_ctx, in ltc_cbc_copy_state() argument
88 struct ltc_cbc_ctx *dst = to_cbc_ctx(dst_ctx); in ltc_cbc_copy_state()
A Decb.c82 static void ltc_ecb_copy_state(struct crypto_cipher_ctx *dst_ctx, in ltc_ecb_copy_state() argument
86 struct ltc_ecb_ctx *dst = to_ecb_ctx(dst_ctx); in ltc_ecb_copy_state()
/optee_os/lib/libmbedtls/core/
A Ddes_ecb.c88 static void mbed_des_ecb_copy_state(struct crypto_cipher_ctx *dst_ctx, in mbed_des_ecb_copy_state() argument
92 struct mbed_des_ecb_ctx *dst = to_des_ecb_ctx(dst_ctx); in mbed_des_ecb_copy_state()
A Ddes3_ecb.c97 static void mbed_des3_ecb_copy_state(struct crypto_cipher_ctx *dst_ctx, in mbed_des3_ecb_copy_state() argument
101 struct mbed_des3_ecb_ctx *dst = to_des3_ecb_ctx(dst_ctx); in mbed_des3_ecb_copy_state()
A Ddes_cbc.c90 static void mbed_des_cbc_copy_state(struct crypto_cipher_ctx *dst_ctx, in mbed_des_cbc_copy_state() argument
94 struct mbed_des_cbc_ctx *dst = to_des_cbc_ctx(dst_ctx); in mbed_des_cbc_copy_state()
A Daes_ecb.c96 static void mbed_aes_ecb_copy_state(struct crypto_cipher_ctx *dst_ctx, in mbed_aes_ecb_copy_state() argument
100 struct mbed_aes_ecb_ctx *dst = to_aes_ecb_ctx(dst_ctx); in mbed_aes_ecb_copy_state()
A Ddes3_cbc.c97 static void mbed_des3_cbc_copy_state(struct crypto_cipher_ctx *dst_ctx, in mbed_des3_cbc_copy_state() argument
101 struct mbed_des3_cbc_ctx *dst = to_des3_cbc_ctx(dst_ctx); in mbed_des3_cbc_copy_state()
A Daes_cbc.c93 static void mbed_aes_cbc_copy_state(struct crypto_cipher_ctx *dst_ctx, in mbed_aes_cbc_copy_state() argument
97 struct mbed_aes_cbc_ctx *dst = to_aes_cbc_ctx(dst_ctx); in mbed_aes_cbc_copy_state()
A Dhmac.c87 static void mbed_hmac_copy_state(struct crypto_mac_ctx *dst_ctx, in mbed_hmac_copy_state() argument
91 struct mbed_hmac_ctx *dst = to_hmac_ctx(dst_ctx); in mbed_hmac_copy_state()
/optee_os/core/drivers/crypto/stm32/
A Dcipher.c83 static void stm32_cipher_copy_state(void *dst_ctx, void *src_ctx) in stm32_cipher_copy_state() argument
86 struct stm32_cipher_ctx *dst = to_stm32_cipher_ctx(dst_ctx); in stm32_cipher_copy_state()
/optee_os/core/include/crypto/
A Dcrypto.h35 void crypto_hash_copy_state(void *dst_ctx, void *src_ctx);
49 void crypto_cipher_copy_state(void *dst_ctx, void *src_ctx);
57 void crypto_mac_copy_state(void *dst_ctx, void *src_ctx);
82 void crypto_authenc_copy_state(void *dst_ctx, void *src_ctx);
A Dcrypto_impl.h28 void (*copy_state)(struct crypto_hash_ctx *dst_ctx,
95 void (*copy_state)(struct crypto_mac_ctx *dst_ctx,
164 void (*copy_state)(struct crypto_cipher_ctx *dst_ctx,
263 void (*copy_state)(struct crypto_authenc_ctx *dst_ctx,

Completed in 22 milliseconds

12