/external/python/cryptography/tests/ |
D | utils.py | 116 vectors = [] 141 vectors.append(KeyedHashVector(msg, md, key)) 146 vectors.append(HashVector(msg, md)) 151 return vectors 164 vectors = [] 241 vectors.append( 285 return vectors 355 vectors = [] 363 vectors.append({'p': int(line.split("=")[1], 16)}) 365 vectors[-1]['q'] = int(line.split("=")[1], 16) [all …]
|
/external/eigen/Eigen/src/Householder/ |
D | BlockHouseholder.h | 51 …er_triangular_factor(TriangularFactorType& triFactor, const VectorsType& vectors, const CoeffsType… in make_block_householder_triangular_factor() argument 53 const Index nbVecs = vectors.cols(); in make_block_householder_triangular_factor() 54 eigen_assert(triFactor.rows() == nbVecs && triFactor.cols() == nbVecs && vectors.rows()>=nbVecs); in make_block_householder_triangular_factor() 58 Index rs = vectors.rows() - i - 1; in make_block_householder_triangular_factor() 63 triFactor.row(i).tail(rt).noalias() = -hCoeffs(i) * vectors.col(i).tail(rs).adjoint() in make_block_householder_triangular_factor() 64 … * vectors.bottomRightCorner(rs, rt).template triangularView<UnitLower>(); in make_block_householder_triangular_factor() 79 void apply_block_householder_on_the_left(MatrixType& mat, const VectorsType& vectors, const CoeffsT… in apply_block_householder_on_the_left() argument 82 Index nbVecs = vectors.cols(); in apply_block_householder_on_the_left() 85 if(forward) make_block_householder_triangular_factor(T, vectors, hCoeffs); in apply_block_householder_on_the_left() 86 else make_block_householder_triangular_factor(T, vectors, hCoeffs.conjugate()); in apply_block_householder_on_the_left() [all …]
|
/external/python/cryptography/docs/development/custom-vectors/ |
D | cast5.rst | 5 and CTR test vectors as well as the code used to verify them against another 6 implementation. The CBC, CFB, and OFB vectors were generated using OpenSSL and 7 the CTR vectors were generated using Apple's CommonCrypto. All the generated 8 vectors were verified with Go. 16 .. literalinclude:: /development/custom-vectors/cast5/generate_cast5.py 19 </development/custom-vectors/cast5/generate_cast5.py>` 25 The following Go code was used to verify the vectors. 27 .. literalinclude:: /development/custom-vectors/cast5/verify_cast5.go 31 </development/custom-vectors/cast5/verify_cast5.go>`
|
D | arc4.rst | 5 vectors for key lengths not available in :rfc:`6229`. All the vectors 15 .. literalinclude:: /development/custom-vectors/arc4/generate_arc4.py 18 </development/custom-vectors/arc4/generate_arc4.py>` 24 The following Go code was used to verify the vectors. 26 .. literalinclude:: /development/custom-vectors/arc4/verify_arc4.go 30 </development/custom-vectors/arc4/verify_arc4.go>`
|
D | idea.rst | 5 OFB test vectors as well as the code used to verify them against another 6 implementation. The vectors were generated using OpenSSL and verified with 15 .. literalinclude:: /development/custom-vectors/idea/generate_idea.py 18 </development/custom-vectors/idea/generate_idea.py>` 24 The following Python code was used to verify the vectors using the `Botan`_ 27 .. literalinclude:: /development/custom-vectors/idea/verify_idea.py 30 </development/custom-vectors/idea/verify_idea.py>`
|
D | seed.rst | 5 test vectors as well as the code used to verify them against another 6 implementation. The vectors were generated using OpenSSL and verified 15 .. literalinclude:: /development/custom-vectors/seed/generate_seed.py 18 </development/custom-vectors/seed/generate_seed.py>` 24 The following Python code was used to verify the vectors using the `Botan`_ 27 .. literalinclude:: /development/custom-vectors/seed/verify_seed.py 30 </development/custom-vectors/seed/verify_seed.py>`
|
D | hkdf.rst | 6 the vectors were generated using OpenSSL and verified with Go. 13 .. literalinclude:: /development/custom-vectors/hkdf/generate_hkdf.py 16 </development/custom-vectors/hkdf/generate_hkdf.py>` 22 The following Go code was used to verify the vectors. 24 .. literalinclude:: /development/custom-vectors/hkdf/verify_hkdf.go 28 </development/custom-vectors/hkdf/verify_hkdf.go>`
|
D | secp256k1.rst | 5 curve test vectors as well as code used to verify them against another 12 The vectors are generated using a `pure Python ecdsa`_ implementation. The test 15 .. literalinclude:: /development/custom-vectors/secp256k1/generate_secp256k1.py 18 </development/custom-vectors/secp256k1/generate_secp256k1.py>` 27 .. literalinclude:: /development/custom-vectors/secp256k1/verify_secp256k1.py 30 </development/custom-vectors/secp256k1/verify_secp256k1.py>`
|
D | rsa-oaep-sha2.rst | 5 test vectors as well as code used to verify them against another 15 .. literalinclude:: /development/custom-vectors/rsa-oaep-sha2/generate_rsa_oaep_sha2.py 18 </development/custom-vectors/rsa-oaep-sha2/generate_rsa_oaep_sha2.py>` 25 vectors. 28 .. literalinclude:: /development/custom-vectors/rsa-oaep-sha2/VerifyRSAOAEPSHA2.java 31 </development/custom-vectors/rsa-oaep-sha2/VerifyRSAOAEPSHA2.java>` 49 Finally, run the program with the path to the SHA-2 vectors:
|
/external/llvm/test/CodeGen/Hexagon/ |
D | v60Intrins.ll | 360 @vectors = common global [15 x <16 x i32>] zeroinitializer, align 64 408 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 0), a… 414 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 0), a… 418 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 0), a… 419 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 1), a… 423 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 0), a… 424 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 1), a… 428 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 0), a… 429 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 1), a… 435 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 0), a… [all …]
|
/external/flatbuffers/tests/ |
D | native_type_test_generated.h | 64 std::vector<Native::Vector3D> vectors; member 78 const flatbuffers::Vector<const Geometry::Vector3D *> *vectors() const { in vectors() function 87 verifier.VerifyVector(vectors()) && in Verify() 99 void add_vectors(flatbuffers::Offset<flatbuffers::Vector<const Geometry::Vector3D *>> vectors) { in add_vectors() 100 fbb_.AddOffset(ApplicationData::VT_VECTORS, vectors); in add_vectors() 116 flatbuffers::Offset<flatbuffers::Vector<const Geometry::Vector3D *>> vectors = 0) { 118 builder_.add_vectors(vectors); 124 const std::vector<Geometry::Vector3D> *vectors = nullptr) { 125 auto vectors__ = vectors ? _fbb.CreateVectorOfStructs<Geometry::Vector3D>(*vectors) : 0; 142 …{ auto _e = vectors(); if (_e) { _o->vectors.resize(_e->size()); for (flatbuffers::uoffset_t _i = … in UnPackTo() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | sse_tensor_utils.cc | 98 const int8_t* __restrict__ vectors, in SseMatrixBatchVectorMultiplyAccumulateImpl() argument 120 _mm_loadu_si128(reinterpret_cast<const __m128i*>(vectors + col)); in SseMatrixBatchVectorMultiplyAccumulateImpl() 132 _mm_loadl_epi64(reinterpret_cast<const __m128i*>(vectors + col))); in SseMatrixBatchVectorMultiplyAccumulateImpl() 143 _mm_loadl_epi64(reinterpret_cast<const __m128i*>(vectors + col))); in SseMatrixBatchVectorMultiplyAccumulateImpl() 163 sum += row_ptr[col] * vectors[col]; in SseMatrixBatchVectorMultiplyAccumulateImpl() 172 vectors += m_cols; in SseMatrixBatchVectorMultiplyAccumulateImpl() 210 const int8_t* __restrict__ vectors, in SseMatrixBatchVectorMultiplyAccumulate() argument 214 matrix, m_rows, m_cols, vectors, scaling_factors, n_batch, result, in SseMatrixBatchVectorMultiplyAccumulate() 221 const int8_t* __restrict__ vectors, in SseMatrixBatchVectorMultiplyAccumulate() argument 226 SseCpuBackendGemm(vectors, bias, matrix, n_batch, m_cols, m_rows, in SseMatrixBatchVectorMultiplyAccumulate() [all …]
|
D | sse_tensor_utils_impl.h | 34 const int8_t* __restrict__ vectors, 42 const int8_t* __restrict__ vectors, 49 const int8_t* __restrict__ vectors, 59 const int m_rows, const int m_cols, const int8_t* __restrict__ vectors,
|
/external/llvm-project/llvm/test/CodeGen/Hexagon/ |
D | v60Intrins.ll | 359 @vectors = common global [15 x <16 x i32>] zeroinitializer, align 64 407 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 0), a… 413 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 0), a… 417 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 0), a… 418 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 1), a… 422 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 0), a… 423 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 1), a… 427 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 0), a… 428 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 1), a… 434 …6 x i32>* getelementptr inbounds ([15 x <16 x i32>], [15 x <16 x i32>]* @vectors, i32 0, i32 0), a… [all …]
|
/external/skia/docs/examples/ |
D | Point_dot.cpp | 10 SkVector vectors[][2] = {{{50, 2}, {-14, 20}}, {{0, 50}, {-50, 0}}, {{-20, 25}, {25, -20}}, 15 canvas->drawLine(center[i], center[i] + vectors[i][0], paint); 16 canvas->drawLine(center[i], center[i] + vectors[i][1], paint); 18 str.printf("dot = %g", vectors[i][0].dot(vectors[i][1]));
|
D | Point_DotProduct.cpp | 10 SkVector vectors[][2] = {{{50, 2}, {-14, 20}}, {{0, 50}, {-50, 0}}, {{-20, 25}, {25, -20}}, 15 canvas->drawLine(center[i], center[i] + vectors[i][0], paint); 16 canvas->drawLine(center[i], center[i] + vectors[i][1], paint); 18 str.printf("dot = %g", SkPoint::DotProduct(vectors[i][0], vectors[i][1]));
|
D | Point_cross.cpp | 10 SkVector vectors[][2] = {{{50, 2}, {-14, 20}}, {{0, 50}, {-50, 0}}, {{-20, 25}, {25, -20}}, 16 canvas->drawLine(center[i], center[i] + vectors[i][0], paint); 18 canvas->drawLine(center[i], center[i] + vectors[i][1], paint); 20 SkScalar cross = vectors[i][0].cross(vectors[i][1]);
|
D | Point_CrossProduct.cpp | 10 SkVector vectors[][2] = {{{50, 2}, {-14, 20}}, {{0, 50}, {-50, 0}}, {{-20, 25}, {25, -20}}, 16 canvas->drawLine(center[i], center[i] + vectors[i][0], paint); 18 canvas->drawLine(center[i], center[i] + vectors[i][1], paint); 20 SkScalar cross = SkPoint::CrossProduct(vectors[i][1], vectors[i][0]);
|
/external/python/cryptography/docs/development/ |
D | test-vectors.rst | 1 Test vectors 5 backend requires trusted test vectors. Where possible these vectors are 7 not possible ``cryptography`` has chosen to create a set of custom vectors 20 We run vectors from `Project Wycheproof`_ -- a collection of known edge-cases 25 We have ensured all test vectors are used as of commit 33 * RSA FIPS 186-2 and PKCS1 v1.5 vulnerability test vectors from `NIST CAVP`_. 34 * FIPS 186-2 and FIPS 186-3 DSA test vectors from `NIST CAVP`_. 35 * FIPS 186-2 and FIPS 186-3 ECDSA test vectors from `NIST CAVP`_. 36 * DH and ECDH and ECDH+KDF(17.4) test vectors from `NIST CAVP`_. 37 * Ed25519 test vectors from the `Ed25519 website_`. [all …]
|
/external/rust/crates/ring/src/arithmetic/ |
D | bigint_elem_exp_vartime_tests.txt | 3 # These test vectors satisfy A ^ E = ModExp (mod M) and 0 <= ModExp < M. 4 # Additionally, These test vectors satisfy the following constraints: 10 # XXX: Unfortunately, the above criteria exclude all BoringSSL test vectors; 11 # i.e. none of the BoringSSL test vectors were suitable for testing the 13 # new test vectors.
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_SdcaOptimizerV2.pbtxt | 7 a list of vectors which contain example indices. 13 a list of vectors which contain feature indices. 19 a list of vectors which contains feature value 46 a list of vectors where each value is the indices which has 54 a list of vectors where each value is the weight associated with 61 a list of vectors where the values are the weights associated 68 a list of vectors containing the example state data. 74 a list of vectors containing the updated example state 81 a list of vectors where each value is the delta 88 a list of vectors where the values are the delta
|
D | api_def_SdcaOptimizer.pbtxt | 6 a list of vectors which contain example indices. 12 a list of vectors which contain feature indices. 18 a list of vectors which contains feature value 45 a list of vectors where each value is the indices which has 53 a list of vectors where each value is the weight associated with 60 a list of vectors where the values are the weights associated 67 a list of vectors containing the example state data. 73 a list of vectors containing the updated example state 80 a list of vectors where each value is the delta 87 a list of vectors where the values are the delta
|
D | api_def_Cross.pbtxt | 6 A tensor containing 3-element vectors. 18 Pairwise cross product of the vectors in `a` and `b`. 23 `a` and `b` must be the same shape; they can either be simple 3-element vectors, 25 of corresponding 3-element vectors is cross-multiplied independently.
|
/external/llvm-project/llvm/test/Verifier/ |
D | scalable-global-vars.ll | 3 ;; Global variables cannot be scalable vectors, since we don't 6 ; CHECK: Globals cannot contain scalable vectors 10 ;; Global _pointers_ to scalable vectors are fine 11 ; CHECK-NOT: Globals cannot contain scalable vectors
|
/external/skia/src/gpu/tessellate/ |
D | GrVectorXform.h | 51 float4 operator()(float4 vectors) const { in operator() 54 return vectors; in operator() 56 return vectors * fScaleXYXY; in operator() 58 return fScaleXYXY * vectors + fSkewXYXY * skvx::shuffle<1,0,3,2>(vectors); in operator()
|