Lines Matching refs:umac_ctx
116 mac->umac_ctx = NULL; in mac_setup_by_alg()
151 if ((mac->umac_ctx = umac_new(mac->key)) == NULL) in mac_init()
155 if ((mac->umac_ctx = umac128_new(mac->key)) == NULL) in mac_init()
190 umac_update(mac->umac_ctx, data, datalen); in mac_compute()
191 umac_final(mac->umac_ctx, u.m, nonce); in mac_compute()
195 umac128_update(mac->umac_ctx, data, datalen); in mac_compute()
196 umac128_final(mac->umac_ctx, u.m, nonce); in mac_compute()
231 if (mac->umac_ctx != NULL) in mac_clear()
232 umac_delete(mac->umac_ctx); in mac_clear()
234 if (mac->umac_ctx != NULL) in mac_clear()
235 umac128_delete(mac->umac_ctx); in mac_clear()
239 mac->umac_ctx = NULL; in mac_clear()