Searched refs:mac_ctx (Results 1 - 5 of 5) sorted by relevance

/freebsd-10.1-release/crypto/openssl/crypto/evp/
H A Dpmeth_gn.c198 EVP_PKEY_CTX *mac_ctx = NULL; local
200 mac_ctx = EVP_PKEY_CTX_new_id(type, e);
201 if (!mac_ctx)
203 if (EVP_PKEY_keygen_init(mac_ctx) <= 0)
205 if (EVP_PKEY_CTX_ctrl(mac_ctx, -1, EVP_PKEY_OP_KEYGEN,
209 if (EVP_PKEY_keygen(mac_ctx, &mac_key) <= 0)
212 if (mac_ctx)
213 EVP_PKEY_CTX_free(mac_ctx);
/freebsd-10.1-release/crypto/openssl/apps/
H A Ddgst.c358 EVP_PKEY_CTX *mac_ctx = NULL; local
360 if (!init_gen_str(bio_err, &mac_ctx, mac_name, e, 0))
366 if (pkey_ctrl_string(mac_ctx, macopt) <= 0) {
374 if (EVP_PKEY_keygen(mac_ctx, &sigkey) <= 0) {
381 if (mac_ctx)
382 EVP_PKEY_CTX_free(mac_ctx);
/freebsd-10.1-release/crypto/openssl/ssl/
H A Dt1_enc.c339 EVP_MD_CTX *mac_ctx; local
387 mac_ctx = ssl_replace_hash(&s->read_hash, NULL);
425 mac_ctx = EVP_MD_CTX_create();
426 if (!mac_ctx)
428 s->write_hash = mac_ctx;
430 mac_ctx = ssl_replace_hash(&s->write_hash, NULL);
503 EVP_DigestSignInit(mac_ctx, NULL, m, NULL, mac_key);
984 EVP_MD_CTX hmac, *mac_ctx; local
1006 mac_ctx = hash;
1010 mac_ctx
[all...]
H A Ds3_cbc.c767 EVP_MD_CTX *mac_ctx, const unsigned char *data,
773 block_size = EVP_MD_CTX_block_size(mac_ctx);
802 EVP_DigestSignUpdate(mac_ctx, data,
766 tls_fips_digest_extra(const EVP_CIPHER_CTX *cipher_ctx, EVP_MD_CTX *mac_ctx, const unsigned char *data, size_t data_len, size_t orig_len) argument
H A Dssl_locl.h1235 EVP_MD_CTX *mac_ctx, const unsigned char *data,

Completed in 71 milliseconds