44 uint8_t *priv_key_buffer, uint8_t *pub_key_buffer,
45 size_t *priv_key_buffer_length,
46 size_t *pub_key_buffer_length);
66 const uint8_t *key_buffer,
size_t key_buffer_size,
67 const uint8_t *hash,
size_t hash_length,
68 uint8_t *signature,
size_t signature_size,
69 size_t *signature_length);
89 const uint8_t *key_buffer,
size_t key_buffer_size,
90 const uint8_t *input,
size_t input_length,
91 uint8_t *signature,
size_t signature_size,
92 size_t *signature_length);
111 const uint8_t *key_buffer,
size_t key_buffer_size,
112 const uint8_t *hash,
size_t hash_length,
113 const uint8_t *signature,
size_t signature_length);
132 const uint8_t *key_buffer,
size_t key_buffer_size,
133 const uint8_t *input,
size_t input_length,
134 const uint8_t *signature,
size_t signature_length);
149 uint8_t *priv_key_buffer, uint8_t *pub_key_buffer,
150 size_t *priv_key_buffer_length,
151 size_t *pub_key_buffer_length);
171 const uint8_t *key_buffer,
size_t key_buffer_size,
172 const uint8_t *hash,
size_t hash_length,
173 uint8_t *signature,
size_t signature_size,
174 size_t *signature_length);
194 const uint8_t *key_buffer,
size_t key_buffer_size,
195 const uint8_t *input,
size_t input_length,
196 uint8_t *signature,
size_t signature_size,
197 size_t *signature_length);
216 const uint8_t *key_buffer,
size_t key_buffer_size,
217 const uint8_t *hash,
size_t hash_length,
218 const uint8_t *signature,
size_t signature_length);
237 const uint8_t *key_buffer,
size_t key_buffer_size,
238 const uint8_t *input,
size_t input_length,
239 const uint8_t *signature,
size_t signature_length);
253 size_t *priv_key_buffer_length,
254 size_t *pub_key_buffer_length);
266 size_t priv_key_buffer_length,
267 size_t *pub_key_buffer_length);
286 size_t priv_key_buffer_size,
287 const uint8_t *pub_key_buffer,
288 size_t pub_key_buffer_size,
289 const uint8_t *input,
size_t input_length,
290 uint8_t *signature,
size_t signature_size,
291 size_t *signature_length);
307 const uint8_t *input,
size_t input_length,
308 const uint8_t *signature,
size_t signature_length);
Function declarations for PSA Crypto.
uint32_t psa_algorithm_t
Encoding of a cryptographic algorithm.
psa_status_t psa_ecc_p192r1_sign_message(const psa_key_attributes_t *attributes, psa_algorithm_t alg, const uint8_t *key_buffer, size_t key_buffer_size, const uint8_t *input, size_t input_length, uint8_t *signature, size_t signature_size, size_t *signature_length)
Low level wrapper function to call a driver for an ECC hash signature with a SECP 192 R1 key.
psa_status_t psa_ecc_p256r1_verify_message(const psa_key_attributes_t *attributes, psa_algorithm_t alg, const uint8_t *key_buffer, size_t key_buffer_size, const uint8_t *input, size_t input_length, const uint8_t *signature, size_t signature_length)
Low level wrapper function to call a driver for an ECC hash verification with a SECP 256 R1 key.
psa_status_t psa_generate_ecc_p256r1_key_pair(const psa_key_attributes_t *attributes, uint8_t *priv_key_buffer, uint8_t *pub_key_buffer, size_t *priv_key_buffer_length, size_t *pub_key_buffer_length)
Low level wrapper function to call a driver for an ECC key generation with a SECP 192 R1 key.
psa_status_t psa_ecc_p256r1_sign_message(const psa_key_attributes_t *attributes, psa_algorithm_t alg, const uint8_t *key_buffer, size_t key_buffer_size, const uint8_t *input, size_t input_length, uint8_t *signature, size_t signature_size, size_t *signature_length)
Low level wrapper function to call a driver for an ECC hash signature with a SECP 256 R1 key.
psa_status_t psa_generate_ecc_ed25519_key_pair(uint8_t *priv_key_buffer, uint8_t *pub_key_buffer, size_t *priv_key_buffer_length, size_t *pub_key_buffer_length)
Low level wrapper function to call a driver for an ECC key generation with an ed25519 key.
psa_status_t psa_ecc_p192r1_verify_message(const psa_key_attributes_t *attributes, psa_algorithm_t alg, const uint8_t *key_buffer, size_t key_buffer_size, const uint8_t *input, size_t input_length, const uint8_t *signature, size_t signature_length)
Low level wrapper function to call a driver for an ECC hash verification with a SECP 192 R1 key.
psa_status_t psa_generate_ecc_p192r1_key_pair(const psa_key_attributes_t *attributes, uint8_t *priv_key_buffer, uint8_t *pub_key_buffer, size_t *priv_key_buffer_length, size_t *pub_key_buffer_length)
Low level wrapper function to call a driver for an ECC key generation with a SECP 192 R1 key.
psa_status_t psa_ecc_p192r1_sign_hash(const psa_key_attributes_t *attributes, psa_algorithm_t alg, const uint8_t *key_buffer, size_t key_buffer_size, const uint8_t *hash, size_t hash_length, uint8_t *signature, size_t signature_size, size_t *signature_length)
Low level wrapper function to call a driver for an ECC hash signature with a SECP 192 R1 key.
psa_status_t psa_ecc_ed25519_sign_message(const uint8_t *priv_key_buffer, size_t priv_key_buffer_size, const uint8_t *pub_key_buffer, size_t pub_key_buffer_size, const uint8_t *input, size_t input_length, uint8_t *signature, size_t signature_size, size_t *signature_length)
Low level wrapper function to call a driver for an ECC hash signature with an ed25519 key.
psa_status_t psa_ecc_p256r1_sign_hash(const psa_key_attributes_t *attributes, psa_algorithm_t alg, const uint8_t *key_buffer, size_t key_buffer_size, const uint8_t *hash, size_t hash_length, uint8_t *signature, size_t signature_size, size_t *signature_length)
Low level wrapper function to call a driver for an ECC hash signature with a SECP 256 R1 key.
psa_status_t psa_ecc_p256r1_verify_hash(const psa_key_attributes_t *attributes, psa_algorithm_t alg, const uint8_t *key_buffer, size_t key_buffer_size, const uint8_t *hash, size_t hash_length, const uint8_t *signature, size_t signature_length)
Low level wrapper function to call a driver for an ECC hash verification with a SECP 256 R1 key.
psa_status_t psa_ecc_ed25519_verify_message(const uint8_t *key_buffer, size_t key_buffer_size, const uint8_t *input, size_t input_length, const uint8_t *signature, size_t signature_length)
Low level wrapper function to call a driver for an ECC hash verification with a ed25519 key.
psa_status_t psa_ecc_p192r1_verify_hash(const psa_key_attributes_t *attributes, psa_algorithm_t alg, const uint8_t *key_buffer, size_t key_buffer_size, const uint8_t *hash, size_t hash_length, const uint8_t *signature, size_t signature_length)
Low level wrapper function to call a driver for an ECC hash verification with a SECP 192 R1 key.
psa_status_t psa_derive_ecc_ed25519_public_key(const uint8_t *priv_key_buffer, uint8_t *pub_key_buffer, size_t priv_key_buffer_length, size_t *pub_key_buffer_length)
Low level wrapper function to call a driver for deriving an ed25519 public key from the private key.
Common macros and compiler attributes/pragmas configuration.
int32_t psa_status_t
Status code type used for all PSA Certified APIs.
Structure storing key attributes.