mirror of
https://github.com/openssl/openssl.git
synced 2024-12-03 05:41:46 +08:00
e5b2cd5899
Added der_writer functions for writing octet string primitives. Generate OID's for key wrapping algorithms used by X942 KDF. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12554)
20 lines
742 B
Groff
20 lines
742 B
Groff
-- -------------------------------------------------------------------
|
|
-- Taken from RFC 3370, Section 4.3.1 Triple-DES Key Wrap
|
|
-- (https://tools.ietf.org/html/rfc3370)
|
|
|
|
id-alg-CMS3DESwrap OBJECT IDENTIFIER ::= {
|
|
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3) 6
|
|
}
|
|
|
|
-- -------------------------------------------------------------------
|
|
-- Taken from RFC 3394, Section 3. Object Identifiers
|
|
-- (https://tools.ietf.org/html/rfc3565)
|
|
|
|
aes OBJECT IDENTIFIER ::= {
|
|
joint-iso-itu-t(2) country(16) us(840) organization(1) gov(101) csor(3) nistAlgorithm(4) 1
|
|
}
|
|
|
|
id-aes128-wrap OBJECT IDENTIFIER ::= { aes 5 }
|
|
id-aes192-wrap OBJECT IDENTIFIER ::= { aes 25 }
|
|
id-aes256-wrap OBJECT IDENTIFIER ::= { aes 45 }
|