AES padding in the kernel

A recent requirement to the ZFS Crypto project is supporting AES CBC PAD in the kernel software provider of the Cryptographic Framework. This is the first algorithms supporting padding in the kernel. The code is now in the zfs-crypto-gate and will be part of OpenSolaris when the ZFS Crypto project integrates, but it's for all to see now.

The code is written with the idea any AES algorithm could have padding, but currently CBC has been the only one implemented and tested. Something else to look at is having softtoken to use this padding instead of it's own to eliminate code duplication.

As with any development code it may not be perfect just yet.. Unit testing has proved it functional for RAW and MBLK modes..

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

izick

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today