Lines Matching refs:ctx
272 let mut ctx = scoped::EvpHpkeCtx::new(); in new() variables
281 ctx.as_mut_ffi_ptr(), in new()
300 .map(|enc_key| (Self(ctx), enc_key)) in new()
395 let mut ctx = scoped::EvpHpkeCtx::new(); in new() variables
404 ctx.as_mut_ffi_ptr(), in new()
415 Some(Self(ctx)) in new()
608 let mut ctx = scoped::EvpHpkeCtx::new(); in new_sender_context_for_testing() variables
618 ctx.as_mut_ffi_ptr(), in new_sender_context_for_testing()
640 (SenderContext(ctx), encapsulated_key) in new_sender_context_for_testing()
652 let (mut ctx, encapsulated_key) = new_sender_context_for_testing( in seal_with_vector()
661 let ciphertext = ctx.seal(&test.plaintext, &test.associated_data); in seal_with_vector()
675 let mut ctx = RecipientContext::new( in open_with_vector() variables
683 let plaintext = ctx.open(&test.ciphertext, &test.associated_data).unwrap(); in open_with_vector()