Lines Matching refs:CryptoFail
131 .map_err(|_| Error::CryptoFail)?, in new()
135 .map_err(|_| Error::CryptoFail)?, in new()
173 .map_err(|_| Error::CryptoFail)?; in open_with_u64_counter()
186 .map_err(|_| Error::CryptoFail)?;
215 .map_err(|_| Error::CryptoFail)?, in new()
219 .map_err(|_| Error::CryptoFail)?, in new()
257 buf.len().checked_sub(tag_len).ok_or(Error::CryptoFail)?; in seal_with_u64_counter()
264 .map_err(|_| Error::CryptoFail)?; in seal_with_u64_counter()
280 .map_err(|_| Error::CryptoFail)?;
377 return Err(Error::CryptoFail); in derive_hdr_key()
392 return Err(Error::CryptoFail); in derive_pkt_key()
407 return Err(Error::CryptoFail); in derive_pkt_iv()
425 .map_err(|_| Error::CryptoFail)? in hkdf_expand_label()
427 .map_err(|_| Error::CryptoFail)?; in hkdf_expand_label()