Conversation
cd614a8 to
08e50ca
Compare
|
ℹ️ Backward-compat snapshot: neutral changes Only neutral changes were detected. This is expected when introducing new versioned types. ➕ Neutral
If you encounter any errors or have doubts, you can verify locally by running: Where |
5b781a7 to
ec2c809
Compare
70ee626 to
6faeddf
Compare
502bcc7 to
5daf458
Compare
af695bf to
4c45454
Compare
e8d9fbb to
99b5f69
Compare
| auto active_streams_flush = | ||
| streams.active_gpu_subset(flush_ops, params.pbs_type); | ||
| this->flush_lut->broadcast_lut(active_streams_flush); | ||
| this->flush_lut->setup_gemm_batch_ks_temp_buffers(size_tracker); |
There was a problem hiding this comment.
you don't want to enable gemm anymore ?
There was a problem hiding this comment.
reminder that GEMM is useful for more than 128 PBS in the batch
There was a problem hiding this comment.
You're right, it's an oversigh. I'll fix it
| auto active_streams_and = | ||
| streams.active_gpu_subset(and_ops, params.pbs_type); | ||
| this->and_lut->broadcast_lut(active_streams_and); | ||
| this->and_lut->setup_gemm_batch_ks_temp_buffers(size_tracker); |
There was a problem hiding this comment.
you don't want gemm anymore ?
| return Err("Input key and IV must contain 128 encrypted bits.".into()); | ||
| } | ||
|
|
||
| let mut state = CudaKreyviumState { |
There was a problem hiding this comment.
the state here exists only temporarily: we are not yet able to persist (save/load) this state through serialization right ?
There was a problem hiding this comment.
Not yet indeed. This could be a topic for a next PR
| iv: &CudaUnsignedRadixCiphertext, | ||
| streams: &CudaStreams, | ||
| ) -> crate::Result<CudaTriviumState> { | ||
| let num_key_bits = 80; |
There was a problem hiding this comment.
could you add named constants somewhere instead of magic values ?
99b5f69 to
a4b8474
Compare
andrei-stoian-zama
left a comment
There was a problem hiding this comment.
do you want setup_gemm_batch_ks_temp_buffers in kreyvium too ?
@andrei-stoian-zama Yes, when I was working on it a few month ago |
a4b8474 to
9d43a82
Compare
This PR contains
about Kreyvium:
about Trivium :