Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/library/
Dcipher_wrap.c214 mbedtls_aes_xts_context *xts_ctx = ctx; in aes_crypt_xts_wrap() local
228 return mbedtls_aes_crypt_xts(xts_ctx, mode, length, in aes_crypt_xts_wrap()
482 mbedtls_aes_xts_context *xts_ctx = ctx; in xts_aes_setkey_enc_wrap() local
483 return mbedtls_aes_xts_setkey_enc(xts_ctx, key, key_bitlen); in xts_aes_setkey_enc_wrap()
489 mbedtls_aes_xts_context *xts_ctx = ctx; in xts_aes_setkey_dec_wrap() local
490 return mbedtls_aes_xts_setkey_dec(xts_ctx, key, key_bitlen); in xts_aes_setkey_dec_wrap()
495 mbedtls_aes_xts_context *xts_ctx = mbedtls_calloc(1, sizeof(*xts_ctx)); in xts_aes_ctx_alloc() local
497 if (xts_ctx != NULL) { in xts_aes_ctx_alloc()
498 mbedtls_aes_xts_init(xts_ctx); in xts_aes_ctx_alloc()
501 return xts_ctx; in xts_aes_ctx_alloc()
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_aes.function558 mbedtls_aes_xts_context xts_ctx;
561 mbedtls_aes_crypt_xts(&xts_ctx, invalid_mode, 16,
594 mbedtls_aes_xts_context xts_ctx;
613 TEST_ASSERT(mbedtls_aes_crypt_xts(&xts_ctx, MBEDTLS_AES_ENCRYPT,
617 TEST_ASSERT(mbedtls_aes_crypt_xts(&xts_ctx, MBEDTLS_AES_ENCRYPT,