Home
last modified time | relevance | path

Searched refs:out_buf_max (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/samples/drivers/crypto/src/
Dmain.c139 .out_buf_max = sizeof(encrypted), in ecb_mode()
146 .out_buf_max = sizeof(decrypted), in ecb_mode()
221 .out_buf_max = sizeof(encrypted), in cbc_mode()
228 .out_buf_max = sizeof(decrypted), in cbc_mode()
312 .out_buf_max = sizeof(encrypted), in ctr_mode()
319 .out_buf_max = sizeof(decrypted), in ctr_mode()
412 .out_buf_max = sizeof(encrypted), in ccm_mode()
431 .out_buf_max = sizeof(decrypted), in ccm_mode()
524 .out_buf_max = sizeof(encrypted), in gcm_mode()
543 .out_buf_max = sizeof(decrypted), in gcm_mode()
/Zephyr-latest/drivers/crypto/
Dcrypto_tc_shim.c34 op->out_buf_max, in do_cbc_encrypt()
62 op->out_buf_max, in do_cbc_decrypt()
88 if (tc_ctr_mode(op->out_buf, op->out_buf_max, op->in_buf, in do_ctr_op()
116 if (tc_ccm_generation_encryption(op->out_buf, op->out_buf_max, in do_ccm_encrypt_mac()
165 if (tc_ccm_decryption_verification(op->out_buf, op->out_buf_max, in do_ccm_decrypt_auth()
Dcrypto_ataes132a.c690 aead_op->pkt->out_buf_max < 16) { in do_ccm_encrypt_mac()
696 aead_op->pkt->out_buf_max < 32) { in do_ccm_encrypt_mac()
739 aead_op->pkt->out_buf_max < 16) { in do_ccm_decrypt_auth()
745 aead_op->pkt->out_buf_max < 32) { in do_ccm_decrypt_auth()
774 if (pkt->out_buf_max < 16) { in do_block()
Dcrypto_nrf_ecb.c40 if (pkt->out_buf_max < pkt->in_len) { in do_ecb_encrypt()
Dcrypto_smartbond.c508 if (pkt->out_buf_max < pkt->in_len) { in crypto_smartbond_cipher_ecb_handler()
573 if ((is_op_encryption && pkt->out_buf_max < (pkt->in_len + 16)) || in crypto_smartbond_cipher_cbc_handler()
574 pkt->out_buf_max < (pkt->in_len - 16)) { in crypto_smartbond_cipher_cbc_handler()
659 if (pkt->out_buf_max < pkt->in_len) { in crypto_smartbond_cipher_ctr_handler()
Dcrypto_si32.c420 if ((pkt->out_buf_max - out_buf_offset) < (pkt->in_len - in_buf_offset)) { in crypto_si32_dma_setup_rx()
731 if (pkt->out_buf_max < 16) { in crypto_si32_aes_cbc_op()
/Zephyr-latest/include/zephyr/crypto/
Dcipher.h197 int out_buf_max; member
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_security.c123 pkt->out_buf_max = (is_encrypted ? payload_len : 0) + authtag_len; in prepare_cipher_aead_pkt()
/Zephyr-latest/drivers/ieee802154/
Dieee802154_cc2520.c1180 if (!apkt->pkt->out_buf || !apkt->pkt->out_buf_max) { in insert_crypto_parameters()
1283 if (apkt->pkt->out_len > apkt->pkt->out_buf_max) { in cc2520_crypto_ccm()
1285 apkt->pkt->out_len, apkt->pkt->out_buf_max); in cc2520_crypto_ccm()