Searched refs:evp_ctx (Results 1 - 3 of 3) sorted by relevance

/freebsd-13-stable/crypto/openssl/crypto/evp/
H A Dm_sha3.c33 static int init(EVP_MD_CTX *evp_ctx, unsigned char pad) argument
35 KECCAK1600_CTX *ctx = evp_ctx->md_data;
36 size_t bsz = evp_ctx->digest->block_size;
43 ctx->md_size = evp_ctx->digest->md_size;
52 static int sha3_init(EVP_MD_CTX *evp_ctx) argument
54 return init(evp_ctx, '\x06');
57 static int shake_init(EVP_MD_CTX *evp_ctx) argument
59 return init(evp_ctx, '\x1f');
62 static int sha3_update(EVP_MD_CTX *evp_ctx, const void *_inp, size_t len) argument
64 KECCAK1600_CTX *ctx = evp_ctx
105 sha3_final(EVP_MD_CTX *evp_ctx, unsigned char *md) argument
130 shake_ctrl(EVP_MD_CTX *evp_ctx, int cmd, int p1, void *p2) argument
179 s390x_sha3_init(EVP_MD_CTX *evp_ctx) argument
212 s390x_shake_init(EVP_MD_CTX *evp_ctx) argument
239 s390x_sha3_update(EVP_MD_CTX *evp_ctx, const void *_inp, size_t len) argument
274 s390x_sha3_final(EVP_MD_CTX *evp_ctx, unsigned char *md) argument
283 s390x_shake_final(EVP_MD_CTX *evp_ctx, unsigned char *md) argument
[all...]
/freebsd-13-stable/crypto/openssl/crypto/pkcs7/
H A Dpk7_doit.c367 EVP_CIPHER_CTX *evp_ctx = NULL; local
517 evp_ctx = NULL;
518 BIO_get_cipher_ctx(etmp, &evp_ctx);
519 if (EVP_CipherInit_ex(evp_ctx, evp_cipher, NULL, NULL, NULL, 0) <= 0)
521 if (EVP_CIPHER_asn1_to_param(evp_ctx, enc_alg->parameter) < 0)
524 tkeylen = EVP_CIPHER_CTX_key_length(evp_ctx);
528 if (EVP_CIPHER_CTX_rand_key(evp_ctx, tkey) <= 0)
536 if (eklen != EVP_CIPHER_CTX_key_length(evp_ctx)) {
542 if (!EVP_CIPHER_CTX_set_key_length(evp_ctx, eklen)) {
552 if (EVP_CipherInit_ex(evp_ctx, NUL
[all...]
/freebsd-13-stable/contrib/unbound/util/
H A Dnet_help.c96 * @param evp_ctx: the evp cipher context, function sets this.
105 unsigned char* iv, EVP_CIPHER_CTX *evp_ctx,

Completed in 99 milliseconds