Commit 0efaaa86 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jonathan Corbet

docs: crypto: convert asymmetric-keys.txt to ReST

This file is almost compatible with ReST. Just minor changes
were needed:

- Adjust document and titles markups;
- Adjust numbered list markups;
- Add a comments markup for the Contents section;
- Add markups for literal blocks.
Acked-by: default avatarJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/c2275ea94e0507a01b020ab66dfa824d8b1c2545.1592203650.git.mchehab+huawei@kernel.orgSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 0c12018e
...@@ -18,6 +18,7 @@ for cryptographic use cases, as well as programming examples. ...@@ -18,6 +18,7 @@ for cryptographic use cases, as well as programming examples.
intro intro
architecture architecture
asymmetric-keys
devel-algos devel-algos
userspace-if userspace-if
crypto_engine crypto_engine
......
...@@ -912,7 +912,7 @@ The keyctl syscall functions are: ...@@ -912,7 +912,7 @@ The keyctl syscall functions are:
One application of restricted keyrings is to verify X.509 certificate One application of restricted keyrings is to verify X.509 certificate
chains or individual certificate signatures using the asymmetric key type. chains or individual certificate signatures using the asymmetric key type.
See Documentation/crypto/asymmetric-keys.txt for specific restrictions See Documentation/crypto/asymmetric-keys.rst for specific restrictions
applicable to the asymmetric key type. applicable to the asymmetric key type.
......
...@@ -2827,7 +2827,7 @@ ASYMMETRIC KEYS ...@@ -2827,7 +2827,7 @@ ASYMMETRIC KEYS
M: David Howells <dhowells@redhat.com> M: David Howells <dhowells@redhat.com>
L: keyrings@vger.kernel.org L: keyrings@vger.kernel.org
S: Maintained S: Maintained
F: Documentation/crypto/asymmetric-keys.txt F: Documentation/crypto/asymmetric-keys.rst
F: crypto/asymmetric_keys/ F: crypto/asymmetric_keys/
F: include/crypto/pkcs7.h F: include/crypto/pkcs7.h
F: include/crypto/public_key.h F: include/crypto/public_key.h
......
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
/* Asymmetric public-key cryptography key type /* Asymmetric public-key cryptography key type
* *
* See Documentation/crypto/asymmetric-keys.txt * See Documentation/crypto/asymmetric-keys.rst
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
......
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
/* In-software asymmetric public-key crypto subtype /* In-software asymmetric public-key crypto subtype
* *
* See Documentation/crypto/asymmetric-keys.txt * See Documentation/crypto/asymmetric-keys.rst
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
......
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
/* Signature verification with an asymmetric key /* Signature verification with an asymmetric key
* *
* See Documentation/crypto/asymmetric-keys.txt * See Documentation/crypto/asymmetric-keys.rst
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
......
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
/* Asymmetric public-key algorithm definitions /* Asymmetric public-key algorithm definitions
* *
* See Documentation/crypto/asymmetric-keys.txt * See Documentation/crypto/asymmetric-keys.rst
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
......
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
/* Asymmetric public-key cryptography data parser /* Asymmetric public-key cryptography data parser
* *
* See Documentation/crypto/asymmetric-keys.txt * See Documentation/crypto/asymmetric-keys.rst
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
......
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
/* Asymmetric public-key cryptography key subtype /* Asymmetric public-key cryptography key subtype
* *
* See Documentation/crypto/asymmetric-keys.txt * See Documentation/crypto/asymmetric-keys.rst
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
......
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
/* Asymmetric Public-key cryptography key type interface /* Asymmetric Public-key cryptography key type interface
* *
* See Documentation/crypto/asymmetric-keys.txt * See Documentation/crypto/asymmetric-keys.rst
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment