/optee_os/core/drivers/crypto/se050/core/ |
A D | cipher.c | 55 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 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() 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 D | sm3-hash.c | 84 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 D | sm4-ecb.c | 74 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 D | sm3-hmac.c | 84 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 D | sm4-ctr.c | 75 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 D | sm4-cbc.c | 78 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 D | cmac.c | 69 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 D | ccm.c | 55 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 D | gcm.c | 54 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 D | ctr.c | 78 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 D | hmac.c | 68 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 D | xts.c | 94 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 D | cbc.c | 85 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 D | ecb.c | 83 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 D | des_ecb.c | 89 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 D | des3_ecb.c | 98 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 D | des_cbc.c | 91 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 D | aes_ecb.c | 97 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 D | des3_cbc.c | 98 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 D | aes_cbc.c | 94 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 D | hmac.c | 88 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 D | cipher.c | 83 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 D | crypto.h | 35 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 D | crypto_impl.h | 29 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);
|