[PATCH 04/12] lib/base64: RFC4648-compliant base64 encoding

Hannes Reinecke hare at suse.de
Tue Sep 28 00:16:34 PDT 2021


On 9/28/21 8:24 AM, Eric Biggers wrote:
> On Tue, Sep 28, 2021 at 08:03:48AM +0200, Hannes Reinecke wrote:
>> + * Return: the length of the resulting base64url-encoded string in bytes.
> 
> base64, not base64url.
> 
>> + * Decodes a string using base64url encoding, i.e. the "Base 64 Encoding"
>> + * specified by RFC 4648, including the  '='-padding.
> 
> base64, not base64url.
> 
Sheesh, you are right.

But now you know I've copied it as requested :-)

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		           Kernel Storage Architect
hare at suse.de			                  +49 911 74053 688
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), GF: Felix Imendörffer



More information about the Linux-nvme mailing list