Lines Matching refs:b64_enc
299 unsigned char b64_enc[MAX_ENCODED_PASSWD_LEN]; in print_encrypted_password() local
307 len = pg_b64_encode((const char *) ciphertext, cypher_len, (char *) b64_enc); in print_encrypted_password()
308 b64_enc[len] = 0; in print_encrypted_password()
309 fprintf(stdout, "\n%s\n", b64_enc); in print_encrypted_password()
310 fprintf(stdout, "pool_passwd string: AES%s\n", b64_enc); in print_encrypted_password()
316 len = pg_b64_decode(b64_enc, len, b64_dec); in print_encrypted_password()
407 unsigned char b64_enc[MAX_ENCODED_PASSWD_LEN]; in update_pool_passwd() local
449 strcpy((char *) b64_enc, (char *) PASSWORD_AES_PREFIX); in update_pool_passwd()
450 …len = pg_b64_encode((const char *) ciphertext, cypher_len, (char *) b64_enc + strlen(PASSWORD_AES_… in update_pool_passwd()
457 b64_enc[len] = 0; in update_pool_passwd()
459 pool_create_passwdent(user, (char *) b64_enc); in update_pool_passwd()