X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=crypto%2Fcmac%2Fcmac.c;h=cb30e6d5be8b3bca83b956606bec3dcd0b63e6d6;hb=0d4fb8439092ff8253af72ac6bc193e77ebbcf2f;hp=77f4ccbdeaf62b4a00f28746b4d81e584a83a231;hpb=349807608f31b20af01a342d0072bb92e0b036e2;p=openssl.git diff --git a/crypto/cmac/cmac.c b/crypto/cmac/cmac.c index 77f4ccbdea..cb30e6d5be 100644 --- a/crypto/cmac/cmac.c +++ b/crypto/cmac/cmac.c @@ -156,7 +156,7 @@ int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen, ctx->nlast_block = 0; return 1; } - /* Initialiase context */ + /* Initialise context */ if (cipher && !EVP_EncryptInit_ex(ctx->cctx, cipher, impl, NULL, NULL)) return 0; /* Non-NULL key means initialisation complete */ @@ -257,9 +257,9 @@ int CMAC_resume(CMAC_CTX *ctx) if (ctx->nlast_block == -1) return 0; /* - * The buffer "tbl" containes the last fully encrypted block which is the + * The buffer "tbl" contains the last fully encrypted block which is the * last IV (or all zeroes if no last encrypted block). The last block has - * not been modified since CMAC_final(). So reinitliasing using the last + * not been modified since CMAC_final(). So reinitialising using the last * decrypted block will allow CMAC to continue after calling * CMAC_Final(). */