/external/openssl/crypto/hmac/ |
D | hm_pmeth.c | 77 HMAC_PKEY_CTX *hctx; in pkey_hmac_init() local 78 hctx = OPENSSL_malloc(sizeof(HMAC_PKEY_CTX)); in pkey_hmac_init() 79 if (!hctx) in pkey_hmac_init() 81 hctx->md = NULL; in pkey_hmac_init() 82 hctx->ktmp.data = NULL; in pkey_hmac_init() 83 hctx->ktmp.length = 0; in pkey_hmac_init() 84 hctx->ktmp.flags = 0; in pkey_hmac_init() 85 hctx->ktmp.type = V_ASN1_OCTET_STRING; in pkey_hmac_init() 86 HMAC_CTX_init(&hctx->ctx); in pkey_hmac_init() 88 ctx->data = hctx; in pkey_hmac_init() [all …]
|
/external/openssl/crypto/evp/ |
D | p5_crpt2.c | 87 HMAC_CTX hctx; in PKCS5_PBKDF2_HMAC() local 93 HMAC_CTX_init(&hctx); in PKCS5_PBKDF2_HMAC() 113 HMAC_Init_ex(&hctx, pass, passlen, digest, NULL); in PKCS5_PBKDF2_HMAC() 114 HMAC_Update(&hctx, salt, saltlen); in PKCS5_PBKDF2_HMAC() 115 HMAC_Update(&hctx, itmp, 4); in PKCS5_PBKDF2_HMAC() 116 HMAC_Final(&hctx, digtmp, NULL); in PKCS5_PBKDF2_HMAC() 129 HMAC_CTX_cleanup(&hctx); in PKCS5_PBKDF2_HMAC()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 49 HMAC_CTX hctx; in eap_pwd_kdf() local 61 HMAC_Init(&hctx, key, keylen, EVP_sha256()); in eap_pwd_kdf() 63 HMAC_Update(&hctx, digest, mdlen); in eap_pwd_kdf() 64 HMAC_Update(&hctx, (u8 *) &i, sizeof(u16)); in eap_pwd_kdf() 65 HMAC_Update(&hctx, label, labellen); in eap_pwd_kdf() 66 HMAC_Update(&hctx, (u8 *) &L, sizeof(u16)); in eap_pwd_kdf() 67 HMAC_Final(&hctx, digest, &mdlen); in eap_pwd_kdf() 73 HMAC_CTX_cleanup(&hctx); in eap_pwd_kdf()
|
/external/openssl/ssl/ |
D | t1_lib.c | 1771 HMAC_CTX hctx; in tls_decrypt_ticket() local 1778 HMAC_CTX_init(&hctx); in tls_decrypt_ticket() 1784 &ctx, &hctx, 0); in tls_decrypt_ticket() 1797 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16, in tls_decrypt_ticket() 1805 mlen = HMAC_size(&hctx); in tls_decrypt_ticket() 1813 HMAC_Update(&hctx, etick, eticklen); in tls_decrypt_ticket() 1814 HMAC_Final(&hctx, tick_hmac, NULL); in tls_decrypt_ticket() 1815 HMAC_CTX_cleanup(&hctx); in tls_decrypt_ticket()
|
D | d1_srvr.c | 1462 HMAC_CTX hctx; in dtls1_send_newsession_ticket() local 1493 HMAC_CTX_init(&hctx); in dtls1_send_newsession_ticket() 1501 &hctx, 1) < 0) in dtls1_send_newsession_ticket() 1512 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16, in dtls1_send_newsession_ticket() 1533 HMAC_Update(&hctx, macstart, p - macstart); in dtls1_send_newsession_ticket() 1534 HMAC_Final(&hctx, p, &hlen); in dtls1_send_newsession_ticket() 1535 HMAC_CTX_cleanup(&hctx); in dtls1_send_newsession_ticket()
|
D | s3_srvr.c | 3113 HMAC_CTX hctx; in ssl3_send_newsession_ticket() local 3148 HMAC_CTX_init(&hctx); in ssl3_send_newsession_ticket() 3156 &hctx, 1) < 0) in ssl3_send_newsession_ticket() 3167 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16, in ssl3_send_newsession_ticket() 3188 HMAC_Update(&hctx, macstart, p - macstart); in ssl3_send_newsession_ticket() 3189 HMAC_Final(&hctx, p, &hlen); in ssl3_send_newsession_ticket() 3190 HMAC_CTX_cleanup(&hctx); in ssl3_send_newsession_ticket()
|
D | ssl.h | 850 HMAC_CTX *hctx, int enc);
|
/external/openssl/apps/ |
D | speed.c | 1530 HMAC_CTX hctx; in MAIN() local 1532 HMAC_CTX_init(&hctx); in MAIN() 1533 HMAC_Init_ex(&hctx,(unsigned char *)"This is a key...", in MAIN() 1542 HMAC_Init_ex(&hctx,NULL,0,NULL,NULL); in MAIN() 1543 HMAC_Update(&hctx,buf,lengths[j]); in MAIN() 1544 HMAC_Final(&hctx,&(hmac[0]),NULL); in MAIN() 1549 HMAC_CTX_cleanup(&hctx); in MAIN()
|
/external/openssl/include/openssl/ |
D | ssl.h | 850 HMAC_CTX *hctx, int enc);
|