Lines Matching refs:get
272 sig_der_length, key.rsa.get())) { in verify_file()
283 sig_der_length, key.ec.get())) { in verify_file()
342 std::reverse((uint8_t*)modulus.get(), in parse_rsa_key()
343 (uint8_t*)(modulus.get() + key_len_words)); in parse_rsa_key()
366 key->n = BN_bin2bn((uint8_t*)modulus.get(), in parse_rsa_key()
399 if (key_len_bytes != BN_num_bytes(EC_GROUP_get0_order(group.get()))) { in parse_ec_key()
421 point[i].reset(BN_bin2bn(bytes.get(), key_len_bytes, nullptr)); in parse_ec_key()
437 if (!key || !EC_KEY_set_group(key.get(), group.get()) || in parse_ec_key()
438 !EC_KEY_set_public_key_affine_coordinates(key.get(), point[0].get(), in parse_ec_key()
439 point[1].get())) { in parse_ec_key()
491 if (fscanf(f.get(), " %c", &start_char) != 1) return false; in load_keys()
499 if (fscanf(f.get(), "%d {", &version) != 1) return false; in load_keys()
526 cert.rsa = parse_rsa_key(f.get(), exponent); in load_keys()
533 cert.ec = parse_ec_key(f.get()); in load_keys()
543 int ch = fgetc(f.get()); in load_keys()