Lines Matching defs:xts_ctx
214 mbedtls_aes_xts_context *xts_ctx = ctx;
228 return mbedtls_aes_crypt_xts(xts_ctx, mode, length,
482 mbedtls_aes_xts_context *xts_ctx = ctx;
483 return mbedtls_aes_xts_setkey_enc(xts_ctx, key, key_bitlen);
489 mbedtls_aes_xts_context *xts_ctx = ctx;
490 return mbedtls_aes_xts_setkey_dec(xts_ctx, key, key_bitlen);
495 mbedtls_aes_xts_context *xts_ctx = mbedtls_calloc(1, sizeof(*xts_ctx));
497 if (xts_ctx != NULL) {
498 mbedtls_aes_xts_init(xts_ctx);
501 return xts_ctx;
506 mbedtls_aes_xts_context *xts_ctx = ctx;
508 if (xts_ctx == NULL) {
512 mbedtls_aes_xts_free(xts_ctx);
513 mbedtls_free(xts_ctx);