This file is indexed.

/usr/include/NTL/vec_ZZ_p.h is in libntl-dev 5.5.2-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
#ifndef NTL_vec_ZZ_p__H
#define NTL_vec_ZZ_p__H

#include <NTL/ZZ_p.h>
#include <NTL/vec_ZZ.h>

NTL_OPEN_NNS

NTL_vector_decl(ZZ_p,vec_ZZ_p)

NTL_io_vector_decl(ZZ_p,vec_ZZ_p)

NTL_eq_vector_decl(ZZ_p,vec_ZZ_p)

void conv(vec_ZZ_p& x, const vec_ZZ& a);
inline vec_ZZ_p to_vec_ZZ_p(const vec_ZZ& a)
   { vec_ZZ_p x; conv(x, a); NTL_OPT_RETURN(vec_ZZ_p, x); }


void conv(vec_ZZ& x, const vec_ZZ_p& a);
inline vec_ZZ to_vec_ZZ(const vec_ZZ_p& a)
   { vec_ZZ x; conv(x, a); NTL_OPT_RETURN(vec_ZZ, x); }


void mul(vec_ZZ_p& x, const vec_ZZ_p& a, const ZZ_p& b);
inline void mul(vec_ZZ_p& x, const ZZ_p& a, const vec_ZZ_p& b)
   { mul(x, b, a); }

void mul(vec_ZZ_p& x, const vec_ZZ_p& a, long b);
inline void mul(vec_ZZ_p& x, long a, const vec_ZZ_p& b)
   { mul(x, b, a); }

void add(vec_ZZ_p& x, const vec_ZZ_p& a, const vec_ZZ_p& b);

void sub(vec_ZZ_p& x, const vec_ZZ_p& a, const vec_ZZ_p& b);
void clear(vec_ZZ_p& x);
void negate(vec_ZZ_p& x, const vec_ZZ_p& a);




void InnerProduct(ZZ_p& x, const vec_ZZ_p& a, const vec_ZZ_p& b);
void InnerProduct(ZZ_p& x, const vec_ZZ_p& a, const vec_ZZ_p& b,
                  long offset);

long IsZero(const vec_ZZ_p& a);

void VectorCopy(vec_ZZ_p& x, const vec_ZZ_p& a, long n);
inline vec_ZZ_p VectorCopy(const vec_ZZ_p& a, long n)
   { vec_ZZ_p x; VectorCopy(x, a, n); NTL_OPT_RETURN(vec_ZZ_p, x); }

vec_ZZ_p operator+(const vec_ZZ_p& a, const vec_ZZ_p& b);
vec_ZZ_p operator-(const vec_ZZ_p& a, const vec_ZZ_p& b);
vec_ZZ_p operator-(const vec_ZZ_p& a);

inline vec_ZZ_p operator*(const vec_ZZ_p& a, const ZZ_p& b)
   { vec_ZZ_p x; mul(x, a, b); NTL_OPT_RETURN(vec_ZZ_p, x); }

inline vec_ZZ_p operator*(const vec_ZZ_p& a, long b)
   { vec_ZZ_p x; mul(x, a, b); NTL_OPT_RETURN(vec_ZZ_p, x); }

inline vec_ZZ_p operator*(const ZZ_p& a, const vec_ZZ_p& b)
   { vec_ZZ_p x; mul(x, a, b); NTL_OPT_RETURN(vec_ZZ_p, x); }

inline vec_ZZ_p operator*(long a, const vec_ZZ_p& b)
   { vec_ZZ_p x; mul(x, a, b); NTL_OPT_RETURN(vec_ZZ_p, x); }

ZZ_p operator*(const vec_ZZ_p& a, const vec_ZZ_p& b);



// assignment operator notation:

inline vec_ZZ_p& operator+=(vec_ZZ_p& x, const vec_ZZ_p& a)
{ 
   add(x, x, a);
   return x;
}

inline vec_ZZ_p& operator-=(vec_ZZ_p& x, const vec_ZZ_p& a)
{ 
   sub(x, x, a);
   return x;
}

inline vec_ZZ_p& operator*=(vec_ZZ_p& x, const ZZ_p& a)
{ 
   mul(x, x, a);
   return x;
}

inline vec_ZZ_p& operator*=(vec_ZZ_p& x, long a)
{ 
   mul(x, x, a);
   return x;
}


NTL_CLOSE_NNS


#endif