Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148316988
D25140.id73043.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
531 B
Referenced Files
None
Subscribers
None
D25140.id73043.diff
View Options
Index: head/sys/crypto/aesni/aesni_ccm.c
===================================================================
--- head/sys/crypto/aesni/aesni_ccm.c
+++ head/sys/crypto/aesni/aesni_ccm.c
@@ -155,7 +155,7 @@
* already partially filled, by auth_amt, so we need
* to handle that. The last block needs to be zero padded.
*/
- copy_amt = MIN(auth_len - auth_amt,
+ copy_amt = MIN(auth_len,
sizeof(staging_block) - auth_amt);
byte_ptr = (uint8_t*)&staging_block;
bcopy(auth_ptr, &byte_ptr[auth_amt], copy_amt);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 3:37 AM (17 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29875630
Default Alt Text
D25140.id73043.diff (531 B)
Attached To
Mode
D25140: Fix AES-CCM requests with an AAD size smaller than a single block.
Attached
Detach File
Event Timeline
Log In to Comment