Searched refs:xts_ctx (Results 1 – 2 of 2) sorted by relevance
/mbedtls-3.6.0/library/ |
D | cipher_wrap.c | 210 mbedtls_aes_xts_context *xts_ctx = ctx; in aes_crypt_xts_wrap() local 224 return mbedtls_aes_crypt_xts(xts_ctx, mode, length, in aes_crypt_xts_wrap() 474 mbedtls_aes_xts_context *xts_ctx = ctx; in xts_aes_setkey_enc_wrap() local 475 return mbedtls_aes_xts_setkey_enc(xts_ctx, key, key_bitlen); in xts_aes_setkey_enc_wrap() 481 mbedtls_aes_xts_context *xts_ctx = ctx; in xts_aes_setkey_dec_wrap() local 482 return mbedtls_aes_xts_setkey_dec(xts_ctx, key, key_bitlen); in xts_aes_setkey_dec_wrap() 487 mbedtls_aes_xts_context *xts_ctx = mbedtls_calloc(1, sizeof(*xts_ctx)); in xts_aes_ctx_alloc() local 489 if (xts_ctx != NULL) { in xts_aes_ctx_alloc() 490 mbedtls_aes_xts_init(xts_ctx); in xts_aes_ctx_alloc() 493 return xts_ctx; in xts_aes_ctx_alloc() [all …]
|
/mbedtls-3.6.0/tests/suites/ |
D | test_suite_aes.function | 438 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,
|