Lines Matching defs:ctx
57 HMAC_CTX *ctx; in HMAC_CTX_new() local
66 static void HMAC_CTX_free(HMAC_CTX *ctx) in HMAC_CTX_free()
77 EVP_MD_CTX *ctx; in EVP_MD_CTX_new() local
86 static void EVP_MD_CTX_free(EVP_MD_CTX *ctx) in EVP_MD_CTX_free()
150 BIGNUM *y, BN_CTX *ctx) in EC_POINT_get_affine_coordinates()
158 const BIGNUM *y, BN_CTX *ctx) in EC_POINT_set_affine_coordinates()
173 int y_bit, BN_CTX *ctx) in EC_POINT_set_compressed_coordinates()
181 BIGNUM *b, BN_CTX *ctx) in EC_GROUP_get_curve()
337 EVP_MD_CTX *ctx; in openssl_digest_vector() local
395 EVP_CIPHER_CTX *ctx; in des_encrypt() local
526 EVP_CIPHER_CTX *ctx; in aes_encrypt_init() local
551 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt()
564 void aes_encrypt_deinit(void *ctx) in aes_encrypt_deinit()
583 EVP_CIPHER_CTX *ctx; in aes_decrypt_init() local
608 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt()
621 void aes_decrypt_deinit(void *ctx) in aes_decrypt_deinit()
661 EVP_CIPHER_CTX *ctx; in aes_wrap() local
705 EVP_CIPHER_CTX *ctx; in aes_unwrap() local
750 EVP_CIPHER_CTX *ctx; in aes_128_cbc_encrypt() local
777 EVP_CIPHER_CTX *ctx; in aes_128_cbc_decrypt() local
845 BN_CTX *ctx; in crypto_dh_derive_secret() local
879 BN_CTX *ctx; in crypto_mod_exp() local
921 struct crypto_cipher *ctx; in crypto_cipher_init() local
1001 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt()
1011 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt()
1022 void crypto_cipher_deinit(struct crypto_cipher *ctx) in crypto_cipher_deinit()
1301 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, in dh5_derive_shared()
1369 void dh5_free(void *ctx) in dh5_free()
1387 EVP_MAC_CTX *ctx; member
1399 struct crypto_hash *ctx; in crypto_hash_init() local
1502 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) in crypto_hash_update()
1516 int crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) in crypto_hash_finish()
1600 EVP_MAC_CTX *ctx; in openssl_hmac_vector() local
1756 HMAC_CTX *ctx; in openssl_hmac_vector() local
1896 EVP_MAC_CTX *ctx = NULL; in omac1_aes_vector() local
2959 EVP_PKEY_CTX *ctx; in crypto_ecdh_set_peerkey() local
3115 OSSL_DECODER_CTX *ctx; in crypto_ec_key_parse_priv() local
3169 EVP_PKEY_CTX *ctx = NULL; in crypto_ec_key_set_priv() local
3331 EVP_PKEY_CTX *ctx; in crypto_ec_key_set_pub() local
3503 EVP_PKEY_CTX *ctx; in crypto_ec_key_gen() local
3619 OSSL_ENCODER_CTX *ctx; in crypto_ec_key_get_subject_public_key() local
3673 BN_CTX *ctx; in crypto_ec_key_get_subject_public_key() local
3760 OSSL_ENCODER_CTX *ctx; in crypto_ec_key_get_ecprivate_key() local
4729 static void hpke_free_context(struct hpke_context *ctx) in hpke_free_context()
4740 struct hpke_context *ctx; in hpke_get_context() local
4836 static size_t hpke_suite_id(struct hpke_context *ctx, bool kem, u8 *suite_id) in hpke_suite_id()
4855 static int hpke_labeled_extract(struct hpke_context *ctx, bool kem, in hpke_labeled_extract()
4946 hpke_labeled_expand(struct hpke_context *ctx, bool kem, const u8 *prk, in hpke_labeled_expand()
5071 static int hpke_extract_and_expand(struct hpke_context *ctx, in hpke_extract_and_expand()
5103 static int hpke_key_schedule(struct hpke_context *ctx, const u8 *shared_secret, in hpke_key_schedule()
5149 static int hpke_encap(struct hpke_context *ctx, struct crypto_ec_key *pk_r, in hpke_encap()
5211 hpke_aead_seal(struct hpke_context *ctx, const u8 *aad, size_t aad_len, in hpke_aead_seal()
5275 struct hpke_context *ctx; in hpke_base_seal_int() local
5313 static int hpke_decap(struct hpke_context *ctx, const u8 *enc, in hpke_decap()
5370 hpke_aead_open(struct hpke_context *ctx, const u8 *aad, size_t aad_len, in hpke_aead_open()
5439 struct hpke_context *ctx; in hpke_base_open_int() local
5535 OSSL_HPKE_CTX *ctx = NULL; in hpke_base_seal() local
5604 OSSL_HPKE_CTX *ctx; in hpke_base_open() local