/external/openssl/crypto/evp/ |
pmeth_gn.c | 204 EVP_PKEY_CTX *mac_ctx = NULL; local 206 mac_ctx = EVP_PKEY_CTX_new_id(type, e); 207 if (!mac_ctx) 209 if (EVP_PKEY_keygen_init(mac_ctx) <= 0) 211 if (EVP_PKEY_CTX_ctrl(mac_ctx, -1, EVP_PKEY_OP_KEYGEN, 215 if (EVP_PKEY_keygen(mac_ctx, &mac_key) <= 0) 218 if (mac_ctx) 219 EVP_PKEY_CTX_free(mac_ctx);
|
/external/openssl/apps/ |
dgst.c | 369 EVP_PKEY_CTX *mac_ctx = NULL; local 371 if (!init_gen_str(bio_err, &mac_ctx, mac_name,e, 0)) 379 if (pkey_ctrl_string(mac_ctx, macopt) <= 0) 389 if (EVP_PKEY_keygen(mac_ctx, &sigkey) <= 0) 397 if (mac_ctx) 398 EVP_PKEY_CTX_free(mac_ctx);
|
/external/openssh/ |
hostfile.c | 117 HMAC_CTX mac_ctx; local 135 HMAC_Init(&mac_ctx, salt, len, md); 136 HMAC_Update(&mac_ctx, host, strlen(host)); 137 HMAC_Final(&mac_ctx, result, NULL); 138 HMAC_cleanup(&mac_ctx);
|
/external/openssl/ssl/ |
t1_enc.c | 338 EVP_MD_CTX *mac_ctx; local 383 mac_ctx=ssl_replace_hash(&s->read_hash,NULL); 425 mac_ctx = ssl_replace_hash(&s->write_hash,NULL); 497 EVP_DigestSignInit(mac_ctx,NULL,m,NULL,mac_key); 954 EVP_MD_CTX hmac, *mac_ctx; local 979 mac_ctx = hash; 984 mac_ctx = &hmac; 1011 ssl3_cbc_record_digest_supported(mac_ctx)) 1018 mac_ctx, 1028 EVP_DigestSignUpdate(mac_ctx,header,sizeof(header)) [all...] |
s3_cbc.c | 753 const EVP_CIPHER_CTX *cipher_ctx, EVP_MD_CTX *mac_ctx, 759 block_size = EVP_MD_CTX_block_size(mac_ctx); 787 EVP_DigestSignUpdate(mac_ctx, data,
|
ssl_locl.h | [all...] |