@@ -485,8 +485,8 @@ macro_rules! define_aes_impl {
485485 unsafe {
486486 let simd_256_keys = self
487487 . simd_256_keys
488- . get_or_init( || vaes256:: $module :: broadcast_keys( & self . keys) ) ;
489- vaes256:: $module :: encrypt30( simd_256_keys, blocks) ;
488+ . get_or_init( || vaes256:: encdec :: broadcast_keys( & self . keys) ) ;
489+ vaes256:: encdec :: encrypt30( simd_256_keys, blocks) ;
490490 }
491491 }
492492 #[ inline]
@@ -527,8 +527,8 @@ macro_rules! define_aes_impl {
527527 unsafe {
528528 let simd_512_keys = self
529529 . simd_512_keys
530- . get_or_init( || vaes512:: $module :: broadcast_keys( & self . keys) ) ;
531- vaes512:: $module :: encrypt64( simd_512_keys, blocks) ;
530+ . get_or_init( || vaes512:: encdec :: broadcast_keys( & self . keys) ) ;
531+ vaes512:: encdec :: encrypt64( simd_512_keys, blocks) ;
532532 }
533533 }
534534 #[ inline]
@@ -595,8 +595,8 @@ macro_rules! define_aes_impl {
595595 unsafe {
596596 let simd_256_keys = self
597597 . simd_256_keys
598- . get_or_init( || vaes256:: $module :: broadcast_keys( & self . keys) ) ;
599- vaes256:: $module :: decrypt30( simd_256_keys, blocks) ;
598+ . get_or_init( || vaes256:: encdec :: broadcast_keys( & self . keys) ) ;
599+ vaes256:: encdec :: decrypt30( simd_256_keys, blocks) ;
600600 }
601601 }
602602 #[ inline]
@@ -637,8 +637,8 @@ macro_rules! define_aes_impl {
637637 unsafe {
638638 let simd_512_keys = self
639639 . simd_512_keys
640- . get_or_init( || vaes512:: $module :: broadcast_keys( & self . keys) ) ;
641- vaes512:: $module :: decrypt64( simd_512_keys, blocks) ;
640+ . get_or_init( || vaes512:: encdec :: broadcast_keys( & self . keys) ) ;
641+ vaes512:: encdec :: decrypt64( simd_512_keys, blocks) ;
642642 }
643643 }
644644 #[ inline]
0 commit comments