mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add AsRef<[u8]> and TryFrom<Vec<u8>> implementations so that the tag data can be converted into base64. See: https://docs.rs/serde_with/latest/serde_with/base64/struct.Base64.html While at it, fix some typos and simplify the tag extraction. Suggested-by: Qi Feng Huo <huoqif@cn.ibm.com> Acked-by: Qi Feng Huo <huoqif@cn.ibm.com> Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>