You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PSA methods, written in Rust, can very largely be inspired by the ones created in the Parsec Rust Client replacing the key_name as a String with the key ID.
The following principle was adopted:
use Vec<u8> whenever a buffer is needed
use a Rust abstraction instead of the bindgen type
restrict the algorithm argument to the only possible values for the specific operation. For example psa_sign_hash and psa_verify_hash directly take an AsymmetricSignature type and not the high-level Algorithm
The text was updated successfully, but these errors were encountered:
The PSA methods, written in Rust, can very largely be inspired by the ones created in the Parsec Rust Client replacing the
key_name
as aString
with the key ID.The following principle was adopted:
Vec<u8>
whenever a buffer is neededbindgen
typepsa_sign_hash
andpsa_verify_hash
directly take anAsymmetricSignature
type and not the high-levelAlgorithm
The text was updated successfully, but these errors were encountered: