Searched refs:hctx (Results 1 – 6 of 6) sorted by relevance
/external/openssl/crypto/evp/ |
D | p5_crpt2.c | 86 HMAC_CTX hctx; in PKCS5_PBKDF2_HMAC_SHA1() local 88 HMAC_CTX_init(&hctx); in PKCS5_PBKDF2_HMAC_SHA1() 103 HMAC_Init_ex(&hctx, pass, passlen, EVP_sha1(), NULL); in PKCS5_PBKDF2_HMAC_SHA1() 104 HMAC_Update(&hctx, salt, saltlen); in PKCS5_PBKDF2_HMAC_SHA1() 105 HMAC_Update(&hctx, itmp, 4); in PKCS5_PBKDF2_HMAC_SHA1() 106 HMAC_Final(&hctx, digtmp, NULL); in PKCS5_PBKDF2_HMAC_SHA1() 117 HMAC_CTX_cleanup(&hctx); in PKCS5_PBKDF2_HMAC_SHA1()
|
/external/openssl/ssl/ |
D | t1_lib.c | 794 HMAC_CTX hctx; in tls_decrypt_ticket() local 800 HMAC_CTX_init(&hctx); in tls_decrypt_ticket() 806 &ctx, &hctx, 0); in tls_decrypt_ticket() 819 HMAC_Init_ex(&hctx, s->ctx->tlsext_tick_hmac_key, 16, in tls_decrypt_ticket() 827 mlen = HMAC_size(&hctx); in tls_decrypt_ticket() 830 HMAC_Update(&hctx, etick, eticklen); in tls_decrypt_ticket() 831 HMAC_Final(&hctx, tick_hmac, NULL); in tls_decrypt_ticket() 832 HMAC_CTX_cleanup(&hctx); in tls_decrypt_ticket()
|
D | s3_srvr.c | 2705 HMAC_CTX hctx; in ssl3_send_newsession_ticket() local 2739 HMAC_CTX_init(&hctx); in ssl3_send_newsession_ticket() 2747 &hctx, 1) < 0) in ssl3_send_newsession_ticket() 2758 HMAC_Init_ex(&hctx, s->ctx->tlsext_tick_hmac_key, 16, in ssl3_send_newsession_ticket() 2779 HMAC_Update(&hctx, macstart, p - macstart); in ssl3_send_newsession_ticket() 2780 HMAC_Final(&hctx, p, &hlen); in ssl3_send_newsession_ticket() 2781 HMAC_CTX_cleanup(&hctx); in ssl3_send_newsession_ticket()
|
D | ssl.h | 775 HMAC_CTX *hctx, int enc);
|
/external/openssl/apps/ |
D | speed.c | 1669 HMAC_CTX hctx; in MAIN() local 1671 HMAC_CTX_init(&hctx); in MAIN() 1672 HMAC_Init_ex(&hctx,(unsigned char *)"This is a key...", in MAIN() 1681 HMAC_Init_ex(&hctx,NULL,0,NULL,NULL); in MAIN() 1682 HMAC_Update(&hctx,buf,lengths[j]); in MAIN() 1683 HMAC_Final(&hctx,&(hmac[0]),NULL); in MAIN() 1688 HMAC_CTX_cleanup(&hctx); in MAIN()
|
/external/openssl/include/openssl/ |
D | ssl.h | 775 HMAC_CTX *hctx, int enc);
|