Home
last modified time | relevance | path

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

/net-tools-3.4.0/mbedtls-2.4.0/library/
Dcmac.c206 mbedtls_cmac_context_t *cmac_ctx; in mbedtls_cipher_cmac_starts() local
231 cmac_ctx = mbedtls_calloc( 1, sizeof( mbedtls_cmac_context_t ) ); in mbedtls_cipher_cmac_starts()
232 if( cmac_ctx == NULL ) in mbedtls_cipher_cmac_starts()
235 ctx->cmac_ctx = cmac_ctx; in mbedtls_cipher_cmac_starts()
237 mbedtls_zeroize( cmac_ctx->state, sizeof( cmac_ctx->state ) ); in mbedtls_cipher_cmac_starts()
245 mbedtls_cmac_context_t* cmac_ctx; in mbedtls_cipher_cmac_update() local
251 ctx->cmac_ctx == NULL ) in mbedtls_cipher_cmac_update()
254 cmac_ctx = ctx->cmac_ctx; in mbedtls_cipher_cmac_update()
256 state = ctx->cmac_ctx->state; in mbedtls_cipher_cmac_update()
260 if( cmac_ctx->unprocessed_len > 0 && in mbedtls_cipher_cmac_update()
[all …]
Dcipher.c142 if( ctx->cmac_ctx ) in mbedtls_cipher_free()
144 mbedtls_zeroize( ctx->cmac_ctx, sizeof( mbedtls_cmac_context_t ) ); in mbedtls_cipher_free()
145 mbedtls_free( ctx->cmac_ctx ); in mbedtls_cipher_free()
/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/
Dcipher.h252 mbedtls_cmac_context_t *cmac_ctx; member