Searched refs:aead_op (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/crypto/ |
D | crypto_ataes132a.c | 189 struct cipher_aead_pkt *aead_op, in ataes132a_aes_ccm_decrypt() argument 200 if (!aead_op) { in ataes132a_aes_ccm_decrypt() 205 if (!aead_op->pkt) { in ataes132a_aes_ccm_decrypt() 210 in_buf_len = aead_op->pkt->in_len; in ataes132a_aes_ccm_decrypt() 211 expected_out_len = aead_op->pkt->out_len; in ataes132a_aes_ccm_decrypt() 239 if (!aead_op->pkt->in_buf || !aead_op->pkt->out_buf) { in ataes132a_aes_ccm_decrypt() 340 if (aead_op->tag) { in ataes132a_aes_ccm_decrypt() 341 memcpy(param_buffer + 4, aead_op->tag, 16); in ataes132a_aes_ccm_decrypt() 343 memcpy(param_buffer + 20, aead_op->pkt->in_buf, in_buf_len); in ataes132a_aes_ccm_decrypt() 378 memcpy(aead_op->pkt->out_buf, param_buffer + 1, out_len - 1); in ataes132a_aes_ccm_decrypt() [all …]
|
D | crypto_tc_shim.c | 102 struct cipher_aead_pkt *aead_op, uint8_t *nonce) in do_ccm_encrypt_mac() argument 107 struct cipher_pkt *op = aead_op->pkt; in do_ccm_encrypt_mac() 117 aead_op->ad, aead_op->ad_len, op->in_buf, in do_ccm_encrypt_mac() 128 if (aead_op->tag) { in do_ccm_encrypt_mac() 129 memcpy(aead_op->tag, op->out_buf + op->in_len, ccm.mlen); in do_ccm_encrypt_mac() 142 struct cipher_aead_pkt *aead_op, uint8_t *nonce) in do_ccm_decrypt_auth() argument 147 struct cipher_pkt *op = aead_op->pkt; in do_ccm_decrypt_auth() 160 if (aead_op->tag != op->in_buf + op->in_len) { in do_ccm_decrypt_auth() 166 aead_op->ad, aead_op->ad_len, in do_ccm_decrypt_auth()
|
D | crypto_ataes132a_priv.h | 314 struct cipher_aead_pkt *aead_op, 361 struct cipher_aead_pkt *aead_op,
|