Searched refs:hctx (Results 1 – 5 of 5) sorted by relevance
/external/boringssl/src/crypto/evp/ |
D | pbkdf.c | 72 HMAC_CTX hctx; in PKCS5_PBKDF2_HMAC() local 73 HMAC_CTX_init(&hctx); in PKCS5_PBKDF2_HMAC() 75 if (!HMAC_Init_ex(&hctx, password, password_len, digest, NULL)) { in PKCS5_PBKDF2_HMAC() 93 if (!HMAC_Init_ex(&hctx, NULL, 0, NULL, NULL) || in PKCS5_PBKDF2_HMAC() 94 !HMAC_Update(&hctx, salt, salt_len) || in PKCS5_PBKDF2_HMAC() 95 !HMAC_Update(&hctx, i_buf, 4) || in PKCS5_PBKDF2_HMAC() 96 !HMAC_Final(&hctx, digest_tmp, NULL)) { in PKCS5_PBKDF2_HMAC() 103 if (!HMAC_Init_ex(&hctx, NULL, 0, NULL, NULL) || in PKCS5_PBKDF2_HMAC() 104 !HMAC_Update(&hctx, digest_tmp, md_len) || in PKCS5_PBKDF2_HMAC() 105 !HMAC_Final(&hctx, digest_tmp, NULL)) { in PKCS5_PBKDF2_HMAC() [all …]
|
/external/python/cpython2/Modules/ |
D | _hashopenssl.c | 593 HMAC_CTX hctx_tpl, hctx; in PKCS5_PBKDF2_HMAC_fast() local 600 HMAC_CTX_init(&hctx); in PKCS5_PBKDF2_HMAC_fast() 619 if (!HMAC_CTX_copy(&hctx, &hctx_tpl)) { in PKCS5_PBKDF2_HMAC_fast() 623 if (!HMAC_Update(&hctx, salt, saltlen) in PKCS5_PBKDF2_HMAC_fast() 624 || !HMAC_Update(&hctx, itmp, 4) in PKCS5_PBKDF2_HMAC_fast() 625 || !HMAC_Final(&hctx, digtmp, NULL)) { in PKCS5_PBKDF2_HMAC_fast() 627 HMAC_CTX_cleanup(&hctx); in PKCS5_PBKDF2_HMAC_fast() 630 HMAC_CTX_cleanup(&hctx); in PKCS5_PBKDF2_HMAC_fast() 633 if (!HMAC_CTX_copy(&hctx, &hctx_tpl)) { in PKCS5_PBKDF2_HMAC_fast() 637 if (!HMAC_Update(&hctx, digtmp, mdlen) in PKCS5_PBKDF2_HMAC_fast() [all …]
|
/external/fio/engines/ |
D | guasi.c | 34 guasi_t hctx; member 100 r = guasi_fetch(ld->hctx, ld->reqs + n, min - n, in fio_guasi_getevents() 163 io_u->greq = guasi__pread(ld->hctx, ld, io_u, 0, in fio_guasi_commit() 167 io_u->greq = guasi__pwrite(ld->hctx, ld, io_u, 0, in fio_guasi_commit() 171 io_u->greq = guasi__fsync(ld->hctx, ld, io_u, 0, f->fd); in fio_guasi_commit() 208 guasi_free(ld->hctx); in fio_guasi_cleanup() 226 if ((ld->hctx = guasi_create(GFIO_MIN_THREADS, maxthr, 1)) == NULL) { in fio_guasi_init()
|
/external/boringssl/src/ssl/ |
D | ssl_session.cc | 599 bssl::ScopedHMAC_CTX hctx; in ssl_encrypt_ticket_with_cipher_ctx() local 617 if (tctx->tlsext_ticket_key_cb(ssl, key_name, iv, ctx.get(), hctx.get(), in ssl_encrypt_ticket_with_cipher_ctx() 625 !HMAC_Init_ex(hctx.get(), tctx->tlsext_tick_hmac_key, 16, in ssl_encrypt_ticket_with_cipher_ctx() 659 if (!HMAC_Update(hctx.get(), CBB_data(out), CBB_len(out)) || in ssl_encrypt_ticket_with_cipher_ctx() 661 !HMAC_Final(hctx.get(), ptr, &hlen) || in ssl_encrypt_ticket_with_cipher_ctx()
|
/external/boringssl/src/include/openssl/ |
D | ssl.h | 4272 EVP_CIPHER_CTX *ectx, HMAC_CTX *hctx, int enc);
|