Home | History | Annotate | Download | only in libtomcrypt

Lines Matching refs:Encoding

3066 \subsection{PKCS \#1 v1.5 Encoding}
3110 \subsection{OAEP Encoding}
3130 tag that can be applied to the encoding. This is useful to identify which system encoded the message. If no variance is desired then
3133 OAEP encoding requires the length of the modulus in bits in order to calculate the size of the output. This is passed as the parameter
3163 match what was used during encoding this function will not decode the packet. \textit{modulus\_bitlen} is the size of the RSA modulus in bits
3164 and must match what was used during encoding. Similarly the \textit{hash\_idx} index into the hash descriptor table must match what was used
3165 during encoding.
3173 \subsection{PSS Encoding}
3174 PSS encoding is the second half of the PKCS \#1 standard which is padding to be applied to messages that are signed.
3195 Similar to OAEP encoding \textit{modulus\_bitlen} is the size of the RSA modulus (in bits). It limits the size of the salt. If $m$ is the length
3220 It's important to use the same \textit{saltlen} and hash for both encoding and decoding as otherwise the procedure will not work.
3411 The \textit{hash\_idx} parameter indicates which hash will be used to create the PSS encoding. It should be the same as the hash used to
4172 LibTomCrypt supports a variety of ASN.1 data types encoded with the Distinguished Encoding Rules (DER) suitable for various cryptographic protocols. The data types
4174 format, and two functions have been dedicated to encoding and decoding the format.
4193 \textit{size} field is specific to what you are encoding (e.g. number of bits in the BIT STRING data type). The \textit{used} field is primarily for the CHOICE decoder
4256 \subsubsection{SEQUENCE Encoding}
4257 To encode a sequence a \textbf{ltc\_asn1\_list} array must be initialized with the members of the sequence and their respective pointers. The encoding is performed
4278 Decoding a SEQUENCE is similar to encoding. You set up an array of \textbf{ltc\_asn1\_list} where in this case the \textit{size} member is the maximum size
4312 This will get the encoding size for the given \textit{list} of length \textit{inlen} and store it in \textit{outlen}.
4316 For small or simple sequences an encoding or decoding can be performed with one of the following two functions.
4364 \subsubsection{SET Encoding}
4399 The length of a SET can be determined by calling der\_length\_sequence() since they have the same encoding length.
4401 \subsubsection{SET OF Encoding}
4402 A \textit{SET OF} object is an array of identical objects (e.g. OCTET STRING) sorted in ascending order by the DER encoding of the object. They are
4403 used to store objects deterministically based solely on their encoding. It uses the same array structure of ltc\_asn1\_list that the SEQUENCE functions
4414 This will encode a \textit{SET OF} containing the \textit{list} of \textit{inlen} ASN.1 objects and store the encoding in the output buffer \textit{out} of length \textit{outlen}.
4647 There is no encoder for the CHOICE type as the actual DER encoding is the encoding of the chosen type.
4849 \mysection{Base64 Encoding and Decoding}
5778 /** Length of DER encoding */