Home
last modified time | relevance | path

Searched refs:EVP_Cipher (Results 1 – 25 of 28) sorted by relevance

12

/NextBSD/crypto/heimdal/lib/krb5/
HDcrypto-evp.c84 EVP_Cipher(c, data, data, len); in _krb5_evp_encrypt()
115 EVP_Cipher(c, data, data, len); in _krb5_evp_encrypt_cts()
128 EVP_Cipher(c, p, p, i); in _krb5_evp_encrypt_cts()
139 EVP_Cipher(c, p, tmp, blocksize); in _krb5_evp_encrypt_cts()
152 EVP_Cipher(c, p, p, i); in _krb5_evp_encrypt_cts()
165 EVP_Cipher(c, tmp2, p, blocksize); in _krb5_evp_encrypt_cts()
174 EVP_Cipher(c, p, tmp3, blocksize); in _krb5_evp_encrypt_cts()
HDcrypto-des-common.c85 EVP_Cipher(&ctx->ectx, p, p, 24); in _krb5_des_checksum()
113 EVP_Cipher(&ctx->dctx, tmp, C->checksum.data, 24); in _krb5_des_verify()
HDcrypto-des.c230 EVP_Cipher(c, data, data, len); in evp_des_encrypt_null_ivec()
249 EVP_Cipher(c, data, data, len); in evp_des_encrypt_key_ivec()
HDcrypto-arcfour.c182 EVP_Cipher(&ctx, cdata + 16, cdata + 16, len - 16); in ARCFOUR_subencrypt()
239 EVP_Cipher(&ctx, cdata + 16, cdata + 16, len - 16); in ARCFOUR_subdecrypt()
HDcrypto-aes.c131 EVP_Cipher(&ctx, out->data, result.checksum.data, in AES_PRF()
/NextBSD/crypto/openssh/
HDcipher-3des1.c116 EVP_Cipher(&c->k1, dest, (u_char *)src, len); in ssh1_3des_cbc()
117 EVP_Cipher(&c->k2, dest, dest, len); in ssh1_3des_cbc()
118 EVP_Cipher(&c->k3, dest, dest, len); in ssh1_3des_cbc()
120 if (EVP_Cipher(&c->k1, dest, (u_char *)src, len) == 0 || in ssh1_3des_cbc()
121 EVP_Cipher(&c->k2, dest, dest, len) == 0 || in ssh1_3des_cbc()
122 EVP_Cipher(&c->k3, dest, dest, len) == 0) in ssh1_3des_cbc()
HDcipher.c335 if (EVP_Cipher(&cc->evp, discard, junk, in cipher_init()
380 EVP_Cipher(&cc->evp, NULL, (u_char *)src, aadlen) < 0) in cipher_crypt()
386 if (EVP_Cipher(&cc->evp, dest + aadlen, (u_char *)src + aadlen, in cipher_crypt()
391 if (EVP_Cipher(&cc->evp, NULL, NULL, 0) < 0) { in cipher_crypt()
/NextBSD/crypto/openssh/openbsd-compat/
HDopenssl-compat.h119 # ifdef EVP_Cipher
120 # undef EVP_Cipher
123 # define EVP_Cipher(a,b,c,d) ssh_EVP_Cipher((a),(b),(c),(d)) macro
HDopenssl-compat.c50 EVP_Cipher(evp, dst, src, len); in ssh_EVP_Cipher()
/NextBSD/crypto/openssl/crypto/cmac/
HDcmac.c195 if (!EVP_Cipher(&ctx->cctx, ctx->tbl, zero_iv, bl)) in CMAC_Init()
237 if (!EVP_Cipher(&ctx->cctx, ctx->tbl, ctx->last_block, bl)) in CMAC_Update()
242 if (!EVP_Cipher(&ctx->cctx, ctx->tbl, data, bl)) in CMAC_Update()
279 if (!EVP_Cipher(&ctx->cctx, out, out, bl)) { in CMAC_Final()
/NextBSD/crypto/heimdal/lib/gssapi/krb5/
HDarcfour.c240 EVP_Cipher(&rc4_key, p, p, 8); in _gssapi_get_mic_arcfour()
315 EVP_Cipher(&rc4_key, SND_SEQ, p, 8); in _gssapi_verify_mic_arcfour()
468 EVP_Cipher(&rc4_key, p0 + 24, p0 + 24, 8 + datalen); in _gssapi_wrap_arcfour()
487 EVP_Cipher(&rc4_key, p0 + 8, p0 + 8 /* SND_SEQ */, 8); in _gssapi_wrap_arcfour()
587 EVP_Cipher(&rc4_key, SND_SEQ, p0 + 8, 8); in _gssapi_unwrap_arcfour()
635 EVP_Cipher(&rc4_key, Confounder, p0 + 24, 8); in _gssapi_unwrap_arcfour()
636 EVP_Cipher(&rc4_key, output_message_buffer->value, p0 + GSS_ARCFOUR_WRAP_TOKEN_SIZE, datalen); in _gssapi_unwrap_arcfour()
HDunwrap.c109 EVP_Cipher(&des_ctx, p, p, input_message_buffer->length - len); in unwrap_des()
149 EVP_Cipher(&des_ctx, p, p, 8); in unwrap_des()
HDwrap.c303 EVP_Cipher(&des_ctx, p, p, 8); in wrap_des()
322 EVP_Cipher(&des_ctx, p, p, datalen); in wrap_des()
HDget_mic.c116 EVP_Cipher(&des_ctx, p, p, 8); in mic_des()
HDverify_mic.c105 EVP_Cipher(&des_ctx, p, p, 8); in verify_mic_des()
/NextBSD/crypto/openssl/ssl/
HDs2_enc.c153 if (EVP_Cipher(ds, s->s2->mac_data, s->s2->mac_data, l) < 1) in ssl2_enc()
HDs3_enc.c550 if (EVP_Cipher(ds, rec->data, rec->input, l) < 1) in ssl3_enc()
HDt1_enc.c890 i = EVP_Cipher(ds, rec->data, rec->input, l); in tls1_enc()
/NextBSD/contrib/tcpdump/
HDprint-esp.c166 EVP_Cipher(&ctx, buf, buf, len); in esp_print_decrypt_buffer_by_ikev2()
690 EVP_Cipher(&ctx, p + ivlen, p + ivlen, ep - (p + ivlen)); in esp_print()
/NextBSD/crypto/openssl/crypto/evp/
HDevp_lib.c224 int EVP_Cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in EVP_Cipher() function
HDevp.h574 int EVP_Cipher(EVP_CIPHER_CTX *c,
/NextBSD/crypto/heimdal/lib/ntlm/
HDntlm.c1034 EVP_Cipher(&ctx, answer, challenge, 8); in splitandenc()
1216 EVP_Cipher(&c, encryptedSession->data, session->data, encryptedSession->length); in heim_ntlm_keyex_wrap()
1333 EVP_Cipher(&c, session->data, encryptedSession->data, session->length); in heim_ntlm_keyex_unwrap()
/NextBSD/crypto/heimdal/lib/hx509/
HDks_file.c113 EVP_Cipher(&ctx, clear.data, cipher, len); in try_decrypt()
HDcrypto.c2622 ret = EVP_Cipher(&evp, (*ciphertext)->data, in hx509_crypto_encrypt()
2690 if (EVP_Cipher(&evp, clear->data, data, length) != 1) { in hx509_crypto_decrypt()
/NextBSD/crypto/heimdal/kdc/
HDdigest.c1359 EVP_Cipher(&rc4, in _kdc_do_digest()

12