entity test is
end entity test;
library ieee;
use ieee.std_logic_1164.all;
architecture test of test is
type state_t is record
a : real;
end record state_t;
procedure p1 (
variable state : inout state_t;
a : in std_ulogic_vector(1 downto 0)) is
begin
report "test " & std_ulogic'image(a(1)) & std_ulogic'image(a(0)) severity note;
end procedure p1;
procedure p2 (
variable state : inout state_t;
n : in natural) is
variable b : std_ulogic;
begin
b := '0';
for i in 0 to n loop
p1(state => state, a(0) => b, a(1) => 'X');
b := not b;
state.a := state.a + 1.0;
end loop;
end procedure p2;
begin
p_p: process is
variable state : state_t;
begin
state.a := 0.0;
p2(state, 2);
p2(state, 2);
wait;
end process p_p;
end architecture test;
y/'>cloud-email/cryptography
blob: 59d7d9d7acffc807615880eed1f5c19a0a15fba5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
Exceptions
==========
.. currentmodule:: cryptography.exceptions
.. class:: UnsupportedAlgorithm
Raised when the requested algorithm, or combination of algorithms is not
supported.
.. class:: AlreadyFinalized
This is raised when a context is used after being finalized.
.. class:: InvalidSignature
This is raised when signature verification fails. This can occur with
HMAC or asymmetric key signature validation.
.. class:: NotYetFinalized
This is raised when the AEAD tag property is accessed on a context
before it is finalized.
.. class:: AlreadyUpdated
This is raised when additional data is added to a context after update
has already been called.
.. class:: InvalidKey
This is raised when the verify method of a key derivation function's
computed key does not match the expected key.
|