Searched refs:base32Len (Results 1 – 3 of 3) sorted by relevance
694 const int base32Len = strcspn(buf, "\n"); in get_shared_secret() local697 if (base32Len > 100000) { in get_shared_secret()701 *secretLen = (base32Len*5 + 7)/8; in get_shared_secret()702 uint8_t *secret = malloc(base32Len + 1); in get_shared_secret()707 memcpy(secret, buf, base32Len); in get_shared_secret()708 secret[base32Len] = '\000'; in get_shared_secret()709 if ((*secretLen = base32_decode(secret, secret, base32Len)) < 1) { in get_shared_secret()713 explicit_bzero(secret, base32Len); in get_shared_secret()717 memset(secret + *secretLen, 0, base32Len + 1 - *secretLen); in get_shared_secret()
68 size_t base32Len() const in base32Len() function
79 size_t len = hash.base32Len(); in printHash32()173 else if (!isSRI && size == base32Len()) { in Hash()