Searched refs:iv_bytes (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/drivers/crypto/ |
D | crypto_mcux_dcp.c | 86 size_t iv_bytes; in crypto_dcp_aes_cbc_encrypt() local 93 iv_bytes = 16U; in crypto_dcp_aes_cbc_encrypt() 97 iv_bytes = 0U; in crypto_dcp_aes_cbc_encrypt() 104 pkt->out_buf + iv_bytes, pkt->in_len, p_iv); in crypto_dcp_aes_cbc_encrypt() 111 pkt->out_len = pkt->in_len + iv_bytes; in crypto_dcp_aes_cbc_encrypt() 121 size_t iv_bytes; in crypto_dcp_aes_cbc_decrypt() local 125 iv_bytes = 16U; in crypto_dcp_aes_cbc_decrypt() 128 iv_bytes = 0U; in crypto_dcp_aes_cbc_decrypt() 134 status = DCP_AES_DecryptCbc(cfg->base, &session->handle, pkt->in_buf + iv_bytes, in crypto_dcp_aes_cbc_decrypt() 142 pkt->out_len = pkt->in_len - iv_bytes; in crypto_dcp_aes_cbc_decrypt()
|
D | crypto_mtls_shim.c | 124 int ret, iv_bytes; in mtls_cbc_encrypt() local 132 iv_bytes = 16; in mtls_cbc_encrypt() 136 iv_bytes = 0; in mtls_cbc_encrypt() 142 p_iv, pkt->in_buf, pkt->out_buf + iv_bytes); in mtls_cbc_encrypt() 148 pkt->out_len = pkt->in_len + iv_bytes; in mtls_cbc_encrypt() 155 int ret, iv_bytes; in mtls_cbc_decrypt() local 160 iv_bytes = 16; in mtls_cbc_decrypt() 163 iv_bytes = 0; in mtls_cbc_decrypt() 169 p_iv, pkt->in_buf + iv_bytes, pkt->out_buf); in mtls_cbc_decrypt() 175 pkt->out_len = pkt->in_len - iv_bytes; in mtls_cbc_decrypt()
|