entity foo is generic ( LENGTH : natural ); port ( input : in bit_vector(LENGTH - 1 downto 0) ); end foo; architecture behave of foo is begin end behave; entity bar is end entity bar; architecture behave of bar is component foo is port ( input : in bit_vector(7 downto 0) ); end component; begin my_foo : foo port map ( input => (others => '0') ); end behave; configuration cfg of bar is for cfg end for; end cfg; cs-git' href='ssh://git@git.panaceas.org/git/cloud-email/cryptography' title='cloud-email/cryptography Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/bindings/index.rst
blob: ccd36e3eff914a4aa8086ff0da54b0624ada4413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.. hazmat::

Bindings
========

.. currentmodule:: cryptography.hazmat.bindings

``cryptography`` aims to provide low-level CFFI based bindings to multiple
native C libraries. These provide no automatic initialization of the library
and may not provide complete wrappers for its API.

Using these functions directly is likely to require you to be careful in
managing memory allocation, locking and other resources.


Individual bindings
-------------------

.. toctree::
    :maxdepth: 1

    openssl
    commoncrypto