Lines Matching refs:zip

188   uint8_t zip[6];  member
724 uint8_t zip[6]) in cs_str_to_zip()
761 zip[0] = (uint8_t) (indexes[0] << 2 | (indexes[1] & 0x3F) >> 4); in cs_str_to_zip()
762 zip[1] = (uint8_t) (indexes[1] << 4 | (indexes[2] & 0x3F) >> 2); in cs_str_to_zip()
763 zip[2] = (uint8_t) (indexes[2] << 6 | (indexes[3] & 0x3F)); in cs_str_to_zip()
764 zip[3] = (uint8_t) (indexes[4] << 2 | (indexes[5] & 0x3F) >> 4); in cs_str_to_zip()
765 zip[4] = (uint8_t) (indexes[5] << 4 | (indexes[6] & 0x3F) >> 2); in cs_str_to_zip()
766 zip[5] = (uint8_t) (indexes[6] << 6 | (indexes[7] & 0x3F)); in cs_str_to_zip()
771 static int cs_zip_to_str(const uint8_t zip[6], in cs_zip_to_str()
781 indexes[0] = zip[0] >> 2; in cs_zip_to_str()
782 indexes[1] = ((zip[0] << 4) & 0x3F) | zip[1] >> 4; in cs_zip_to_str()
783 indexes[2] = ((zip[1] << 2) & 0x3F) | zip[2] >> 6; in cs_zip_to_str()
784 indexes[3] = ((zip[2] << 0) & 0x3F); in cs_zip_to_str()
785 indexes[4] = zip[3] >> 2; in cs_zip_to_str()
786 indexes[5] = ((zip[3] << 4) & 0x3F) | zip[4] >> 4; in cs_zip_to_str()
787 indexes[6] = ((zip[4] << 2) & 0x3F) | zip[5] >> 6; in cs_zip_to_str()
788 indexes[7] = ((zip[5] << 0) & 0x3F); in cs_zip_to_str()
820 uint8_t zip[6]; in Curl_cipher_suite_lookup_id() local
822 if(cs_len > 0 && cs_str_to_zip(cs_str, cs_len, zip) == 0) { in Curl_cipher_suite_lookup_id()
824 if(memcmp(cs_list[i].zip, zip, sizeof(zip)) == 0) in Curl_cipher_suite_lookup_id()
866 if((cs_list[i].zip[0] >> 2 != CS_TXT_IDX_TLS) == !prefer_rfc) { in Curl_cipher_suite_get_str()
875 r = cs_zip_to_str(cs_list[j].zip, buf, buf_size); in Curl_cipher_suite_get_str()