Lines Matching refs:begin_pos
944 char *stripped_pem, *begin_pos, *end_pos; in pubkey_pem_to_der() local
952 begin_pos = strstr(pem, "-----BEGIN PUBLIC KEY-----"); in pubkey_pem_to_der()
953 if(!begin_pos) in pubkey_pem_to_der()
956 pem_count = begin_pos - pem; in pubkey_pem_to_der()
1020 char *encoded = NULL, *pinkeycopy, *begin_pos, *end_pos; in Curl_pin_peer_pubkey() local
1053 begin_pos = pinkeycopy; in Curl_pin_peer_pubkey()
1055 end_pos = strstr(begin_pos, ";sha256//"); in Curl_pin_peer_pubkey()
1064 if(encodedlen == strlen(begin_pos + 8) && in Curl_pin_peer_pubkey()
1065 !memcmp(encoded, begin_pos + 8, encodedlen)) { in Curl_pin_peer_pubkey()
1076 begin_pos = strstr(end_pos, "sha256//"); in Curl_pin_peer_pubkey()
1078 } while(end_pos && begin_pos); in Curl_pin_peer_pubkey()