Home
last modified time | relevance | path

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

/mbedtls-development/library/
A Dcmac.c215 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()
234 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()
246 memcpy( &cmac_ctx->unprocessed_block[cmac_ctx->unprocessed_len], in mbedtls_cipher_cmac_update()
283 memcpy( &cmac_ctx->unprocessed_block[cmac_ctx->unprocessed_len], in mbedtls_cipher_cmac_update()
308 cmac_ctx = ctx->cmac_ctx; in mbedtls_cipher_cmac_finish()
310 state = cmac_ctx->state; in mbedtls_cipher_cmac_finish()
[all …]
A Dcipher.c199 if( ctx->cmac_ctx ) in mbedtls_cipher_free()
201 mbedtls_platform_zeroize( ctx->cmac_ctx, in mbedtls_cipher_free()
203 mbedtls_free( ctx->cmac_ctx ); in mbedtls_cipher_free()
/mbedtls-development/include/mbedtls/
A Dcipher.h360 mbedtls_cmac_context_t *MBEDTLS_PRIVATE(cmac_ctx);

Completed in 13 milliseconds