Home
last modified time | relevance | path

Searched refs:Vector128 (Results 1 – 4 of 4) sorted by relevance

/third_party/abseil-cpp/absl/random/internal/
Dranden_hwaes.cc160 using Vector128 = __vector unsigned long long; // NOLINT(runtime/int) typedef
163 inline ABSL_TARGET_CRYPTO Vector128 ReverseBytes(const Vector128& v) { in ReverseBytes()
173 inline ABSL_TARGET_CRYPTO Vector128 Vector128Load(const void* from) { in Vector128Load()
174 return vec_vsx_ld(0, reinterpret_cast<const Vector128*>(from)); in Vector128Load()
177 inline ABSL_TARGET_CRYPTO void Vector128Store(const Vector128& v, void* to) { in Vector128Store()
178 vec_vsx_st(v, 0, reinterpret_cast<Vector128*>(to)); in Vector128Store()
183 inline ABSL_TARGET_CRYPTO Vector128 AesRound(const Vector128& state, in AesRound()
184 const Vector128& round_key) { in AesRound()
185 return Vector128(__builtin_crypto_vcipher(state, round_key)); in AesRound()
232 using Vector128 = uint8x16_t; typedef
[all …]
Dranden_slow.cc231 struct alignas(16) Vector128 { struct
235 inline ABSL_RANDOM_INTERNAL_ATTRIBUTE_ALWAYS_INLINE Vector128
237 Vector128 result; in Vector128Load()
259 const Vector128& v, void* to) { in Vector128Store()
281 inline ABSL_RANDOM_INTERNAL_ATTRIBUTE_ALWAYS_INLINE Vector128
282 AesRound(const Vector128& state, const Vector128& round_key) { in AesRound()
283 Vector128 result; in AesRound()
378 const Vector128 s0 = Vector128Load(state + branch); in FeistelRound()
379 const Vector128 s1 = Vector128Load(state + branch + 1); in FeistelRound()
380 const Vector128 f0 = AesRound(s0, Vector128Load(keys)); in FeistelRound()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dranden_hwaes.cc126 using Vector128 = __vector unsigned long long; // NOLINT(runtime/int) typedef
129 inline ABSL_TARGET_CRYPTO Vector128 ReverseBytes(const Vector128& v) { in ReverseBytes()
139 inline ABSL_TARGET_CRYPTO Vector128 Vector128Load(const void* from) { in Vector128Load()
140 return vec_vsx_ld(0, reinterpret_cast<const Vector128*>(from)); in Vector128Load()
143 inline ABSL_TARGET_CRYPTO void Vector128Store(const Vector128& v, void* to) { in Vector128Store()
144 vec_vsx_st(v, 0, reinterpret_cast<Vector128*>(to)); in Vector128Store()
149 inline ABSL_TARGET_CRYPTO Vector128 AesRound(const Vector128& state, in AesRound()
150 const Vector128& round_key) { in AesRound()
151 return Vector128(__builtin_crypto_vcipher(state, round_key)); in AesRound()
182 using Vector128 = uint8x16_t; typedef
[all …]
Dranden_slow.cc234 struct alignas(16) Vector128 { struct
238 inline ABSL_RANDOM_INTERNAL_ATTRIBUTE_ALWAYS_INLINE Vector128
240 Vector128 result; in Vector128Load()
241 std::memcpy(result.s, from, sizeof(Vector128)); in Vector128Load()
246 const Vector128& v, void* to) { in Vector128Store()
247 std::memcpy(to, v.s, sizeof(Vector128)); in Vector128Store()
252 inline ABSL_RANDOM_INTERNAL_ATTRIBUTE_ALWAYS_INLINE Vector128
253 AesRound(const Vector128& state, const Vector128& round_key) { in AesRound()
254 Vector128 result; in AesRound()
367 const Vector128 s0 = Vector128Load(state + branch); in FeistelRound()
[all …]