Searched refs:cmac_ctx (Results 1 – 3 of 3) sorted by relevance
189 mbedtls_cmac_context_t *cmac_ctx; in mbedtls_cipher_cmac_starts() local214 cmac_ctx = mbedtls_calloc( 1, sizeof( mbedtls_cmac_context_t ) ); in mbedtls_cipher_cmac_starts()215 if( cmac_ctx == NULL ) in mbedtls_cipher_cmac_starts()218 ctx->cmac_ctx = cmac_ctx; in mbedtls_cipher_cmac_starts()220 mbedtls_platform_zeroize( cmac_ctx->state, sizeof( cmac_ctx->state ) ); in mbedtls_cipher_cmac_starts()228 mbedtls_cmac_context_t* cmac_ctx; in mbedtls_cipher_cmac_update() local234 ctx->cmac_ctx == NULL ) in mbedtls_cipher_cmac_update()237 cmac_ctx = ctx->cmac_ctx; in mbedtls_cipher_cmac_update()239 state = ctx->cmac_ctx->state; in mbedtls_cipher_cmac_update()243 if( cmac_ctx->unprocessed_len > 0 && in mbedtls_cipher_cmac_update()[all …]
179 if( ctx->cmac_ctx ) in mbedtls_cipher_free()181 mbedtls_platform_zeroize( ctx->cmac_ctx, in mbedtls_cipher_free()183 mbedtls_free( ctx->cmac_ctx ); in mbedtls_cipher_free()
360 mbedtls_cmac_context_t *MBEDTLS_PRIVATE(cmac_ctx);