Searched refs:cmac_ctx (Results 1 – 3 of 3) sorted by relevance
257 if( cmac_ctx == NULL ) in mbedtls_cipher_cmac_starts()260 ctx->cmac_ctx = cmac_ctx; in mbedtls_cipher_cmac_starts()262 mbedtls_platform_zeroize( cmac_ctx->state, sizeof( cmac_ctx->state ) ); in mbedtls_cipher_cmac_starts()276 ctx->cmac_ctx == NULL ) in mbedtls_cipher_cmac_update()279 cmac_ctx = ctx->cmac_ctx; in mbedtls_cipher_cmac_update()281 state = ctx->cmac_ctx->state; in mbedtls_cipher_cmac_update()288 memcpy( &cmac_ctx->unprocessed_block[cmac_ctx->unprocessed_len], in mbedtls_cipher_cmac_update()325 memcpy( &cmac_ctx->unprocessed_block[cmac_ctx->unprocessed_len], in mbedtls_cipher_cmac_update()350 cmac_ctx = ctx->cmac_ctx; in mbedtls_cipher_cmac_finish()352 state = cmac_ctx->state; in mbedtls_cipher_cmac_finish()[all …]
193 if( ctx->cmac_ctx ) in mbedtls_cipher_free()195 mbedtls_platform_zeroize( ctx->cmac_ctx, in mbedtls_cipher_free()197 mbedtls_free( ctx->cmac_ctx ); in mbedtls_cipher_free()
348 mbedtls_cmac_context_t *cmac_ctx; member