IV is short for 'initialization vector'

This commit is contained in:
Steffen Jaeckel
2017-09-20 13:54:42 +02:00
parent fff9fee129
commit c210f24853
20 changed files with 57 additions and 57 deletions
@@ -15,8 +15,8 @@
Process an entire GCM packet in one call.
@param key The secret key
@param keylen The length of the secret key
@param iv The initial vector
@param ivlen The length of the initial vector
@param iv The initialization vector
@param ivlen The length of the initialization vector
@param aad The additional authentication data (header)
@param aadlen The length of the aad
@param in The plaintext
+2 -2
View File
@@ -20,8 +20,8 @@
@param cipher Index of cipher to use
@param key The secret key
@param keylen The length of the secret key
@param IV The initial vector
@param IVlen The length of the initial vector
@param IV The initialization vector
@param IVlen The length of the initialization vector
@param adata The additional authentication data (header)
@param adatalen The length of the adata
@param pt The plaintext
+2 -2
View File
@@ -499,8 +499,8 @@ extern struct ltc_cipher_descriptor {
/** Accelerated GCM packet (one shot)
@param key The secret key
@param keylen The length of the secret key
@param IV The initial vector
@param IVlen The length of the initial vector
@param IV The initialization vector
@param IVlen The length of the initialization vector
@param adata The additional authentication data (header)
@param adatalen The length of the adata
@param pt The plaintext
+1 -1
View File
@@ -75,7 +75,7 @@ int hmac_init(hmac_state *hmac, int hash, const unsigned char *key, unsigned lon
zeromem((hmac->key) + keylen, (size_t)(LTC_HMAC_BLOCKSIZE - keylen));
}
/* Create the initial vector for step (3) */
/* Create the initialization vector for step (3) */
for(i=0; i < LTC_HMAC_BLOCKSIZE; i++) {
buf[i] = hmac->key[i] ^ 0x36;
}
+3 -3
View File
@@ -16,9 +16,9 @@
#ifdef LTC_CBC_MODE
/**
Get the current initial vector
@param IV [out] The destination of the initial vector
@param len [in/out] The max size and resulting size of the initial vector
Get the current initialization vector
@param IV [out] The destination of the initialization vector
@param len [in/out] The max size and resulting size of the initialization vector
@param cbc The CBC state
@return CRYPT_OK if successful
*/
+2 -2
View File
@@ -17,8 +17,8 @@
#ifdef LTC_CBC_MODE
/**
Set an initial vector
@param IV The initial vector
Set an initialization vector
@param IV The initialization vector
@param len The length of the vector (in octets)
@param cbc The CBC state
@return CRYPT_OK if successful
+1 -1
View File
@@ -18,7 +18,7 @@
/**
Initialize a CBC context
@param cipher The index of the cipher desired
@param IV The initial vector
@param IV The initialization vector
@param key The secret key
@param keylen The length of the secret key (octets)
@param num_rounds Number of rounds in the cipher desired (0 for default)
+3 -3
View File
@@ -16,9 +16,9 @@
#ifdef LTC_CFB_MODE
/**
Get the current initial vector
@param IV [out] The destination of the initial vector
@param len [in/out] The max size and resulting size of the initial vector
Get the current initialization vector
@param IV [out] The destination of the initialization vector
@param len [in/out] The max size and resulting size of the initialization vector
@param cfb The CFB state
@return CRYPT_OK if successful
*/
+2 -2
View File
@@ -16,8 +16,8 @@
#ifdef LTC_CFB_MODE
/**
Set an initial vector
@param IV The initial vector
Set an initialization vector
@param IV The initialization vector
@param len The length of the vector (in octets)
@param cfb The CFB state
@return CRYPT_OK if successful
+1 -1
View File
@@ -19,7 +19,7 @@
/**
Initialize a CFB context
@param cipher The index of the cipher desired
@param IV The initial vector
@param IV The initialization vector
@param key The secret key
@param keylen The length of the secret key (octets)
@param num_rounds Number of rounds in the cipher desired (0 for default)
+3 -3
View File
@@ -16,9 +16,9 @@
#ifdef LTC_CTR_MODE
/**
Get the current initial vector
@param IV [out] The destination of the initial vector
@param len [in/out] The max size and resulting size of the initial vector
Get the current initialization vector
@param IV [out] The destination of the initialization vector
@param len [in/out] The max size and resulting size of the initialization vector
@param ctr The CTR state
@return CRYPT_OK if successful
*/
+2 -2
View File
@@ -16,8 +16,8 @@
#ifdef LTC_CTR_MODE
/**
Set an initial vector
@param IV The initial vector
Set an initialization vector
@param IV The initialization vector
@param len The length of the vector (in octets)
@param ctr The CTR state
@return CRYPT_OK if successful
+1 -1
View File
@@ -19,7 +19,7 @@
/**
Initialize a CTR context
@param cipher The index of the cipher desired
@param IV The initial vector
@param IV The initialization vector
@param key The secret key
@param keylen The length of the secret key (octets)
@param num_rounds Number of rounds in the cipher desired (0 for default)
+3 -3
View File
@@ -16,9 +16,9 @@
#ifdef LTC_F8_MODE
/**
Get the current initial vector
@param IV [out] The destination of the initial vector
@param len [in/out] The max size and resulting size of the initial vector
Get the current initialization vector
@param IV [out] The destination of the initialization vector
@param len [in/out] The max size and resulting size of the initialization vector
@param f8 The F8 state
@return CRYPT_OK if successful
*/
+2 -2
View File
@@ -16,8 +16,8 @@
#ifdef LTC_F8_MODE
/**
Set an initial vector
@param IV The initial vector
Set an initialization vector
@param IV The initialization vector
@param len The length of the vector (in octets)
@param f8 The F8 state
@return CRYPT_OK if successful
+1 -1
View File
@@ -19,7 +19,7 @@
/**
Initialize an F8 context
@param cipher The index of the cipher desired
@param IV The initial vector
@param IV The initialization vector
@param key The secret key
@param keylen The length of the secret key (octets)
@param salt_key The salting key for the IV
+3 -3
View File
@@ -16,9 +16,9 @@
#ifdef LTC_OFB_MODE
/**
Get the current initial vector
@param IV [out] The destination of the initial vector
@param len [in/out] The max size and resulting size of the initial vector
Get the current initialization vector
@param IV [out] The destination of the initialization vector
@param len [in/out] The max size and resulting size of the initialization vector
@param ofb The OFB state
@return CRYPT_OK if successful
*/
+2 -2
View File
@@ -16,8 +16,8 @@
#ifdef LTC_OFB_MODE
/**
Set an initial vector
@param IV The initial vector
Set an initialization vector
@param IV The initialization vector
@param len The length of the vector (in octets)
@param ofb The OFB state
@return CRYPT_OK if successful
+1 -1
View File
@@ -19,7 +19,7 @@
/**
Initialize a OFB context
@param cipher The index of the cipher desired
@param IV The initial vector
@param IV The initialization vector
@param key The secret key
@param keylen The length of the secret key (octets)
@param num_rounds Number of rounds in the cipher desired (0 for default)