Home
last modified time | relevance | path

Searched refs:hctx (Results 1 – 6 of 6) sorted by relevance

/external/openssl/crypto/evp/
Dp5_crpt2.c86 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/
Dt1_lib.c794 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()
Ds3_srvr.c2705 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()
Dssl.h775 HMAC_CTX *hctx, int enc);
/external/openssl/apps/
Dspeed.c1669 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/
Dssl.h775 HMAC_CTX *hctx, int enc);