/optee_os-3.20.0/core/drivers/crypto/se050/core/ |
A D | cipher.c | 54 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-3.20.0/core/crypto/ |
A D | crypto.c | 77 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() 175 void crypto_cipher_copy_state(void *dst_ctx, void *src_ctx) in crypto_cipher_copy_state() argument 177 cipher_ops(dst_ctx)->copy_state(dst_ctx, src_ctx); in crypto_cipher_copy_state() 312 void crypto_mac_copy_state(void *dst_ctx, void *src_ctx) in crypto_mac_copy_state() argument 314 mac_ops(dst_ctx)->copy_state(dst_ctx, src_ctx); in crypto_mac_copy_state() 445 void crypto_authenc_copy_state(void *dst_ctx, void *src_ctx) in crypto_authenc_copy_state() argument 447 ae_ops(dst_ctx)->copy_state(dst_ctx, src_ctx); in crypto_authenc_copy_state()
|
A D | sm4-ecb.c | 73 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 D | sm3-hash.c | 83 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 D | sm4-ctr.c | 74 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 D | sm3-hmac.c | 83 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 D | sm4-cbc.c | 77 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()
|
A D | sm4-xts.c | 85 static void sm4_xts_copy_state(struct crypto_cipher_ctx *dst_ctx, in sm4_xts_copy_state() argument 89 struct sm4_xts_ctx *dst = to_sm4_xts_ctx(dst_ctx); in sm4_xts_copy_state()
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | cmac.c | 68 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 D | ctr.c | 77 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 D | hmac.c | 67 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 D | ccm.c | 55 struct tee_ccm_state *dst_ctx = to_tee_ccm_state(dst_aectx); in crypto_aes_ccm_copy_state() local 58 dst_ctx->ctx = src_ctx->ctx; in crypto_aes_ccm_copy_state() 59 dst_ctx->tag_len = src_ctx->tag_len; in crypto_aes_ccm_copy_state()
|
A D | gcm.c | 53 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 D | cbc.c | 84 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 D | ecb.c | 82 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()
|
A D | xts.c | 93 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()
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | des_ecb.c | 88 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 D | des3_ecb.c | 97 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 D | des_cbc.c | 90 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 D | aes_ecb.c | 96 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 D | des3_cbc.c | 97 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 D | aes_cbc.c | 93 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 D | hmac.c | 87 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-3.20.0/core/drivers/crypto/crypto_api/include/ |
A D | drvcrypt_cipher.h | 59 void (*copy_state)(void *dst_ctx, void *src_ctx);
|
/optee_os-3.20.0/core/drivers/crypto/stm32/ |
A D | cipher.c | 83 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()
|