Lines Matching refs:umac_ctx
119 mac->umac_ctx = NULL;
154 if ((mac->umac_ctx = umac_new(mac->key)) == NULL)
158 if ((mac->umac_ctx = umac128_new(mac->key)) == NULL)
193 umac_update(mac->umac_ctx, data, datalen);
194 umac_final(mac->umac_ctx, u.m, nonce);
198 umac128_update(mac->umac_ctx, data, datalen);
199 umac128_final(mac->umac_ctx, u.m, nonce);
234 if (mac->umac_ctx != NULL)
235 umac_delete(mac->umac_ctx);
237 if (mac->umac_ctx != NULL)
238 umac128_delete(mac->umac_ctx);
242 mac->umac_ctx = NULL;