From 56e28dd5ec87cbc4854e56f7099377c67e3ba6c4 Mon Sep 17 00:00:00 2001 From: Krzysztof Jackiewicz Date: Tue, 31 May 2016 11:31:52 +0200 Subject: [PATCH] ACR: Succesful -> Successful Change-Id: I6859b868fd2a62d12215e7071c3e8c3bae5897b4 --- api/yaca/yaca_crypto.h | 12 ++++++------ api/yaca/yaca_digest.h | 6 +++--- api/yaca/yaca_encrypt.h | 14 +++++++------- api/yaca/yaca_key.h | 14 +++++++------- api/yaca/yaca_seal.h | 12 ++++++------ api/yaca/yaca_sign.h | 16 ++++++++-------- api/yaca/yaca_simple.h | 14 +++++++------- examples/sign.c | 12 ++++++------ 8 files changed, 50 insertions(+), 50 deletions(-) diff --git a/api/yaca/yaca_crypto.h b/api/yaca/yaca_crypto.h index 3672972..1d4a601 100644 --- a/api/yaca/yaca_crypto.h +++ b/api/yaca/yaca_crypto.h @@ -52,7 +52,7 @@ extern "C" { * @since_tizen 3.0 * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error * @retval #YACA_ERROR_INTERNAL Internal error * @@ -138,7 +138,7 @@ void yaca_free(void *ptr); * @param[in] data_len Length of the memory to be randomized * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0) * @retval #YACA_ERROR_INTERNAL Internal error */ @@ -156,7 +156,7 @@ int yaca_rand_bytes(char *data, size_t data_len); * @param[in] value_len Length of the parameter value * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0, * incorrect context, invalid param) * @retval #YACA_ERROR_INTERNAL Internal error @@ -181,7 +181,7 @@ int yaca_ctx_set_param(yaca_ctx_h ctx, * @param[out] value_len Length of the parameter value will be returned here * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect context, invalid param) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -219,7 +219,7 @@ void yaca_ctx_free(yaca_ctx_h ctx); * @param[out] output_len Required length of the output * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect context, invalid input_len) * @retval #YACA_ERROR_INTERNAL Internal error @@ -257,7 +257,7 @@ int yaca_get_output_length(const yaca_ctx_h ctx, size_t input_len, size_t *outpu * @param[in] len Length to compare * * @return #YACA_ERROR_NONE when buffers are equal otherwise #YACA_ERROR_DATA_MISMATCH - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_DATA_MISMATCH Buffers are different */ int yaca_memcmp(const void *first, const void *second, size_t len); diff --git a/api/yaca/yaca_digest.h b/api/yaca/yaca_digest.h index 72d6fe1..b38ccf8 100644 --- a/api/yaca/yaca_digest.h +++ b/api/yaca/yaca_digest.h @@ -48,7 +48,7 @@ extern "C" { * @param[in] algo Digest algorithm that will be used * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect algo) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -70,7 +70,7 @@ int yaca_digest_init(yaca_ctx_h *ctx, yaca_digest_algo_e algo); * @param[in] data_len Length of the data * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0, * incorrect context) * @retval #YACA_ERROR_INTERNAL Internal error @@ -92,7 +92,7 @@ int yaca_digest_update(yaca_ctx_h ctx, const char *data, size_t data_len); * actual number of bytes written will be returned here * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect context) * @retval #YACA_ERROR_INTERNAL Internal error diff --git a/api/yaca/yaca_encrypt.h b/api/yaca/yaca_encrypt.h index 23ed8ba..7c7cad4 100644 --- a/api/yaca/yaca_encrypt.h +++ b/api/yaca/yaca_encrypt.h @@ -51,7 +51,7 @@ extern "C" { * @param[in] iv Initialization vector that will be used * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect algo, bcm, invalid sym_key or iv) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -82,7 +82,7 @@ int yaca_encrypt_init(yaca_ctx_h *ctx, * actual number of bytes written will be returned here * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0, * incorrect context) * @retval #YACA_ERROR_INTERNAL Internal error @@ -108,7 +108,7 @@ int yaca_encrypt_update(yaca_ctx_h ctx, * actual number of bytes written will be returned here * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect context) * @retval #YACA_ERROR_INTERNAL Internal error @@ -132,7 +132,7 @@ int yaca_encrypt_final(yaca_ctx_h ctx, * @param[in] iv Initialization vector that was used to encrypt the data * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect algo, bcm, invalid sym_key or iv) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -163,7 +163,7 @@ int yaca_decrypt_init(yaca_ctx_h *ctx, * actual number of bytes written will be returned here * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0, * incorrect context) * @retval #YACA_ERROR_INTERNAL Internal error @@ -189,7 +189,7 @@ int yaca_decrypt_update(yaca_ctx_h ctx, * actual number of bytes written will be returned here * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect context) * @retval #YACA_ERROR_INTERNAL Internal error @@ -215,7 +215,7 @@ int yaca_decrypt_final(yaca_ctx_h ctx, * @param[out] iv_bits Recommended IV length in bits * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * invalid algo, bcm or key_bits) * @retval #YACA_ERROR_INTERNAL Internal error diff --git a/api/yaca/yaca_key.h b/api/yaca/yaca_key.h index 83428cc..94c46ef 100755 --- a/api/yaca/yaca_key.h +++ b/api/yaca/yaca_key.h @@ -50,7 +50,7 @@ extern "C" { * @param[out] key_type Key type * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Either of the params is NULL */ int yaca_key_get_type(const yaca_key_h key, yaca_key_type_e *key_type); @@ -64,7 +64,7 @@ int yaca_key_get_type(const yaca_key_h key, yaca_key_type_e *key_type); * @param[out] key_bits Key length in bits * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Either of the params is NULL * @retval #YACA_ERROR_INTERNAL Internal error */ @@ -98,7 +98,7 @@ int yaca_key_get_bits(const yaca_key_h key, size_t *key_bits); * @param[out] key Returned key (must be freed with yaca_key_free()) * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0, * incorrect key_type or data_len too big) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -149,7 +149,7 @@ int yaca_key_import(yaca_key_type_e key_type, * @param[out] data_len Size of the output data * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0, * incorrect key formats or data_len too big) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -179,7 +179,7 @@ int yaca_key_export(const yaca_key_h key, * @param[out] key Newly generated key (must be freed with yaca_key_free()) * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT key is NULL, incorrect key_type or * key_bits is not dividable by 8 * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -202,7 +202,7 @@ int yaca_key_gen(yaca_key_type_e key_type, * @param[out] pub_key Extracted public key (must be freed with yaca_key_free()) * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT prv_key is of incorrect type or pub_key is NULL * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error * @retval #YACA_ERROR_INTERNAL Internal error @@ -250,7 +250,7 @@ void yaca_key_free(yaca_key_h key); * @param[out] key Newly generated key (must be freed with yaca_key_free()) * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0, * incorrect algo or key_bits not dividable by 8) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error diff --git a/api/yaca/yaca_seal.h b/api/yaca/yaca_seal.h index 40a6f24..221bb50 100644 --- a/api/yaca/yaca_seal.h +++ b/api/yaca/yaca_seal.h @@ -58,7 +58,7 @@ extern "C" { * @param[out] iv Generated initialization vector that will be used * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect algo, bcm, sym_key_bits, invalid prv_key) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -91,7 +91,7 @@ int yaca_seal_init(yaca_ctx_h *ctx, * actual number of bytes written will be returned here * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0, * incorrect context) * @retval #YACA_ERROR_INTERNAL Internal error @@ -117,7 +117,7 @@ int yaca_seal_update(yaca_ctx_h ctx, * actual number of bytes written will be returned here * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect context) * @retval #YACA_ERROR_INTERNAL Internal error @@ -144,7 +144,7 @@ int yaca_seal_final(yaca_ctx_h ctx, * @param[in] iv Initialization vector that was used for the encryption * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect algo, bcm, sym_key_bits, * invalid prv_key, sym_key or iv) @@ -178,7 +178,7 @@ int yaca_open_init(yaca_ctx_h *ctx, * actual number of bytes written will be returned here * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0, * incorrect context) * @retval #YACA_ERROR_INTERNAL Internal error @@ -204,7 +204,7 @@ int yaca_open_update(yaca_ctx_h ctx, * actual number of bytes written will be returned here * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect context) * @retval #YACA_ERROR_INTERNAL Internal error diff --git a/api/yaca/yaca_sign.h b/api/yaca/yaca_sign.h index 27895f4..df0b467 100644 --- a/api/yaca/yaca_sign.h +++ b/api/yaca/yaca_sign.h @@ -57,7 +57,7 @@ extern "C" { * - #YACA_KEY_TYPE_EC_PRIV * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect algo, invalid key) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -90,7 +90,7 @@ int yaca_sign_init(yaca_ctx_h *ctx, * - #YACA_KEY_TYPE_DES * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect algo, invalid key) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -121,7 +121,7 @@ int yaca_sign_hmac_init(yaca_ctx_h *ctx, * - #YACA_KEY_TYPE_DES * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect algo, invalid key) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -148,7 +148,7 @@ int yaca_sign_cmac_init(yaca_ctx_h *ctx, * @param[in] data_len Length of the data * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0, * incorrect context) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -175,7 +175,7 @@ int yaca_sign_update(yaca_ctx_h ctx, * actual number of bytes written will be returned here * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect context) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -204,7 +204,7 @@ int yaca_sign_final(yaca_ctx_h ctx, * - #YACA_KEY_TYPE_EC_PUB * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect algo, invalid key) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -229,7 +229,7 @@ int yaca_verify_init(yaca_ctx_h *ctx, * @param[in] data_len Length of the data * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0, * incorrect context) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -252,7 +252,7 @@ int yaca_verify_update(yaca_ctx_h ctx, * @param[in] signature_len Size of the signature * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, * incorrect context) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error diff --git a/api/yaca/yaca_simple.h b/api/yaca/yaca_simple.h index 10a0467..00149af 100644 --- a/api/yaca/yaca_simple.h +++ b/api/yaca/yaca_simple.h @@ -60,7 +60,7 @@ extern "C" { * @param[out] digest_len Length of message digest (depends on algorithm) * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0 * incorrect algo) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -90,7 +90,7 @@ int yaca_digest_calc(yaca_digest_algo_e algo, * @param[out] cipher_len Length of the encrypted data (may be larger than decrypted) * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0 * incorrect algo, bcm, invalid sym_key, iv) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -125,7 +125,7 @@ int yaca_encrypt(yaca_enc_algo_e algo, * @param[out] plain_len Length of the decrypted data * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0 * incorrect algo, bcm, invalid sym_key, iv) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -162,7 +162,7 @@ int yaca_decrypt(yaca_enc_algo_e algo, * @param[out] signature_len Length of the signature * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0 * incorrect algo, invalid key) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -196,7 +196,7 @@ int yaca_sign(yaca_digest_algo_e algo, * @param[in] signature_len Length of the signature * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0 * incorrect algo, invalid key) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -233,7 +233,7 @@ int yaca_verify(yaca_digest_algo_e algo, * @param[out] mac_len Length of the MAC * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0 * incorrect algo, invalid key) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error @@ -269,7 +269,7 @@ int yaca_hmac(yaca_digest_algo_e algo, * @param[out] mac_len Length of the MAC * * @return #YACA_ERROR_NONE on success, negative on error - * @retval #YACA_ERROR_NONE Succesful + * @retval #YACA_ERROR_NONE Successful * @retval #YACA_ERROR_INVALID_ARGUMENT Required parameters have bogus values (NULL, 0 * incorrect algo, invalid key) * @retval #YACA_ERROR_OUT_OF_MEMORY Out of memory error diff --git a/examples/sign.c b/examples/sign.c index 2dc456b..f789f24 100644 --- a/examples/sign.c +++ b/examples/sign.c @@ -69,7 +69,7 @@ void simple_sign_verify_asym(yaca_key_type_e type, const char *algo) signature_len) != YACA_ERROR_NONE) printf("[Simple API] %s verification failed\n", algo); else - printf("[Simple API] %s verification succesful\n", algo); + printf("[Simple API] %s verification successful\n", algo); finish: yaca_free(signature); @@ -112,7 +112,7 @@ void simple_sign_verify_hmac(void) if (yaca_memcmp(signature1, signature2, signature_len) != YACA_ERROR_NONE) printf("[Simple API] HMAC verification failed\n"); else - printf("[Simple API] HMAC verification succesful\n"); + printf("[Simple API] HMAC verification successful\n"); finish: yaca_free(signature1); @@ -156,7 +156,7 @@ void simple_sign_verify_cmac(void) if (yaca_memcmp(signature1, signature2, signature_len) != YACA_ERROR_NONE) printf("[Simple API] CMAC verification failed\n"); else - printf("[Simple API] CMAC verification succesful\n"); + printf("[Simple API] CMAC verification successful\n"); finish: yaca_free(signature1); @@ -220,7 +220,7 @@ void sign_verify_asym(yaca_key_type_e type, const char *algo) if (yaca_verify_final(ctx, signature, signature_len) != YACA_ERROR_NONE) printf("[Advanced API] %s verification failed\n", algo); else - printf("[Advanced API] %s verification succesful\n", algo); + printf("[Advanced API] %s verification successful\n", algo); finish: yaca_free(signature); @@ -283,7 +283,7 @@ void sign_verify_hmac(void) if (yaca_memcmp(signature1, signature2, signature_len) != YACA_ERROR_NONE) printf("[Advanced API] HMAC verification failed\n"); else - printf("[Advanced API] HMAC verification succesful\n"); + printf("[Advanced API] HMAC verification successful\n"); finish: yaca_free(signature1); @@ -346,7 +346,7 @@ void sign_verify_cmac(void) if (yaca_memcmp(signature1, signature2, signature_len) != YACA_ERROR_NONE) printf("[Advanced API] CMAC verification failed\n"); else - printf("[Advanced API] CMAC verification succesful\n"); + printf("[Advanced API] CMAC verification successful\n"); finish: yaca_free(signature1); -- 2.7.4