Searched refs:encode_base64 (Results 1 – 2 of 2) sorted by relevance
/freebsd/secure/lib/libcrypt/ |
H A D | crypt-blowfish.c | 73 static void encode_base64(u_int8_t *, u_int8_t *, u_int16_t); 254 encode_base64((u_int8_t *)buffer, csalt, BCRYPT_MAXSALT); in crypt_blowfish() 256 encode_base64((u_int8_t *)buffer, ciphertext, 4 * BCRYPT_BLOCKS - 1); in crypt_blowfish() 265 encode_base64(u_int8_t *buffer, u_int8_t *data, u_int16_t len) in encode_base64() function
|
/freebsd/contrib/wireguard-tools/ |
H A D | encoding.c | 11 static inline void encode_base64(char dest[static 4], const uint8_t src[static 3]) in encode_base64() function 29 encode_base64(&base64[i * 4], &key[i * 3]); in key_to_base64() 30 encode_base64(&base64[i * 4], (const uint8_t[]){ key[i * 3 + 0], key[i * 3 + 1], 0 }); in key_to_base64()
|