Add XTS OIDs from HEAD.

This commit is contained in:
Dr. Stephen Henson 2011-08-11 22:51:37 +00:00
parent dc01af7723
commit 0209e111f6
5 changed files with 22 additions and 4 deletions

View File

@ -62,9 +62,9 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#define NUM_NID 913 #define NUM_NID 915
#define NUM_SN 906 #define NUM_SN 908
#define NUM_LN 906 #define NUM_LN 908
#define NUM_OBJ 856 #define NUM_OBJ 856
static const unsigned char lvalues[5971]={ static const unsigned char lvalues[5971]={
@ -2395,6 +2395,8 @@ static const ASN1_OBJECT nid_objs[NUM_NID]={
NID_anyExtendedKeyUsage,4,&(lvalues[5948]),0}, NID_anyExtendedKeyUsage,4,&(lvalues[5948]),0},
{"MGF1","mgf1",NID_mgf1,9,&(lvalues[5952]),0}, {"MGF1","mgf1",NID_mgf1,9,&(lvalues[5952]),0},
{"RSASSA-PSS","rsassaPss",NID_rsassaPss,9,&(lvalues[5961]),0}, {"RSASSA-PSS","rsassaPss",NID_rsassaPss,9,&(lvalues[5961]),0},
{"AES-128-XTS","aes-128-xts",NID_aes_128_xts,0,NULL,0},
{"AES-256-XTS","aes-256-xts",NID_aes_256_xts,0,NULL,0},
}; };
static const unsigned int sn_objs[NUM_SN]={ static const unsigned int sn_objs[NUM_SN]={
@ -2406,6 +2408,7 @@ static const unsigned int sn_objs[NUM_SN]={
904, /* "AES-128-CTR" */ 904, /* "AES-128-CTR" */
418, /* "AES-128-ECB" */ 418, /* "AES-128-ECB" */
420, /* "AES-128-OFB" */ 420, /* "AES-128-OFB" */
913, /* "AES-128-XTS" */
423, /* "AES-192-CBC" */ 423, /* "AES-192-CBC" */
425, /* "AES-192-CFB" */ 425, /* "AES-192-CFB" */
651, /* "AES-192-CFB1" */ 651, /* "AES-192-CFB1" */
@ -2420,6 +2423,7 @@ static const unsigned int sn_objs[NUM_SN]={
906, /* "AES-256-CTR" */ 906, /* "AES-256-CTR" */
426, /* "AES-256-ECB" */ 426, /* "AES-256-ECB" */
428, /* "AES-256-OFB" */ 428, /* "AES-256-OFB" */
914, /* "AES-256-XTS" */
91, /* "BF-CBC" */ 91, /* "BF-CBC" */
93, /* "BF-CFB" */ 93, /* "BF-CFB" */
92, /* "BF-ECB" */ 92, /* "BF-ECB" */
@ -3459,6 +3463,7 @@ static const unsigned int ln_objs[NUM_LN]={
418, /* "aes-128-ecb" */ 418, /* "aes-128-ecb" */
895, /* "aes-128-gcm" */ 895, /* "aes-128-gcm" */
420, /* "aes-128-ofb" */ 420, /* "aes-128-ofb" */
913, /* "aes-128-xts" */
423, /* "aes-192-cbc" */ 423, /* "aes-192-cbc" */
899, /* "aes-192-ccm" */ 899, /* "aes-192-ccm" */
425, /* "aes-192-cfb" */ 425, /* "aes-192-cfb" */
@ -3477,6 +3482,7 @@ static const unsigned int ln_objs[NUM_LN]={
426, /* "aes-256-ecb" */ 426, /* "aes-256-ecb" */
901, /* "aes-256-gcm" */ 901, /* "aes-256-gcm" */
428, /* "aes-256-ofb" */ 428, /* "aes-256-ofb" */
914, /* "aes-256-xts" */
376, /* "algorithm" */ 376, /* "algorithm" */
484, /* "associatedDomain" */ 484, /* "associatedDomain" */
485, /* "associatedName" */ 485, /* "associatedName" */

View File

@ -2735,6 +2735,14 @@
#define LN_aes_256_ctr "aes-256-ctr" #define LN_aes_256_ctr "aes-256-ctr"
#define NID_aes_256_ctr 906 #define NID_aes_256_ctr 906
#define SN_aes_128_xts "AES-128-XTS"
#define LN_aes_128_xts "aes-128-xts"
#define NID_aes_128_xts 913
#define SN_aes_256_xts "AES-256-XTS"
#define LN_aes_256_xts "aes-256-xts"
#define NID_aes_256_xts 914
#define SN_des_cfb1 "DES-CFB1" #define SN_des_cfb1 "DES-CFB1"
#define LN_des_cfb1 "des-cfb1" #define LN_des_cfb1 "des-cfb1"
#define NID_des_cfb1 656 #define NID_des_cfb1 656

View File

@ -910,3 +910,5 @@ id_camellia256_wrap 909
anyExtendedKeyUsage 910 anyExtendedKeyUsage 910
mgf1 911 mgf1 911
rsassaPss 912 rsassaPss 912
aes_128_xts 913
aes_256_xts 914

View File

@ -1,4 +1,4 @@
/* AUTOGENERATED BY crypto/objects/objxref.pl, DO NOT EDIT */ /* AUTOGENERATED BY objxref.pl, DO NOT EDIT */
typedef struct typedef struct
{ {

View File

@ -892,6 +892,8 @@ aes 48 : id-aes256-wrap-pad
: AES-128-CTR : aes-128-ctr : AES-128-CTR : aes-128-ctr
: AES-192-CTR : aes-192-ctr : AES-192-CTR : aes-192-ctr
: AES-256-CTR : aes-256-ctr : AES-256-CTR : aes-256-ctr
: AES-128-XTS : aes-128-xts
: AES-256-XTS : aes-256-xts
: DES-CFB1 : des-cfb1 : DES-CFB1 : des-cfb1
: DES-CFB8 : des-cfb8 : DES-CFB8 : des-cfb8
: DES-EDE3-CFB1 : des-ede3-cfb1 : DES-EDE3-CFB1 : des-ede3-cfb1