Home
last modified time | relevance | path

Searched refs:to_omac_ctx (Results 1 – 1 of 1) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/
A Dcmac.c25 static struct ltc_omac_ctx *to_omac_ctx(struct crypto_mac_ctx *ctx) in to_omac_ctx() function
35 struct ltc_omac_ctx *hc = to_omac_ctx(ctx); in ltc_omac_init()
46 if (omac_process(&to_omac_ctx(ctx)->state, data, len) == CRYPT_OK) in ltc_omac_update()
57 if (omac_done(&to_omac_ctx(ctx)->state, digest, &l) == CRYPT_OK) in ltc_omac_final()
65 free(to_omac_ctx(ctx)); in ltc_omac_free_ctx()
71 struct ltc_omac_ctx *src = to_omac_ctx(src_ctx); in ltc_omac_copy_state()
72 struct ltc_omac_ctx *dst = to_omac_ctx(dst_ctx); in ltc_omac_copy_state()

Completed in 2 milliseconds