We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d63a95 commit bdef49cCopy full SHA for bdef49c
rustls-wolfcrypt-provider/src/aead/quic.rs
@@ -590,12 +590,10 @@ impl AesCipher {
590
591
// Prepare aes_object for encryption
592
ret = unsafe {
593
- wc_AesSetKey(
+ wc_AesGcmSetKey(
594
self.aes_object.as_ptr(),
595
self.key.as_ptr(),
596
self.key.len() as word32,
597
- ptr::null_mut(),
598
- 0,
599
)
600
};
601
check_if_zero(ret).unwrap();
@@ -633,12 +631,10 @@ impl AesCipher {
633
631
634
632
// Prepare aes_object for decryption
635
636
637
638
639
640
641
642
643
644
0 commit comments