Home
last modified time | relevance | path

Searched refs:b64len (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/cachefiles/
H A Dkey.c42 unsigned int b64len, len, print, pad; in cachefiles_cook_key() local
81 b64len = DIV_ROUND_UP(keylen, 3); in cachefiles_cook_key()
82 pad = b64len * 3 - keylen; in cachefiles_cook_key()
83 b64len = 2 + b64len * 4; /* Length if we base64-encode it */ in cachefiles_cook_key()
84 _debug("len=%u nbe=%u nle=%u b64=%u", keylen, nbe, nle, b64len); in cachefiles_cook_key()
85 if (nbe < b64len || nle < b64len) { in cachefiles_cook_key()
107 name = kmalloc(b64len + 1, GFP_KERNEL); in cachefiles_cook_key()