mirror of
https://github.com/servo/servo
synced 2026-05-15 03:16:47 +02:00
Move some common/similar steps of the import key operations of AES-CTR, AES-CBC, AES-GCM, AES-KW and AES-OCB to the shared module `aes_common`. Some comments are also added to the shared module `aes_common` to explain the small difference in the specification of AES-OCB operations. Testing: Refactoring. Existing tests suffice. Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>