diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/man/HMAC.3 | 7 | ||||
| -rw-r--r-- | src/lib/libcrypto/man/MD5.3 | 6 | ||||
| -rw-r--r-- | src/lib/libcrypto/man/OBJ_nid2obj.3 | 32 | ||||
| -rw-r--r-- | src/lib/libcrypto/man/OPENSSL_config.3 | 10 | ||||
| -rw-r--r-- | src/lib/libcrypto/man/OPENSSL_load_builtin_modules.3 | 6 | ||||
| -rw-r--r-- | src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 | 8 |
6 files changed, 36 insertions, 33 deletions
diff --git a/src/lib/libcrypto/man/HMAC.3 b/src/lib/libcrypto/man/HMAC.3 index fc82e77563..488a33fa80 100644 --- a/src/lib/libcrypto/man/HMAC.3 +++ b/src/lib/libcrypto/man/HMAC.3 | |||
| @@ -1,13 +1,16 @@ | |||
| 1 | .\" $OpenBSD: HMAC.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ | 1 | .\" $OpenBSD: HMAC.3,v 1.3 2016/11/22 21:38:18 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .Dd $Mdocdate: November 6 2016 $ | 3 | .Dd $Mdocdate: November 22 2016 $ |
| 4 | .Dt HMAC 3 | 4 | .Dt HMAC 3 |
| 5 | .Os | 5 | .Os |
| 6 | .Sh NAME | 6 | .Sh NAME |
| 7 | .Nm HMAC , | 7 | .Nm HMAC , |
| 8 | .Nm HMAC_CTX_Init , | ||
| 8 | .Nm HMAC_Init , | 9 | .Nm HMAC_Init , |
| 10 | .Nm HMAC_Init_ex , | ||
| 9 | .Nm HMAC_Update , | 11 | .Nm HMAC_Update , |
| 10 | .Nm HMAC_Final , | 12 | .Nm HMAC_Final , |
| 13 | .Nm HMAC_CTX_cleanup , | ||
| 11 | .Nm HMAC_cleanup | 14 | .Nm HMAC_cleanup |
| 12 | .Nd HMAC message authentication code | 15 | .Nd HMAC message authentication code |
| 13 | .Sh SYNOPSIS | 16 | .Sh SYNOPSIS |
diff --git a/src/lib/libcrypto/man/MD5.3 b/src/lib/libcrypto/man/MD5.3 index 305af8053e..98f69971b9 100644 --- a/src/lib/libcrypto/man/MD5.3 +++ b/src/lib/libcrypto/man/MD5.3 | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | .\" $OpenBSD: MD5.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ | 1 | .\" $OpenBSD: MD5.3,v 1.3 2016/11/22 21:38:18 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .Dd $Mdocdate: November 6 2016 $ | 3 | .Dd $Mdocdate: November 22 2016 $ |
| 4 | .Dt MD5 3 | 4 | .Dt MD5 3 |
| 5 | .Os | 5 | .Os |
| 6 | .Sh NAME | 6 | .Sh NAME |
| @@ -85,7 +85,7 @@ | |||
| 85 | .Fa "MD5_CTX *c" | 85 | .Fa "MD5_CTX *c" |
| 86 | .Fc | 86 | .Fc |
| 87 | .Sh DESCRIPTION | 87 | .Sh DESCRIPTION |
| 88 | MD2, MD4, and MD5 are cryptographic hash functions with a 128 bit | 88 | MD2, MD4, and MD5 are cryptographic hash functions with a 128-bit |
| 89 | output. | 89 | output. |
| 90 | .Pp | 90 | .Pp |
| 91 | .Fn MD2 , | 91 | .Fn MD2 , |
diff --git a/src/lib/libcrypto/man/OBJ_nid2obj.3 b/src/lib/libcrypto/man/OBJ_nid2obj.3 index b4149a73aa..22cc572323 100644 --- a/src/lib/libcrypto/man/OBJ_nid2obj.3 +++ b/src/lib/libcrypto/man/OBJ_nid2obj.3 | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | .\" $OpenBSD: OBJ_nid2obj.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ | 1 | .\" $OpenBSD: OBJ_nid2obj.3,v 1.3 2016/11/22 21:38:18 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .Dd $Mdocdate: November 6 2016 $ | 3 | .Dd $Mdocdate: November 22 2016 $ |
| 4 | .Dt OBJ_NID2OBJ 3 | 4 | .Dt OBJ_NID2OBJ 3 |
| 5 | .Os | 5 | .Os |
| 6 | .Sh NAME | 6 | .Sh NAME |
| @@ -8,16 +8,16 @@ | |||
| 8 | .Nm OBJ_nid2ln , | 8 | .Nm OBJ_nid2ln , |
| 9 | .Nm OBJ_nid2sn , | 9 | .Nm OBJ_nid2sn , |
| 10 | .Nm OBJ_obj2nid , | 10 | .Nm OBJ_obj2nid , |
| 11 | .Nm OBJ_txt2nid , | ||
| 12 | .Nm OBJ_ln2nid , | 11 | .Nm OBJ_ln2nid , |
| 13 | .Nm OBJ_sn2nid , | 12 | .Nm OBJ_sn2nid , |
| 14 | .Nm OBJ_cmp , | 13 | .Nm OBJ_txt2nid , |
| 15 | .Nm OBJ_dup , | ||
| 16 | .Nm OBJ_txt2obj , | 14 | .Nm OBJ_txt2obj , |
| 17 | .Nm OBJ_obj2txt , | 15 | .Nm OBJ_obj2txt , |
| 16 | .Nm OBJ_cmp , | ||
| 17 | .Nm OBJ_dup , | ||
| 18 | .Nm OBJ_create , | 18 | .Nm OBJ_create , |
| 19 | .Nm OBJ_cleanup | 19 | .Nm OBJ_cleanup |
| 20 | .Nd ASN1 object utility functions | 20 | .Nd ASN.1 object utility functions |
| 21 | .Sh SYNOPSIS | 21 | .Sh SYNOPSIS |
| 22 | .In openssl/objects.h | 22 | .In openssl/objects.h |
| 23 | .Ft ASN1_OBJECT * | 23 | .Ft ASN1_OBJECT * |
| @@ -78,9 +78,9 @@ | |||
| 78 | .Ft void | 78 | .Ft void |
| 79 | .Fn OBJ_cleanup void | 79 | .Fn OBJ_cleanup void |
| 80 | .Sh DESCRIPTION | 80 | .Sh DESCRIPTION |
| 81 | The ASN1 object utility functions process | 81 | The ASN.1 object utility functions process |
| 82 | .Vt ASN1_OBJECT | 82 | .Vt ASN1_OBJECT |
| 83 | structures which are a representation of the ASN1 OBJECT IDENTIFIER | 83 | structures which are a representation of the ASN.1 OBJECT IDENTIFIER |
| 84 | (OID) type. | 84 | (OID) type. |
| 85 | .Pp | 85 | .Pp |
| 86 | .Fn OBJ_nid2obj , | 86 | .Fn OBJ_nid2obj , |
| @@ -196,8 +196,8 @@ is only a single constant structure for each table object. | |||
| 196 | Objects which are not in the table have the NID value | 196 | Objects which are not in the table have the NID value |
| 197 | .Dv NID_undef . | 197 | .Dv NID_undef . |
| 198 | .Pp | 198 | .Pp |
| 199 | Objects do not need to be in the internal tables to be processed, the | 199 | Objects do not need to be in the internal tables to be processed: |
| 200 | functions | 200 | the functions |
| 201 | .Fn OBJ_txt2obj | 201 | .Fn OBJ_txt2obj |
| 202 | and | 202 | and |
| 203 | .Fn OBJ_obj2txt | 203 | .Fn OBJ_obj2txt |
| @@ -213,7 +213,7 @@ if an error occurred. | |||
| 213 | .Fn OBJ_nid2ln | 213 | .Fn OBJ_nid2ln |
| 214 | and | 214 | and |
| 215 | .Fn OBJ_nid2sn | 215 | .Fn OBJ_nid2sn |
| 216 | returns a valid string or | 216 | return a valid string or |
| 217 | .Dv NULL | 217 | .Dv NULL |
| 218 | on error. | 218 | on error. |
| 219 | .Pp | 219 | .Pp |
| @@ -228,20 +228,20 @@ on error. | |||
| 228 | .Sh EXAMPLES | 228 | .Sh EXAMPLES |
| 229 | Create an object for | 229 | Create an object for |
| 230 | .Sy commonName : | 230 | .Sy commonName : |
| 231 | .Bd -literal | 231 | .Bd -literal -offset indent |
| 232 | ASN1_OBJECT *o; | 232 | ASN1_OBJECT *o; |
| 233 | o = OBJ_nid2obj(NID_commonName); | 233 | o = OBJ_nid2obj(NID_commonName); |
| 234 | .Ed | 234 | .Ed |
| 235 | .Pp | 235 | .Pp |
| 236 | Check if an object is | 236 | Check if an object is |
| 237 | .Sy commonName | 237 | .Sy commonName : |
| 238 | .Bd -literal | 238 | .Bd -literal -offset indent |
| 239 | if (OBJ_obj2nid(obj) == NID_commonName) | 239 | if (OBJ_obj2nid(obj) == NID_commonName) |
| 240 | /* Do something */ | 240 | /* Do something */ |
| 241 | .Ed | 241 | .Ed |
| 242 | .Pp | 242 | .Pp |
| 243 | Create a new NID and initialize an object from it: | 243 | Create a new NID and initialize an object from it: |
| 244 | .Bd -literal | 244 | .Bd -literal -offset indent |
| 245 | int new_nid; | 245 | int new_nid; |
| 246 | ASN1_OBJECT *obj; | 246 | ASN1_OBJECT *obj; |
| 247 | new_nid = OBJ_create("1.2.3.4", "NewOID", "New Object Identifier"); | 247 | new_nid = OBJ_create("1.2.3.4", "NewOID", "New Object Identifier"); |
| @@ -249,7 +249,7 @@ obj = OBJ_nid2obj(new_nid); | |||
| 249 | .Ed | 249 | .Ed |
| 250 | .Pp | 250 | .Pp |
| 251 | Create a new object directly: | 251 | Create a new object directly: |
| 252 | .Bd -literal | 252 | .Bd -literal -offset indent |
| 253 | obj = OBJ_txt2obj("1.2.3.4", 1); | 253 | obj = OBJ_txt2obj("1.2.3.4", 1); |
| 254 | .Ed | 254 | .Ed |
| 255 | .Sh SEE ALSO | 255 | .Sh SEE ALSO |
diff --git a/src/lib/libcrypto/man/OPENSSL_config.3 b/src/lib/libcrypto/man/OPENSSL_config.3 index e2e277d129..42cc6159d9 100644 --- a/src/lib/libcrypto/man/OPENSSL_config.3 +++ b/src/lib/libcrypto/man/OPENSSL_config.3 | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | .\" $OpenBSD: OPENSSL_config.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ | 1 | .\" $OpenBSD: OPENSSL_config.3,v 1.3 2016/11/22 21:38:18 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .Dd $Mdocdate: November 6 2016 $ | 3 | .Dd $Mdocdate: November 22 2016 $ |
| 4 | .Dt OPENSSL_CONFIG 3 | 4 | .Dt OPENSSL_CONFIG 3 |
| 5 | .Os | 5 | .Os |
| 6 | .Sh NAME | 6 | .Sh NAME |
| @@ -65,12 +65,12 @@ The environment variable | |||
| 65 | .Ev OPENSSL_CONF | 65 | .Ev OPENSSL_CONF |
| 66 | can be set to specify the location of the configuration file. | 66 | can be set to specify the location of the configuration file. |
| 67 | .Pp | 67 | .Pp |
| 68 | Currently ASN1 OBJECT and ENGINE configuration can be performed. | 68 | Currently ASN.1 OBJECT and ENGINE configuration can be performed. |
| 69 | .Pp | 69 | .Pp |
| 70 | There are several reasons why calling the OpenSSL configuration routines | 70 | There are several reasons why calling the OpenSSL configuration routines |
| 71 | is advisable. | 71 | is advisable. |
| 72 | For example new ENGINE functionality was added to OpenSSL 0.9.7. | 72 | For example new ENGINE functionality was added to OpenSSL 0.9.7. |
| 73 | In OpenSSL 0.9.7 control functions can be supported by ENGINEs, this can be | 73 | In OpenSSL 0.9.7 control functions can be supported by ENGINEs which can be |
| 74 | used (among other things) to load dynamic ENGINEs from shared libraries | 74 | used (among other things) to load dynamic ENGINEs from shared libraries |
| 75 | (DSOs). | 75 | (DSOs). |
| 76 | However very few applications currently support the control interface | 76 | However very few applications currently support the control interface |
| @@ -113,5 +113,5 @@ It is however | |||
| 113 | better than nothing. | 113 | better than nothing. |
| 114 | Applications which need finer control over their configuration | 114 | Applications which need finer control over their configuration |
| 115 | functionality should use the configuration functions such as | 115 | functionality should use the configuration functions such as |
| 116 | .Xr CONF_load_modules 3 | 116 | .Xr CONF_modules_load 3 |
| 117 | directly. | 117 | directly. |
diff --git a/src/lib/libcrypto/man/OPENSSL_load_builtin_modules.3 b/src/lib/libcrypto/man/OPENSSL_load_builtin_modules.3 index f56d5e8c9d..3f64c2987a 100644 --- a/src/lib/libcrypto/man/OPENSSL_load_builtin_modules.3 +++ b/src/lib/libcrypto/man/OPENSSL_load_builtin_modules.3 | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | .\" $OpenBSD: OPENSSL_load_builtin_modules.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ | 1 | .\" $OpenBSD: OPENSSL_load_builtin_modules.3,v 1.3 2016/11/22 21:38:18 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .Dd $Mdocdate: November 6 2016 $ | 3 | .Dd $Mdocdate: November 22 2016 $ |
| 4 | .Dt OPENSSL_LOAD_BUILTIN_MODULES 3 | 4 | .Dt OPENSSL_LOAD_BUILTIN_MODULES 3 |
| 5 | .Os | 5 | .Os |
| 6 | .Sh NAME | 6 | .Sh NAME |
| @@ -24,7 +24,7 @@ list. | |||
| 24 | They can then be used by the OpenSSL configuration code. | 24 | They can then be used by the OpenSSL configuration code. |
| 25 | .Pp | 25 | .Pp |
| 26 | .Fn ASN1_add_oid_module | 26 | .Fn ASN1_add_oid_module |
| 27 | adds just the ASN1 OBJECT module. | 27 | adds just the ASN.1 OBJECT module. |
| 28 | .Pp | 28 | .Pp |
| 29 | .Fn ENGINE_add_conf_module | 29 | .Fn ENGINE_add_conf_module |
| 30 | adds just the ENGINE configuration module. | 30 | adds just the ENGINE configuration module. |
diff --git a/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 b/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 index 26910d45b0..7a31b9d1e8 100644 --- a/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 +++ b/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | .\" $OpenBSD: OpenSSL_add_all_algorithms.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ | 1 | .\" $OpenBSD: OpenSSL_add_all_algorithms.3,v 1.3 2016/11/22 21:38:18 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .Dd $Mdocdate: November 6 2016 $ | 3 | .Dd $Mdocdate: November 22 2016 $ |
| 4 | .Dt OPENSSL_ADD_ALL_ALGORITHMS 3 | 4 | .Dt OPENSSL_ADD_ALL_ALGORITHMS 3 |
| 5 | .Os | 5 | .Os |
| 6 | .Sh NAME | 6 | .Sh NAME |
| @@ -21,7 +21,7 @@ | |||
| 21 | .Fn EVP_cleanup void | 21 | .Fn EVP_cleanup void |
| 22 | .Sh DESCRIPTION | 22 | .Sh DESCRIPTION |
| 23 | OpenSSL keeps an internal table of digest algorithms and ciphers. | 23 | OpenSSL keeps an internal table of digest algorithms and ciphers. |
| 24 | It uses this table to lookup ciphers via functions such as | 24 | It uses this table to look up ciphers via functions such as |
| 25 | .Xr EVP_get_cipherbyname 3 . | 25 | .Xr EVP_get_cipherbyname 3 . |
| 26 | .Pp | 26 | .Pp |
| 27 | .Fn OpenSSL_add_all_algorithms | 27 | .Fn OpenSSL_add_all_algorithms |
| @@ -47,7 +47,7 @@ An application does not need to add algorithms to use them explicitly, | |||
| 47 | for example by | 47 | for example by |
| 48 | .Xr EVP_sha1 3 . | 48 | .Xr EVP_sha1 3 . |
| 49 | It just needs to add them if it (or any of the functions it calls) needs | 49 | It just needs to add them if it (or any of the functions it calls) needs |
| 50 | to lookup algorithms. | 50 | to look up algorithms. |
| 51 | .Pp | 51 | .Pp |
| 52 | The cipher and digest lookup functions are used in many parts of the | 52 | The cipher and digest lookup functions are used in many parts of the |
| 53 | library. | 53 | library. |
