| 150 | } |
| 151 | |
| 152 | static inline void |
| 153 | aead_ccm_iv_fill(struct aead_ccm_iv *ccm, uint64_t iv, uint32_t salt) |
| 154 | { |
| 155 | union aead_ccm_salt tsalt; |
| 156 | |
| 157 | tsalt.salt = salt; |
| 158 | ccm->ccm_flags = tsalt.inner.ccm_flags; |
| 159 | ccm->salt[0] = tsalt.inner.salt8[0]; |
| 160 | ccm->salt[1] = tsalt.inner.salt8[1]; |
| 161 | ccm->salt[2] = tsalt.inner.salt8[2]; |
| 162 | ccm->iv = iv; |
| 163 | ccm->cnt = rte_cpu_to_be_32(1); |
| 164 | } |
| 165 | |
| 166 | |
| 167 | /* |
no outgoing calls
no test coverage detected