• Home
  • Raw
  • Download

Lines Matching full:algorithm

52  * \param alg   A hash algorithm (\c PSA_ALG_XXX value such that
53 * #PSA_ALG_IS_HASH(\p alg) is true), or an HMAC algorithm
55 * hash algorithm).
57 * \return The hash size for the specified hash algorithm.
58 * If the hash algorithm is not recognized, return 0.
77 /** The input block size of a hash algorithm, in bytes.
84 * \param alg A hash algorithm (\c PSA_ALG_XXX value such that
87 * \return The block size in bytes for the specified hash algorithm.
88 * If the hash algorithm is not recognized, return 0.
90 * hash algorithm that it recognizes, but does not support.
167 /** The length of a tag for an AEAD algorithm, in bytes.
176 * \param alg An AEAD algorithm
180 * \return The tag length for the specified algorithm and key.
181 * If the AEAD algorithm does not have an identified
184 * If the key type or AEAD algorithm is not
278 * The maximum supported length does not depend on the chosen hash algorithm.
317 * \param alg A MAC algorithm (\c PSA_ALG_XXX value such that
320 * \return The MAC size for the specified algorithm with
322 * \return 0 if the MAC algorithm is not recognized.
323 * \return Either 0 or the correct size for a MAC algorithm that
326 * with the algorithm.
338 * insufficient buffer size. Depending on the algorithm, the actual size of
348 * compatible with algorithm \p alg.
349 * \param alg An AEAD algorithm
355 * algorithm.
356 * If the key type or AEAD algorithm is not
391 * insufficient buffer size. Depending on the algorithm, the actual size of
401 * compatible with algorithm \p alg.
402 * \param alg An AEAD algorithm
408 * algorithm.
409 * If the key type or AEAD algorithm is not
440 /** The default nonce size for an AEAD algorithm, in bytes.
456 * algorithm \p alg.
458 * \param alg An AEAD algorithm (\c PSA_ALG_XXX value such that
461 * \return The default nonce size for the specified key type and algorithm.
462 * If the key type or AEAD algorithm is not recognized,
501 * compatible with algorithm \p alg.
502 * \param alg An AEAD algorithm
508 * algorithm.
509 * If the key type or AEAD algorithm is not
547 compatible with algorithm \p alg.
548 * \param alg An AEAD algorithm
553 * specified algorithm.
554 * If the key type or AEAD algorithm is not
581 * compatible with algorithm \p alg.
582 * \param alg An AEAD algorithm
587 * specified algorithm.
588 * If the key type or AEAD algorithm is not
624 * of the specified type and size, with the specified algorithm.
635 * \param alg The signature algorithm.
677 * a key of the specified type and size, with the specified algorithm.
679 * on the algorithm.
688 * \param alg The asymmetric encryption algorithm.
716 * a key of the specified type and size, with the specified algorithm.
718 * on the algorithm.
727 * \param alg The asymmetric encryption algorithm.
808 * algorithm AlgorithmIdentifier,
811 * algorithm OBJECT IDENTIFIER,
816 * - 1 + 1 + 7 bytes of algorithm (DSA OID);
1071 * maximum size of the output any raw key agreement algorithm, in bytes.
1088 /** The default IV size for a cipher algorithm, in bytes.
1091 * the default IV length for the algorithm.
1103 * \param key_type A symmetric key type that is compatible with algorithm \p alg.
1105 …* \param alg A cipher algorithm (\c PSA_ALG_XXX value such that #PSA_ALG_IS_CIPHER(\p alg) i…
1107 * \return The default IV size for the specified key type and algorithm.
1108 * If the algorithm does not use an IV, return 0.
1109 * If the key type or cipher algorithm is not recognized,
1135 * Depending on the algorithm, the actual size of the output might be smaller.
1143 * \param key_type A symmetric key type that is compatible with algorithm
1145 * \param alg A cipher algorithm (\c PSA_ALG_XXX value such that
1150 * algorithm. If the key type or cipher algorithm is not
1184 * Depending on the algorithm, the actual size of the output might be smaller.
1188 * \param key_type A symmetric key type that is compatible with algorithm
1190 * \param alg A cipher algorithm (\c PSA_ALG_XXX value such that
1195 * algorithm. If the key type or cipher algorithm is not
1226 * \param key_type A symmetric key type that is compatible with algorithm
1228 * \param alg A cipher algorithm (PSA_ALG_XXX value such that
1233 * algorithm. If the key type or cipher algorithm is not
1269 * \param key_type A symmetric key type that is compatible with algorithm
1271 * \param alg A cipher algorithm (PSA_ALG_XXX value such that
1274 * algorithm. If the key type or cipher algorithm is not