Home
last modified time | relevance | path

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

/mbedtls-3.6.0/library/
Dcmac.c165 mbedtls_cmac_context_t *cmac_ctx; in mbedtls_cipher_cmac_starts() local
191 cmac_ctx = mbedtls_calloc(1, sizeof(mbedtls_cmac_context_t)); in mbedtls_cipher_cmac_starts()
192 if (cmac_ctx == NULL) { in mbedtls_cipher_cmac_starts()
196 ctx->cmac_ctx = cmac_ctx; in mbedtls_cipher_cmac_starts()
198 mbedtls_platform_zeroize(cmac_ctx->state, sizeof(cmac_ctx->state)); in mbedtls_cipher_cmac_starts()
206 mbedtls_cmac_context_t *cmac_ctx; in mbedtls_cipher_cmac_update() local
212 ctx->cmac_ctx == NULL) { in mbedtls_cipher_cmac_update()
216 cmac_ctx = ctx->cmac_ctx; in mbedtls_cipher_cmac_update()
218 state = ctx->cmac_ctx->state; in mbedtls_cipher_cmac_update()
222 if (cmac_ctx->unprocessed_len > 0 && in mbedtls_cipher_cmac_update()
[all …]
Dcipher.c232 if (ctx->cmac_ctx) { in mbedtls_cipher_free()
233 mbedtls_zeroize_and_free(ctx->cmac_ctx, in mbedtls_cipher_free()
/mbedtls-3.6.0/include/mbedtls/
Dcipher.h354 mbedtls_cmac_context_t *MBEDTLS_PRIVATE(cmac_ctx);