/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 | 88 HMAC_CTX hctx; in PKCS5_PBKDF2_HMAC() local 94 HMAC_CTX_init(&hctx); in PKCS5_PBKDF2_HMAC() 114 if (!HMAC_Init_ex(&hctx, pass, passlen, digest, NULL) in PKCS5_PBKDF2_HMAC() 115 || !HMAC_Update(&hctx, salt, saltlen) in PKCS5_PBKDF2_HMAC() 116 || !HMAC_Update(&hctx, itmp, 4) in PKCS5_PBKDF2_HMAC() 117 || !HMAC_Final(&hctx, digtmp, NULL)) in PKCS5_PBKDF2_HMAC() 119 HMAC_CTX_cleanup(&hctx); in PKCS5_PBKDF2_HMAC() 134 HMAC_CTX_cleanup(&hctx); in PKCS5_PBKDF2_HMAC()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 43 HMAC_CTX hctx; in eap_pwd_kdf() local 55 HMAC_Init(&hctx, key, keylen, EVP_sha256()); in eap_pwd_kdf() 57 HMAC_Update(&hctx, digest, mdlen); in eap_pwd_kdf() 58 HMAC_Update(&hctx, (u8 *) &i, sizeof(u16)); in eap_pwd_kdf() 59 HMAC_Update(&hctx, label, labellen); in eap_pwd_kdf() 60 HMAC_Update(&hctx, (u8 *) &L, sizeof(u16)); in eap_pwd_kdf() 61 HMAC_Final(&hctx, digest, &mdlen); in eap_pwd_kdf() 67 HMAC_CTX_cleanup(&hctx); in eap_pwd_kdf()
|
/external/openssl/ssl/ |
D | d1_srvr.c | 1610 HMAC_CTX hctx; in dtls1_send_newsession_ticket() local 1641 HMAC_CTX_init(&hctx); in dtls1_send_newsession_ticket() 1649 &hctx, 1) < 0) in dtls1_send_newsession_ticket() 1660 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16, in dtls1_send_newsession_ticket() 1681 HMAC_Update(&hctx, macstart, p - macstart); in dtls1_send_newsession_ticket() 1682 HMAC_Final(&hctx, p, &hlen); in dtls1_send_newsession_ticket() 1683 HMAC_CTX_cleanup(&hctx); in dtls1_send_newsession_ticket()
|
D | t1_lib.c | 2147 HMAC_CTX hctx; in tls_decrypt_ticket() local 2154 HMAC_CTX_init(&hctx); in tls_decrypt_ticket() 2160 &ctx, &hctx, 0); in tls_decrypt_ticket() 2173 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16, in tls_decrypt_ticket() 2181 mlen = HMAC_size(&hctx); in tls_decrypt_ticket() 2189 HMAC_Update(&hctx, etick, eticklen); in tls_decrypt_ticket() 2190 HMAC_Final(&hctx, tick_hmac, NULL); in tls_decrypt_ticket() 2191 HMAC_CTX_cleanup(&hctx); in tls_decrypt_ticket()
|
D | s3_srvr.c | 3370 HMAC_CTX hctx; in ssl3_send_newsession_ticket() local 3426 HMAC_CTX_init(&hctx); in ssl3_send_newsession_ticket() 3434 &hctx, 1) < 0) in ssl3_send_newsession_ticket() 3445 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16, in ssl3_send_newsession_ticket() 3472 HMAC_Update(&hctx, macstart, p - macstart); in ssl3_send_newsession_ticket() 3473 HMAC_Final(&hctx, p, &hlen); in ssl3_send_newsession_ticket() 3474 HMAC_CTX_cleanup(&hctx); in ssl3_send_newsession_ticket()
|
D | ssl.h | 931 HMAC_CTX *hctx, int enc);
|
/external/openssl/apps/ |
D | speed.c | 1564 HMAC_CTX hctx; in MAIN() local 1566 HMAC_CTX_init(&hctx); in MAIN() 1567 HMAC_Init_ex(&hctx,(unsigned char *)"This is a key...", in MAIN() 1576 HMAC_Init_ex(&hctx,NULL,0,NULL,NULL); in MAIN() 1577 HMAC_Update(&hctx,buf,lengths[j]); in MAIN() 1578 HMAC_Final(&hctx,&(hmac[0]),NULL); in MAIN() 1583 HMAC_CTX_cleanup(&hctx); in MAIN()
|
/external/openssl/include/openssl/ |
D | ssl.h | 931 HMAC_CTX *hctx, int enc);
|