Psa.AsymmetricAsymmetric encryption.
See also Asymmetric encryption in Alg.
val encrypt :
Key_id.t ->
Alg.t ->
plain:Bytesrw.Bytes.Slice.t ->
salt:Bytesrw.Bytes.Slice.t option ->
cipher:Bytesrw.Bytes.Slice.t ->
(int, Status.t) Stdlib.resultval decrypt :
Key_id.t ->
Alg.t ->
cipher:Bytesrw.Bytes.Slice.t ->
salt:Bytesrw.Bytes.Slice.t option ->
plain:Bytesrw.Bytes.Slice.t ->
(int, Status.t) Stdlib.resultval encrypt_output_size : Key_type.t -> bits:int -> Alg.t -> intval decrypt_output_size : Key_type.t -> bits:int -> Alg.t -> int