Home
last modified time | relevance | path

Searched refs:crypto_cipher (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_internal-cipher.c17 struct crypto_cipher { struct
43 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, in crypto_cipher_init() argument
47 struct crypto_cipher *ctx; in crypto_cipher_init()
103 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt()
166 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt()
230 void crypto_cipher_deinit(struct crypto_cipher *ctx) in crypto_cipher_deinit()
H A Dcrypto_nettle.c403 struct crypto_cipher { struct
411 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, in crypto_cipher_init() argument
415 struct crypto_cipher *ctx; in crypto_cipher_init()
436 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt()
451 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt()
466 void crypto_cipher_deinit(struct crypto_cipher *ctx) in crypto_cipher_deinit()
H A Dcrypto_gnutls.c396 struct crypto_cipher { struct
402 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, in crypto_cipher_init() argument
406 struct crypto_cipher *ctx; in crypto_cipher_init()
481 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt()
491 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt()
501 void crypto_cipher_deinit(struct crypto_cipher *ctx) in crypto_cipher_deinit()
H A Dcrypto_libtomcrypt.c288 struct crypto_cipher { struct
301 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, in crypto_cipher_init() argument
305 struct crypto_cipher *ctx; in crypto_cipher_init()
354 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt()
378 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt()
403 void crypto_cipher_deinit(struct crypto_cipher *ctx) in crypto_cipher_deinit()
H A Dcrypto.h223 struct crypto_cipher;
238 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg,
254 int __must_check crypto_cipher_encrypt(struct crypto_cipher *ctx,
269 int __must_check crypto_cipher_decrypt(struct crypto_cipher *ctx,
280 void crypto_cipher_deinit(struct crypto_cipher *ctx);
H A Dcrypto_linux.c853 struct crypto_cipher { struct
858 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, in crypto_cipher_init() argument
862 struct crypto_cipher *ctx; in crypto_cipher_init()
929 static int crypto_cipher_oper(struct crypto_cipher *ctx, u32 type, const u8 *in, in crypto_cipher_oper()
978 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt()
985 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt()
992 void crypto_cipher_deinit(struct crypto_cipher *ctx) in crypto_cipher_deinit()
H A Dcrypto_wolfssl.c766 struct crypto_cipher { struct
772 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, in crypto_cipher_init() argument
776 struct crypto_cipher *ctx; in crypto_cipher_init()
834 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt()
864 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt()
894 void crypto_cipher_deinit(struct crypto_cipher *ctx) in crypto_cipher_deinit()
H A Dcrypto_openssl.c848 struct crypto_cipher { struct
854 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, in crypto_cipher_init() argument
858 struct crypto_cipher *ctx; in crypto_cipher_init()
938 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt()
948 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt()
959 void crypto_cipher_deinit(struct crypto_cipher *ctx) in crypto_cipher_deinit()
/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_record.h55 struct crypto_cipher *write_cbc;
56 struct crypto_cipher *read_cbc;
H A Dpkcs5.c361 static struct crypto_cipher *
488 static struct crypto_cipher *
529 static struct crypto_cipher * pkcs5_crypto_init(struct pkcs5_params *params, in pkcs5_crypto_init()
570 struct crypto_cipher *ctx; in pkcs5_decrypt()
/freebsd/contrib/wpa/src/eap_common/
H A Dikev2_common.c178 struct crypto_cipher *cipher; in ikev2_encr_encrypt()
213 struct crypto_cipher *cipher; in ikev2_encr_decrypt()
/freebsd/sys/opencrypto/
H A Dcryptodev.h605 const struct enc_xform *crypto_cipher(const struct crypto_session_params *csp);
H A Dcryptosoft.c1275 txf = crypto_cipher(csp); in swcr_setup_cipher()
1458 txf = crypto_cipher(csp); in swcr_cipher_supported()
H A Dcrypto.c564 crypto_cipher(const struct crypto_session_params *csp) in crypto_cipher() function
H A Dcryptodev.c389 txform = crypto_cipher(&csp); in cse_create()