Lines Matching refs:ctx
56 mbedtls_ccm_init(&operation->ctx.ccm);
58 mbedtls_ccm_setkey(&operation->ctx.ccm, cipher_id,
76 mbedtls_gcm_init(&operation->ctx.gcm);
78 mbedtls_gcm_setkey(&operation->ctx.gcm, cipher_id,
94 mbedtls_chachapoly_init(&operation->ctx.chachapoly);
96 mbedtls_chachapoly_setkey(&operation->ctx.chachapoly,
148 mbedtls_ccm_encrypt_and_tag(&operation.ctx.ccm,
160 mbedtls_gcm_crypt_and_tag(&operation.ctx.gcm,
176 mbedtls_chachapoly_encrypt_and_tag(&operation.ctx.chachapoly,
259 mbedtls_ccm_auth_decrypt(&operation.ctx.ccm,
271 mbedtls_gcm_auth_decrypt(&operation.ctx.gcm,
287 mbedtls_chachapoly_auth_decrypt(&operation.ctx.chachapoly,
372 mbedtls_gcm_starts(&operation->ctx.gcm,
382 mbedtls_ccm_starts(&operation->ctx.ccm,
401 mbedtls_chachapoly_starts(&operation->ctx.chachapoly,
428 mbedtls_ccm_set_lengths(&operation->ctx.ccm,
454 mbedtls_gcm_update_ad(&operation->ctx.gcm, input, input_length));
460 mbedtls_ccm_update_ad(&operation->ctx.ccm, input, input_length));
466 mbedtls_chachapoly_update_aad(&operation->ctx.chachapoly,
500 mbedtls_gcm_update(&operation->ctx.gcm,
513 mbedtls_ccm_update(&operation->ctx.ccm,
526 mbedtls_chachapoly_update(&operation->ctx.chachapoly,
568 mbedtls_gcm_finish(&operation->ctx.gcm,
582 mbedtls_ccm_finish(&operation->ctx.ccm,
597 mbedtls_chachapoly_finish(&operation->ctx.chachapoly,
629 mbedtls_ccm_free(&operation->ctx.ccm);
634 mbedtls_gcm_free(&operation->ctx.gcm);
639 mbedtls_chachapoly_free(&operation->ctx.chachapoly);