Lines Matching refs:algorithm

36 …er to know how large an output buffer needs to be based on the selected algorithm, whereas in the …
84 …can use `PSA_HASH_LENGTH(hash_alg)` where `hash_alg` is a specific hash algorithm, or `PSA_HASH_MA…
267 …l PSA APIs have algorithm agility, where the functions depend only on the nature of the operation …
278 The algorithm encodes the mode and if relevant the padding type:
289 …. If you need them, handle the padding in your application code and use the `NO_PADDING` algorithm.
300algorithm value `PSA_ALG_yyy`, the symbol `PSA_WANT_ALG_yyy` is defined with a non-zero value if t…
324 …on key type values (`psa_key_type_t`, `PSA_KEY_TYPE_xxx` constants) and algorithm values (`psa_alg…
350 …utes/#group__attributes_1gaeb8341ca52baa0279475ea3fd3bcdc98) to set the algorithm to the desired `…
364 2. Establish the operation parameters (algorithm, key, mode) with `mbedtls_cipher_setup`, `mbedtls_…
377 2. Select the key and algorithm with [`psa_cipher_encrypt_setup`](https://mbed-tls.readthedocs.io/p…
389 2. Establish the operation parameters (algorithm, key, mode) with `mbedtls_cipher_setup`, `mbedtls_…
406 2. Select the key and algorithm with [`psa_aead_encrypt_setup`](https://mbed-tls.readthedocs.io/pro…
407 …p/group__aead/#group__aead_1ga59132751a6f843d038924cb217b5e13b). If the algorithm is CCM, you must…
424 …t to `md.h` for hashing). There is no special API for a particular hash algorithm (`md5.h`, `sha1.…
426algorithm from RFC 4615 calculated by `mbedtls_aes_cmac_prf_128` at the time of writing. You can i…
452 … all MAC mechanisms. The mechanism is determined by a combination of an algorithm value of type [`…
454algorithm is [`PSA_ALG_HMAC`](https://mbed-tls.readthedocs.io/projects/api/en/development/api/grou…
456 …i/en/development/api/file/crypto__values_8h/#c.PSA_KEY_TYPE_HMAC) regardless of the hash algorithm.
457 * For CMAC, the algorithm is [`PSA_ALG_CMAC`](https://mbed-tls.readthedocs.io/projects/api/en/devel…
465 …h algorithm value `PSA_ALG_yyy`, the symbol `PSA_WANT_ALG_yyy` is defined with a non-zero value if…
485 ### Hash algorithm metadata
487 …because it is unnecessary. All macros and functions operate directly on algorithm (`psa_algorithm_…
509 2. Call `mbedtls_md_setup` to select the hash algorithm, with `hmac=0`. Then call `mbedtls_md_start…
517 …t/api/group/group__hash/#group__hash_1ga8d72896cf70fc4d514c5c6b978912515) to specify the algorithm.
538 …utes/#group__attributes_1gaeb8341ca52baa0279475ea3fd3bcdc98) to set the algorithm to the desired `…
552 2. Call `mbedtls_md_setup` to select the hash algorithm, with `hmac=1`. Then call `mbedtls_md_hmac_…
568 …_a_c/#group___m_a_c_1ga03bc3e3c0b7e55b20d2a238e418d46cd) to specify the algorithm and the key. See…
575 …_a_c/#group___m_a_c_1ga08ae327fcbc5f8e201172fe11e536984) to specify the algorithm and the key. See…
590 …f104f252884fd). Note that you must call a setup function to specify the algorithm and the key (for…
601algorithm, which is a value of type [`psa_algorithm_t`](https://mbed-tls.readthedocs.io/projects/a…
614algorithm, which is a value of type [`psa_algorithm_t`](https://mbed-tls.readthedocs.io/projects/a…
670 …p__attributes_1gaeb8341ca52baa0279475ea3fd3bcdc98) to set the permitted algorithm to the desired `…
681 A key's policy indicates what algorithm(s) it can be used with (usage algorithm policy) and what op…
697 …lection)” cover the available algorithm values for each key type. Normally, a key can only be used…
699algorithm. Sometimes the same key may need to be used to sign messages with multiple different has…
700algorithm (or wildcard) selected with [`psa_set_key_algorithm`](https://mbed-tls.readthedocs.io/pr…
709 …A API uses policies and algorithm parameters rather than key types to distinguish between RSA-base…
725 …nd public keys are separate object types. The PSA API uses policies and algorithm parameters rathe…
776 A finite-field Diffie-Hellman key can be used for key agreement with the algorithm [`PSA_ALG_FFDH`]…
889 …on key type values (`psa_key_type_t`, `PSA_KEY_TYPE_xxx` constants) and algorithm values (`psa_alg…
895 …attributes/#group__attributes_1ga39803b62a97198cf630854db9b53c588). The algorithm policy also conv…
952 Most signature algorithms involve a hash algorithm. See “[Hash mechanism selection](#hash-mechanism…
964 The PSA API offers three algorithm constructors for ECDSA. They differ only for signature, and have…
966 …d5ba5d8318870452e3) is a randomized ECDSA signature of a hash calculated with the algorithm `hash`.
967 … `PSA_ALG_ECDSA`, but does not require specifying a hash as part of the algorithm. It can only be …
968 …5ed03) is a deterministic ECDSA signature of a hash calculated with the algorithm `hash`. This is …
969 …* For `psa_sign_message` with `PSA_ALG_DETERMINISTIC_ECDSA`, the same hash algorithm is used to ha…
999 The PSA API has two algorithm constructors:
1001 …ae7d4247033f479439af) formats the hash as specified in PKCS#1. The hash algorithm corresponds to t…
1009algorithm constructors: [`PSA_ALG_RSA_PSS(hash)`](https://mbed-tls.readthedocs.io/projects/api/en/…
1034 The PSA algorithm is [`PSA_ALG_RSA_PKCS1V15_CRYPT`](https://mbed-tls.readthedocs.io/projects/api/en…
1042algorithm is [`PSA_ALG_RSA_OAEP(hash)`](https://mbed-tls.readthedocs.io/projects/api/en/developmen…
1044 … hash algorithm is used for MGF1 and to hash the label. The PSA API does not offer a way to choose…
1093 …ibutes/#group__attributes_1gaeb8341ca52baa0279475ea3fd3bcdc98) to select the appropriate algorithm:
1097 * `kdf` is a key derivation algorithm.
1189 …A_KEY_TYPE_ECC_KEY_PAIR(curve)` or `PSA_KEY_TYPE_DH_KEY_PAIR(group)`), a key size and an algorithm.
1316 The PSA API exposes EC-JPAKE via the algorithm [`PSA_ALG_JPAKE`](https://mbed-tls.readthedocs.io/pr…