• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/bearssl/inc/

Lines Matching defs:engine

54  * a fatal alert message is sent of received, then the SSL engine context
66 /** \brief Optimal buffer size for monodirectional engine
70 /** \brief Optimal buffer size for bidirectional engine
135 regards to the current engine state. */
230 * \brief Decryption engine for SSL.
232 * When processing incoming records, the SSL engine will use a decryption
233 * engine that uses a specific context structure, and has a set of
236 * The decryption engine is responsible for applying decryption, verifying
252 * \param ctx decryption engine context.
271 * \param ctx decryption engine context.
284 * \brief Encryption engine for SSL.
286 * When building outgoing records, the SSL engine will use an encryption
287 * engine that uses a specific context structure, and has a set of
290 * The encryption engine is responsible for applying encryption and MAC,
313 * \param ctx encryption engine context.
330 * \param ctx decryption engine context.
343 * \brief Context for a no-encryption engine.
345 * The no-encryption engine processes outgoing records during the initial
349 /** \brief No-encryption engine vtable. */
353 /** \brief Static, constant vtable for the no-encryption engine. */
359 * \brief Record decryption engine class, for CBC mode.
361 * This class type extends the decryption engine class with an
398 * \brief Record encryption engine class, for CBC mode.
400 * This class type extends the encryption engine class with an
497 * \brief Record decryption engine class, for GCM mode.
499 * This class type extends the decryption engine class with an
531 * \brief Record encryption engine class, for GCM mode.
533 * This class type extends the encryption engine class with an
604 * \brief Record decryption engine class, for ChaCha20+Poly1305.
606 * This class type extends the decryption engine class with an
636 * \brief Record encryption engine class, for ChaCha20+Poly1305.
638 * This class type extends the encryption engine class with an
704 * \brief Record decryption engine class, for CCM mode.
706 * This class type extends the decryption engine class with an
737 * \brief Record encryption engine class, for CCM mode.
739 * This class type extends the encryption engine class with an
831 * \brief Context structure for SSL engine.
838 * The engine context manages records, including alerts, closures, and
880 * has been received: afterwards, the engine no longer claims that
1024 * engine and the handshake processor.
1026 * From the engine:
1053 * Pointer to the X.509 engine. The engine is supposed to be
1122 * \brief Get currently defined engine behavioural flags.
1124 * \param cc SSL engine context.
1134 * \brief Set all engine behavioural flags.
1136 * \param cc SSL engine context.
1146 * \brief Set some engine behavioural flags.
1151 * \param cc SSL engine context.
1161 * \brief Clear some engine behavioural flags.
1166 * \param cc SSL engine context.
1245 * \param cc SSL engine context.
1262 * by the context. The engine context has enough room to receive _all_
1266 * If the engine is for a client, the "signaling" pseudo-cipher suite
1272 * \param cc SSL engine context.
1280 * \brief Set the X.509 engine.
1282 * The caller shall ensure that the X.509 engine is properly initialised.
1284 * \param cc SSL engine context.
1318 * \param ctx SSL engine context.
1360 * \param ctx SSL engine context.
1377 * \param ctx SSL engine context.
1393 * \param cc SSL engine context.
1408 * \param cc SSL engine context.
1423 * \param cc SSL engine context.
1435 * \param cc SSL engine context.
1451 * This function configures in the engine the AES implementations that
1456 * \param cc SSL engine context.
1463 * \param cc SSL engine context.
1476 * This function configures in the engine the AES/CTR and GHASH
1481 * \param cc SSL engine context.
1488 * \param cc SSL engine context.
1504 * This function configures in the engine the DES implementations that
1509 * \param cc SSL engine context.
1516 * \param cc SSL engine context.
1528 * \param cc SSL engine context.
1541 * \param cc SSL engine context.
1554 * This function configures in the engine the ChaCha20 and Poly1305
1559 * \param cc SSL engine context.
1566 * \param cc SSL engine context.
1579 * This function configures in the engine the AES/CTR+CBC
1584 * \param cc SSL engine context.
1591 * \param cc SSL engine context.
1607 * \param cc SSL engine context.
1623 * \param cc SSL engine context.
1640 * \param cc SSL engine context.
1659 * \param cc SSL engine context.
1675 * \param cc SSL engine context.
1680 * \brief Get the EC implementation configured in the provided engine.
1682 * \param cc SSL engine context.
1699 * \param cc SSL engine context.
1714 * \param cc SSL engine context.
1720 * in the provided engine.
1722 * \param cc SSL engine context.
1741 * in the engine context.
1760 * \param cc SSL engine context.
1766 * in the provided engine.
1768 * \param cc SSL engine context.
1778 * \brief Set the I/O buffer for the SSL engine.
1783 * The provided buffer will be used as long as the engine context is
1786 * If `bidi` is 0, then the engine will operate in half-duplex mode
1792 * capacity of the engine to support all allowed record sizes.
1794 * If `bidi` is 1, then the engine will split the buffer into two
1802 * \param cc SSL engine context
1811 * \brief Set the I/O buffers for the SSL engine.
1824 * \param cc SSL engine context
1846 * preferably 128 or more). The engine will report an error if no entropy
1860 * \param cc SSL engine context.
1868 * \brief Get the "server name" in this engine.
1880 * \param cc SSL engine context.
1893 * engine. That value is set after sending (for a server) or receiving
1896 * \param cc SSL engine context.
1917 * \param cc SSL engine context.
1934 * \param cc SSL engine context.
1954 * @param cc SSL engine context.
1964 * \brief Get the current engine state.
1966 * An SSL engine (client or server) has, at any time, a state which is
1990 * If no flag at all is set (state value is 0), then the engine is not
2003 * \param cc SSL engine context.
2004 * \return the current engine state.
2008 /** \brief SSL engine state: closed or failed. */
2010 /** \brief SSL engine state: record data is ready to be sent to the peer. */
2012 /** \brief SSL engine state: engine may receive records from the peer. */
2014 /** \brief SSL engine state: engine may accept application data to send. */
2016 /** \brief SSL engine state: engine has received application data. */
2020 * \brief Get the engine error indicator.
2028 * \param cc SSL engine context.
2040 * sendapp inject application data in the engine
2041 * recvapp retrieving application data from the engine
2045 * Terminology works thus: in a layered model where the SSL engine sits
2050 * Note that from the SSL engine point of view, "sendapp" and "recvrec"
2051 * designate bytes that enter the engine ("inject" operation), while
2052 * "recvapp" and "sendrec" designate bytes that exit the engine
2063 * The engine state is unmodified by this call.
2066 * Informs the engine that 'len' bytes have been read from the buffer
2076 * If the engine is ready to accept application data to send to the
2081 * \param cc SSL engine context.
2089 * \brief Inform the engine of some new application data.
2097 * \param cc SSL engine context.
2105 * If the engine has received application data from the peer, hen this
2110 * \param cc SSL engine context.
2126 * \param cc SSL engine context.
2134 * If the engine has prepared some records to send to the peer, then this
2139 * \param cc SSL engine context.
2155 * \param cc SSL engine context.
2163 * If the engine is ready to accept records from the peer, then this
2168 * \param cc SSL engine context.
2176 * \brief Inform the engine of some new record data.
2184 * \param cc SSL engine context.
2192 * If some application data has been buffered in the engine, then wrap
2194 * been buffered but the engine would be ready to accept some, AND the
2203 * \param cc SSL engine context.
2215 * \param cc SSL engine context.
2222 * If the engine is failed or closed, or if the peer is known not to
2232 * \param cc SSL engine context.
2238 * \brief Export key material from a connected SSL engine (RFC 5705).
2241 * secret of a connected SSL engine. If the provided context is not
2260 * \param cc SSL engine context.
2347 * The SSL client engine will first push the trust anchor DN with
2596 * The first field (called `eng`) is the SSL engine; all functions that
2603 * \brief The encapsulated engine context.
2725 * a companion X.509 validation engine with all supported algorithms,
2726 * and the provided trust anchors; the X.509 engine will be used by
2818 * X.509 "minimal" engine will also match that name against the server
2821 * engine (if used for server certificate validation) will not check
3040 * If the first option is used, then the SSL engine will
3046 * If the second option is used, then the SSL engine will NOT
3092 * The SSL server engine will invoke first `choose()`, once the
3397 * The first field (called `eng`) is the SSL engine; all functions that
3404 * \brief The encapsulated engine context.
3682 * processed, typically from the policy engine. The returned array
3843 * the X.509 validator configured in the SSL engine. If `num` is 0, then
3872 * (`br_x509_trust_anchor` structures). The server engine itself will
3875 * X.509 validation engine itself.
3942 * The SSL engine naturally applies some buffering, so the callbacks need
3953 br_ssl_engine_context *engine;
3967 * engine (client or server), using the provided callback functions for
4004 * \param engine SSL engine to wrap.
4011 br_ssl_engine_context *engine,
4031 * inspect the error status on the SSL engine to distinguish between
4067 * inspect the error status on the SSL engine to distinguish between
4071 * injected into the wrapped SSL engine, but this does not necessarily mean
4091 * injected into the wrapped SSL engine, but this does not necessarily mean
4106 * provided context (including the wrapped SSL engine) has been sent