Lines Matching refs:vec_try
4 use crate::{km_err, vec_try, vec_try_with_capacity, Error, FallibleAllocExt};
301 Self::Aes(OpaqueOr::Opaque(OpaqueKeyMaterial(k))) => vec_try![ in to_cbor_value()
307 Self::TripleDes(OpaqueOr::Opaque(OpaqueKeyMaterial(k))) => vec_try![ in to_cbor_value()
313 Self::Hmac(OpaqueOr::Opaque(OpaqueKeyMaterial(k))) => vec_try![ in to_cbor_value()
319 Self::Rsa(OpaqueOr::Opaque(OpaqueKeyMaterial(k))) => vec_try![ in to_cbor_value()
325 Self::Ec(curve, curve_type, OpaqueOr::Opaque(OpaqueKeyMaterial(k))) => vec_try![ in to_cbor_value()
329 vec_try![ in to_cbor_value()
339 Self::Aes(OpaqueOr::Explicit(k)) => vec_try![ in to_cbor_value()
350 Self::TripleDes(OpaqueOr::Explicit(k)) => vec_try![ in to_cbor_value()
356 Self::Hmac(OpaqueOr::Explicit(k)) => vec_try![ in to_cbor_value()
362 Self::Rsa(OpaqueOr::Explicit(k)) => vec_try![ in to_cbor_value()
368 Self::Ec(curve, curve_type, OpaqueOr::Explicit(k)) => vec_try![ in to_cbor_value()
372 vec_try![ in to_cbor_value()
437 let mut n = vec_try![0; size]?; in nonce()
509 let mut output = vec_try![0; out_len]?; in ckdf()