Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dcmac.c192 if( cmac_ctx == NULL ) in mbedtls_cipher_cmac_setup()
195 ctx->cmac_ctx = cmac_ctx; in mbedtls_cipher_cmac_setup()
197 mbedtls_platform_zeroize( cmac_ctx->state, sizeof( cmac_ctx->state ) ); in mbedtls_cipher_cmac_setup()
228 if( ctx->cmac_ctx != NULL ) in mbedtls_cipher_cmac_starts()
243 ctx->cmac_ctx == NULL ) in mbedtls_cipher_cmac_update()
246 cmac_ctx = ctx->cmac_ctx; in mbedtls_cipher_cmac_update()
255 memcpy( &cmac_ctx->unprocessed_block[cmac_ctx->unprocessed_len], in mbedtls_cipher_cmac_update()
292 memcpy( &cmac_ctx->unprocessed_block[cmac_ctx->unprocessed_len], in mbedtls_cipher_cmac_update()
317 cmac_ctx = ctx->cmac_ctx; in mbedtls_cipher_cmac_finish()
319 state = cmac_ctx->state; in mbedtls_cipher_cmac_finish()
[all …]
A Dcipher.c179 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()
217 if( dst->cmac_ctx != NULL && src->cmac_ctx != NULL ) in mbedtls_cipher_clone()
218 memcpy( dst->cmac_ctx, src->cmac_ctx, sizeof( mbedtls_cmac_context_t ) ); in mbedtls_cipher_clone()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dcipher.h357 mbedtls_cmac_context_t *cmac_ctx; member

Completed in 9 milliseconds