Home
last modified time | relevance | path

Searched refs:cipher_pkt (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/include/zephyr/crypto/
Dcipher.h55 struct cipher_pkt;
57 typedef int (*block_op_t)(struct cipher_ctx *ctx, struct cipher_pkt *pkt);
62 typedef int (*cbc_op_t)(struct cipher_ctx *ctx, struct cipher_pkt *pkt,
65 typedef int (*ctr_op_t)(struct cipher_ctx *ctx, struct cipher_pkt *pkt,
180 struct cipher_pkt { struct
219 struct cipher_pkt *pkt; argument
242 typedef void (*cipher_completion_cb)(struct cipher_pkt *completed, int status);
Dcrypto.h253 struct cipher_pkt *pkt) in cipher_block_op()
274 struct cipher_pkt *pkt, uint8_t *iv) in cipher_cbc_op()
301 struct cipher_pkt *pkt, uint8_t *iv) in cipher_ctr_op()
/Zephyr-latest/samples/drivers/crypto/src/
Dmain.c136 struct cipher_pkt encrypt = { in ecb_mode()
142 struct cipher_pkt decrypt = { in ecb_mode()
218 struct cipher_pkt encrypt = { in cbc_mode()
224 struct cipher_pkt decrypt = { in cbc_mode()
309 struct cipher_pkt encrypt = { in ctr_mode()
315 struct cipher_pkt decrypt = { in ctr_mode()
409 struct cipher_pkt encrypt = { in ccm_mode()
427 struct cipher_pkt decrypt = { in ccm_mode()
521 struct cipher_pkt encrypt = { in gcm_mode()
539 struct cipher_pkt decrypt = { in gcm_mode()
/Zephyr-latest/drivers/crypto/
Dcrypto_tc_shim.c28 static int do_cbc_encrypt(struct cipher_ctx *ctx, struct cipher_pkt *op, in do_cbc_encrypt()
48 static int do_cbc_decrypt(struct cipher_ctx *ctx, struct cipher_pkt *op, in do_cbc_decrypt()
76 static int do_ctr_op(struct cipher_ctx *ctx, struct cipher_pkt *op, in do_ctr_op()
107 struct cipher_pkt *op = aead_op->pkt; in do_ccm_encrypt_mac()
147 struct cipher_pkt *op = aead_op->pkt; in do_ccm_decrypt_auth()
Dcrypto_smartbond.c73 struct cipher_pkt *cipher_pkt; member
110 data->cipher_user_cb(data->cipher_pkt, status); in smartbond_crypto_isr()
498 static int crypto_smartbond_cipher_ecb_handler(struct cipher_ctx *ctx, struct cipher_pkt *pkt) in crypto_smartbond_cipher_ecb_handler()
540 data->cipher_pkt = pkt; in crypto_smartbond_cipher_ecb_handler()
560 crypto_smartbond_cipher_cbc_handler(struct cipher_ctx *ctx, struct cipher_pkt *pkt, uint8_t *iv) in crypto_smartbond_cipher_cbc_handler()
623 data->cipher_pkt = pkt; in crypto_smartbond_cipher_cbc_handler()
647 struct cipher_pkt *pkt, uint8_t *ic) in crypto_smartbond_cipher_ctr_handler()
693 data->cipher_pkt = pkt; in crypto_smartbond_cipher_ctr_handler()
Dcrypto_stm32.c167 struct cipher_pkt *pkt) in crypto_stm32_ecb_encrypt()
188 struct cipher_pkt *pkt) in crypto_stm32_ecb_decrypt()
209 struct cipher_pkt *pkt, uint8_t *iv) in crypto_stm32_cbc_encrypt()
236 struct cipher_pkt *pkt, uint8_t *iv) in crypto_stm32_cbc_decrypt()
261 struct cipher_pkt *pkt, uint8_t *iv) in crypto_stm32_ctr_encrypt()
284 struct cipher_pkt *pkt, uint8_t *iv) in crypto_stm32_ctr_decrypt()
Dcrypto_si32.c323 static int crypto_si32_dma_setup_tx(struct cipher_pkt *pkt, unsigned int in_buf_offset) in crypto_si32_dma_setup_tx()
397 static int crypto_si32_dma_setup_rx(struct cipher_pkt *pkt, unsigned int in_buf_offset, in crypto_si32_dma_setup_rx()
488 static int crypto_si32_dma_setup_xor(struct cipher_pkt *pkt) in crypto_si32_dma_setup_xor()
563 static int crypto_si32_aes_ecb_op(struct cipher_ctx *ctx, struct cipher_pkt *pkt, in crypto_si32_aes_ecb_op()
697 static int crypto_si32_aes_cbc_op(struct cipher_ctx *ctx, struct cipher_pkt *pkt, in crypto_si32_aes_cbc_op()
873 static int crypto_si32_aes_ctr_op(struct cipher_ctx *ctx, struct cipher_pkt *pkt, uint8_t iv[12]) in crypto_si32_aes_ctr_op()
1005 static int crypto_si32_aes_ecb_encrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt) in crypto_si32_aes_ecb_encrypt()
1016 static int crypto_si32_aes_ecb_decrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt) in crypto_si32_aes_ecb_decrypt()
1027 static int crypto_si32_aes_cbc_encrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt, uint8_t *iv) in crypto_si32_aes_cbc_encrypt()
1038 static int crypto_si32_aes_cbc_decrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt, uint8_t *iv) in crypto_si32_aes_cbc_decrypt()
Dcrypto_mcux_dcp.c81 static int crypto_dcp_aes_cbc_encrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt, uint8_t *iv) in crypto_dcp_aes_cbc_encrypt()
116 static int crypto_dcp_aes_cbc_decrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt, uint8_t *iv) in crypto_dcp_aes_cbc_decrypt()
147 static int crypto_dcp_aes_ecb_encrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt) in crypto_dcp_aes_ecb_encrypt()
167 static int crypto_dcp_aes_ecb_decrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt) in crypto_dcp_aes_ecb_decrypt()
Dcrypto_mtls_shim.c72 int mtls_ecb_encrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt) in mtls_ecb_encrypt()
97 int mtls_ecb_decrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt) in mtls_ecb_decrypt()
122 int mtls_cbc_encrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt, uint8_t *iv) in mtls_cbc_encrypt()
153 int mtls_cbc_decrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt, uint8_t *iv) in mtls_cbc_decrypt()
Dcrypto_nrf_ecb.c32 static int do_ecb_encrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt) in do_ecb_encrypt()
Dcrypto_ataes132a_priv.h388 struct cipher_pkt *pkt);
Dcrypto_ataes132a.c583 struct cipher_pkt *pkt) in ataes132a_aes_ecb_block()
764 static int do_block(struct cipher_ctx *ctx, struct cipher_pkt *pkt) in do_block()
/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp_common.c59 struct cipher_pkt encrypt = { in osdp_encrypt()
106 struct cipher_pkt decrypt = { in osdp_decrypt()
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_security.c104 struct cipher_aead_pkt *apkt, struct cipher_pkt *pkt) in prepare_cipher_aead_pkt()
136 struct cipher_pkt pkt; in ieee802154_decrypt_auth()
169 struct cipher_pkt pkt; in ieee802154_encrypt_auth()