Algorithm definitions for the PSA Crypto API. More...
Algorithm definitions for the PSA Crypto API.
Definition in file algorithm.h.
#include <stdint.h>
Go to the source code of this file.
#define | PSA_ALG_NONE ((psa_algorithm_t)0) |
An invalid algorithm identifier value. | |
#define | PSA_ALG_CATEGORY_MASK ((psa_algorithm_t)0x7f000000) |
PSA algorithm category mask. | |
typedef uint32_t | psa_algorithm_t |
Encoding of a cryptographic algorithm. | |
#define PSA_ALG_CATEGORY_MASK ((psa_algorithm_t)0x7f000000) |
PSA algorithm category mask.
Definition at line 51 of file algorithm.h.
#define PSA_ALG_NONE ((psa_algorithm_t)0) |
An invalid algorithm identifier value.
Zero is not the encoding of any algorithm.
Definition at line 46 of file algorithm.h.
typedef uint32_t psa_algorithm_t |
Encoding of a cryptographic algorithm.
For algorithms that can be applied to multiple key types, this identifier does not encode the key type. For example, for symmetric ciphers based on a block cipher, psa_algorithm_t encodes the block cipher mode and the padding mode while the block cipher itself is encoded via psa_key_type_t.
Definition at line 39 of file algorithm.h.