Searched refs:out_buf_max (Results 1 – 10 of 10) sorted by relevance
| /Zephyr-latest/samples/drivers/crypto/src/ |
| D | main.c | 141 .out_buf_max = sizeof(encrypted), in ecb_mode() 148 .out_buf_max = sizeof(decrypted), in ecb_mode() 223 .out_buf_max = sizeof(encrypted), in cbc_mode() 230 .out_buf_max = sizeof(decrypted), in cbc_mode() 314 .out_buf_max = sizeof(encrypted), in ctr_mode() 321 .out_buf_max = sizeof(decrypted), in ctr_mode() 414 .out_buf_max = sizeof(encrypted), in ccm_mode() 433 .out_buf_max = sizeof(decrypted), in ccm_mode() 526 .out_buf_max = sizeof(encrypted), in gcm_mode() 545 .out_buf_max = sizeof(decrypted), in gcm_mode()
|
| /Zephyr-latest/drivers/crypto/ |
| D | crypto_tc_shim.c | 34 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()
|
| D | crypto_cc23x0.c | 87 if (pkt->out_buf_max < ROUND_UP(pkt->in_len, AES_BLOCK_SIZE)) { in crypto_cc23x0_ecb_encrypt() 153 if (pkt->out_buf_max < ROUND_UP(pkt->in_len, AES_BLOCK_SIZE)) { in crypto_cc23x0_ctr() 231 if (pkt->out_buf_max < AES_BLOCK_SIZE) { in crypto_cc23x0_cmac() 315 if (aead_op->pkt->out_buf_max < ROUND_UP(aead_op->pkt->in_len, AES_BLOCK_SIZE)) { in crypto_cc23x0_ccm_check_param() 412 data_pkt.out_buf_max = AES_BLOCK_SIZE; in crypto_cc23x0_ccm_encrypt() 458 tag_pkt.out_buf_max = AES_BLOCK_SIZE; in crypto_cc23x0_ccm_encrypt() 524 data_pkt.out_buf_max = AES_BLOCK_SIZE; in crypto_cc23x0_ccm_decrypt() 539 tag_pkt.out_buf_max = AES_BLOCK_SIZE; in crypto_cc23x0_ccm_decrypt()
|
| D | crypto_ataes132a.c | 690 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()
|
| D | crypto_nrf_ecb.c | 40 if (pkt->out_buf_max < pkt->in_len) { in do_ecb_encrypt()
|
| D | crypto_smartbond.c | 508 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()
|
| D | crypto_si32.c | 420 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/ |
| D | cipher.h | 197 int out_buf_max; member
|
| /Zephyr-latest/subsys/net/l2/ieee802154/ |
| D | ieee802154_security.c | 123 pkt->out_buf_max = (is_encrypted ? payload_len : 0) + authtag_len; in prepare_cipher_aead_pkt()
|
| /Zephyr-latest/drivers/ieee802154/ |
| D | ieee802154_cc2520.c | 1180 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()
|