Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
mbedtls
Commits
4fc090af
Commit
4fc090af
authored
Sep 18, 2013
by
Paul Bakker
Browse files
Minor typos in pk.h
parent
da179e48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
include/polarssl/pk.h
include/polarssl/pk.h
+6
-6
No files found.
include/polarssl/pk.h
View file @
4fc090af
...
...
@@ -133,7 +133,7 @@ typedef struct
/** Get key size in bits */
size_t
(
*
get_size
)(
const
void
*
);
/** Tell if the context implements this type (e
g
ECKEY can do ECDSA) */
/** Tell if the context implements this type (e
.g.
ECKEY can do ECDSA) */
int
(
*
can_do
)(
pk_type_t
type
);
/** Verify signature */
...
...
@@ -228,7 +228,7 @@ void pk_free( pk_context *ctx );
int
pk_init_ctx
(
pk_context
*
ctx
,
const
pk_info_t
*
info
);
/**
* \brief Initiali
a
ze an RSA-alt context
* \brief Initialize an RSA-alt context
*
* \param ctx Context to initialize. Must be empty (type NONE).
* \param key RSA key pointer
...
...
@@ -259,7 +259,7 @@ size_t pk_get_size( const pk_context *ctx );
* \brief Get the length in bytes of the underlying key
* \param ctx Context to use
*
* \return Key leng
h
t in bytes, or 0 on error
* \return Key lengt
h
in bytes, or 0 on error
*/
static
inline
size_t
pk_get_len
(
const
pk_context
*
ctx
)
{
...
...
@@ -330,7 +330,7 @@ int pk_sign( pk_context *ctx, md_type_t md_alg,
* \param input Input to decrypt
* \param ilen Input size
* \param output Decrypted output
* \param olen Decrypted message leng
h
t
* \param olen Decrypted message lengt
h
* \param osize Size of the output buffer
* \param f_rng RNG function
* \param p_rng RNG parameter
...
...
@@ -367,7 +367,7 @@ int pk_encrypt( pk_context *ctx,
* \param ctx Context to use
* \param items Place to write debug items
*
* \return 0 on sucess or POLARSSL_ERR_PK_BAD_INPUT_DATA
* \return 0 on suc
c
ess or POLARSSL_ERR_PK_BAD_INPUT_DATA
*/
int
pk_debug
(
const
pk_context
*
ctx
,
pk_debug_item
*
items
);
...
...
@@ -381,7 +381,7 @@ int pk_debug( const pk_context *ctx, pk_debug_item *items );
const
char
*
pk_get_name
(
const
pk_context
*
ctx
);
/**
* \brief Get the key type
e
* \brief Get the key type
*
* \param ctx Context to use
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment