Home
last modified time | relevance | path

Searched refs:xts_ctx (Results 1 – 2 of 2) sorted by relevance

/mbedtls-3.5.0/library/
Dcipher_wrap.c166 mbedtls_aes_xts_context *xts_ctx = ctx; in aes_crypt_xts_wrap() local
180 return mbedtls_aes_crypt_xts(xts_ctx, mode, length, in aes_crypt_xts_wrap()
420 mbedtls_aes_xts_context *xts_ctx = ctx; in xts_aes_setkey_enc_wrap() local
421 return mbedtls_aes_xts_setkey_enc(xts_ctx, key, key_bitlen); in xts_aes_setkey_enc_wrap()
427 mbedtls_aes_xts_context *xts_ctx = ctx; in xts_aes_setkey_dec_wrap() local
428 return mbedtls_aes_xts_setkey_dec(xts_ctx, key, key_bitlen); in xts_aes_setkey_dec_wrap()
433 mbedtls_aes_xts_context *xts_ctx = mbedtls_calloc(1, sizeof(*xts_ctx)); in xts_aes_ctx_alloc() local
435 if (xts_ctx != NULL) { in xts_aes_ctx_alloc()
436 mbedtls_aes_xts_init(xts_ctx); in xts_aes_ctx_alloc()
439 return xts_ctx; in xts_aes_ctx_alloc()
[all …]
/mbedtls-3.5.0/tests/suites/
Dtest_suite_aes.function438 mbedtls_aes_xts_context xts_ctx;
441 mbedtls_aes_crypt_xts(&xts_ctx, invalid_mode, 16,
474 mbedtls_aes_xts_context xts_ctx;
493 TEST_ASSERT(mbedtls_aes_crypt_xts(&xts_ctx, MBEDTLS_AES_ENCRYPT,
497 TEST_ASSERT(mbedtls_aes_crypt_xts(&xts_ctx, MBEDTLS_AES_ENCRYPT,