Home
last modified time | relevance | path

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

12

/optee_os/core/drivers/crypto/se050/core/
A Dcipher.c55 struct crypto_cipher_ctx *src_ctx = in; in do_copy_state() local
57 src_ctx->ops->copy_state(dst_ctx, src_ctx); in do_copy_state()
/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.c84 struct crypto_hash_ctx *src_ctx) in op_sm3_hash_copy_state() argument
86 struct sm3_hash_ctx *src = to_hash_ctx(src_ctx); in op_sm3_hash_copy_state()
A Dsm4-ecb.c74 struct crypto_cipher_ctx *src_ctx) in sm4_ecb_copy_state() argument
76 struct sm4_ecb_ctx *src = to_sm4_ecb_ctx(src_ctx); in sm4_ecb_copy_state()
A Dsm3-hmac.c84 struct crypto_mac_ctx *src_ctx) in op_sm3_hmac_copy_state() argument
86 struct sm3_hmac_ctx *src = to_hmac_ctx(src_ctx); in op_sm3_hmac_copy_state()
A Dsm4-ctr.c75 struct crypto_cipher_ctx *src_ctx) in sm4_ctr_copy_state() argument
77 struct sm4_ctr_ctx *src = to_sm4_ctr_ctx(src_ctx); in sm4_ctr_copy_state()
A Dsm4-cbc.c78 struct crypto_cipher_ctx *src_ctx) in sm4_cbc_copy_state() argument
80 struct sm4_cbc_ctx *src = to_sm4_cbc_ctx(src_ctx); in sm4_cbc_copy_state()
/optee_os/core/lib/libtomcrypt/
A Dcmac.c69 struct crypto_mac_ctx *src_ctx) in ltc_omac_copy_state() argument
71 struct ltc_omac_ctx *src = to_omac_ctx(src_ctx); in ltc_omac_copy_state()
A Dccm.c55 struct tee_ccm_state *src_ctx = to_tee_ccm_state(src_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.c54 struct tee_gcm_state *src_ctx = to_tee_gcm_state(src_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.c78 struct crypto_cipher_ctx *src_ctx) in ltc_ctr_copy_state() argument
80 struct ltc_ctr_ctx *src = to_ctr_ctx(src_ctx); in ltc_ctr_copy_state()
A Dhmac.c68 struct crypto_mac_ctx *src_ctx) in ltc_hmac_copy_state() argument
70 struct ltc_hmac_ctx *src = to_hmac_ctx(src_ctx); in ltc_hmac_copy_state()
A Dxts.c94 struct crypto_cipher_ctx *src_ctx) in ltc_xts_copy_state() argument
96 struct ltc_xts_ctx *src = to_xts_ctx(src_ctx); in ltc_xts_copy_state()
A Dcbc.c85 struct crypto_cipher_ctx *src_ctx) in ltc_cbc_copy_state() argument
87 struct ltc_cbc_ctx *src = to_cbc_ctx(src_ctx); in ltc_cbc_copy_state()
A Decb.c83 struct crypto_cipher_ctx *src_ctx) in ltc_ecb_copy_state() argument
85 struct ltc_ecb_ctx *src = to_ecb_ctx(src_ctx); in ltc_ecb_copy_state()
/optee_os/lib/libmbedtls/core/
A Ddes_ecb.c89 struct crypto_cipher_ctx *src_ctx) in mbed_des_ecb_copy_state() argument
91 struct mbed_des_ecb_ctx *src = to_des_ecb_ctx(src_ctx); in mbed_des_ecb_copy_state()
A Ddes3_ecb.c98 struct crypto_cipher_ctx *src_ctx) in mbed_des3_ecb_copy_state() argument
100 struct mbed_des3_ecb_ctx *src = to_des3_ecb_ctx(src_ctx); in mbed_des3_ecb_copy_state()
A Ddes_cbc.c91 struct crypto_cipher_ctx *src_ctx) in mbed_des_cbc_copy_state() argument
93 struct mbed_des_cbc_ctx *src = to_des_cbc_ctx(src_ctx); in mbed_des_cbc_copy_state()
A Daes_ecb.c97 struct crypto_cipher_ctx *src_ctx) in mbed_aes_ecb_copy_state() argument
99 struct mbed_aes_ecb_ctx *src = to_aes_ecb_ctx(src_ctx); in mbed_aes_ecb_copy_state()
A Ddes3_cbc.c98 struct crypto_cipher_ctx *src_ctx) in mbed_des3_cbc_copy_state() argument
100 struct mbed_des3_cbc_ctx *src = to_des3_cbc_ctx(src_ctx); in mbed_des3_cbc_copy_state()
A Daes_cbc.c94 struct crypto_cipher_ctx *src_ctx) in mbed_aes_cbc_copy_state() argument
96 struct mbed_aes_cbc_ctx *src = to_aes_cbc_ctx(src_ctx); in mbed_aes_cbc_copy_state()
A Dhmac.c88 struct crypto_mac_ctx *src_ctx) in mbed_hmac_copy_state() argument
90 struct mbed_hmac_ctx *src = to_hmac_ctx(src_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
85 struct stm32_cipher_ctx *src = to_stm32_cipher_ctx(src_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.h29 struct crypto_hash_ctx *src_ctx);
96 struct crypto_mac_ctx *src_ctx);
165 struct crypto_cipher_ctx *src_ctx);
264 struct crypto_authenc_ctx *src_ctx);

Completed in 22 milliseconds

12