Rename OSSL_SERIALIZER / OSSL_DESERIALIZER to OSSL_ENCODE / OSSL_DECODE
[openssl.git] / doc / man3 / EVP_PKEY_fromdata.pod
index a1c1ed377218a99bec18fad8672bb472308db1cd..e3003674e3e78e2c32130db5554b0b3666214c87 100644 (file)
@@ -22,7 +22,7 @@ The functions described here are used to create new keys from user
 provided key data, such as I<n>, I<e> and I<d> for a minimal RSA
 keypair.
 
-These functions use an B<EVP_PKEY_CTX> context, which should primarly
+These functions use an B<EVP_PKEY_CTX> context, which should primarily
 be created with L<EVP_PKEY_CTX_new_from_name(3)> or
 L<EVP_PKEY_CTX_new_id(3)>.
 
@@ -94,16 +94,16 @@ TODO Write a set of cookbook documents and link to them.
   * and secure application is expected to use BIGNUMs, and to build
   * this array dynamically.
   */
const unsigned long rsa_n = 0xbc747fc5;
const unsigned long rsa_e = 0x10001;
const unsigned long rsa_d = 0x7b133399;
const OSSL_PARAM[] = {
+ unsigned long rsa_n = 0xbc747fc5;
+ unsigned long rsa_e = 0x10001;
+ unsigned long rsa_d = 0x7b133399;
OSSL_PARAM params[] = {
      OSSL_PARAM_ulong("n", &rsa_n),
      OSSL_PARAM_ulong("e", &rsa_e),
      OSSL_PARAM_ulong("d", &rsa_d),
      OSSL_PARAM_END
  };
-     
+
  int main()
  {
      EVP_PKEY_CTX *ctx = EVP_PKEY_CTX_new_from_name(NULL, "RSA", NULL);