Lines Matching refs:aes_ctx
77 mbedtls_aes_init(&ctx->aes_ctx);
106 mbedtls_aes_free(&ctx->aes_ctx);
172 mbedtls_aes_context aes_ctx;
213 mbedtls_aes_init(&aes_ctx);
215 if ((ret = mbedtls_aes_setkey_enc(&aes_ctx, key,
242 if ((ret = mbedtls_aes_crypt_ecb(&aes_ctx, MBEDTLS_AES_ENCRYPT,
268 if ((ret = mbedtls_aes_setkey_enc(&aes_ctx, tmp,
286 if ((ret = mbedtls_aes_crypt_ecb(&aes_ctx, MBEDTLS_AES_ENCRYPT,
303 mbedtls_aes_free(&aes_ctx);
329 * ctx->aes_ctx = Key
356 if ((ret = mbedtls_aes_crypt_ecb(&ctx->aes_ctx, MBEDTLS_AES_ENCRYPT,
378 if ((ret = mbedtls_aes_setkey_enc(&ctx->aes_ctx, tmp,
406 * ctx->aes_ctx = context from all-bits-0 key
568 if ((ret = mbedtls_aes_setkey_enc(&ctx->aes_ctx, key,
659 if ((ret = mbedtls_aes_crypt_ecb(&ctx->aes_ctx, MBEDTLS_AES_ENCRYPT,